MIPS: Fix XPA base and Virtualization ASE instruction handling
[deliverable/binutils-gdb.git] / opcodes / ChangeLog
index 4816a4e3c963814bd20bb5b288c50a8a668ff500..8e6a052e6b968219e6549cbd85191fc0a486e258 100644 (file)
@@ -1,3 +1,304 @@
+2017-06-30  Maciej W. Rozycki  <macro@imgtec.com>
+           Andrew Bennett  <andrew.bennett@imgtec.com>
+
+       * mips-dis.c (mips_calculate_combination_ases): Handle the
+       ASE_XPA_VIRT flag.
+       (parse_mips_ase_option): New function.
+       (parse_mips_dis_option): Factor out ASE option handling to the
+       new function.  Call `mips_calculate_combination_ases'.
+       * mips-opc.c (XPAVZ): New macro.
+       (mips_builtin_opcodes): Correct ISA and ASE flags for "mfhc0",
+       "mfhgc0", "mthc0" and "mthgc0".
+
+2017-06-29  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * mips-dis.c (mips_calculate_combination_ases): New function.
+       (mips_convert_abiflags_ases): Factor out ASE_MIPS16E2_MT
+       calculation to the new function.
+       (set_default_mips_dis_options): Call the new function.
+
+2017-06-29  Anton Kolesov  <Anton.Kolesov@synopsys.com>
+
+       * arc-dis.c (parse_disassembler_options): Use
+       FOR_EACH_DISASSEMBLER_OPTION.
+
+2017-06-29  Anton Kolesov  <Anton.Kolesov@synopsys.com>
+
+       * arc-dis.c (parse_option): Use disassembler_options_cmp to compare
+       disassembler option strings.
+       (parse_cpu_option): Likewise.
+
+2017-06-28  Tamar Christina  <tamar.christina@arm.com>
+
+       * aarch64-asm.c (aarch64_ins_reglane): Added 4B dotprod.
+       * aarch64-dis.c (aarch64_ext_reglane): Likewise.
+       * aarch64-tbl.h (QL_V3DOT, QL_V2DOT): New.
+       (aarch64_feature_dotprod, DOT_INSN): New.
+       (udot, sdot): New.
+       * aarch64-dis-2.c: Regenerated.
+
+2017-06-28  Jiong Wang  <jiong.wang@arm.com>
+
+       * arm-dis.c (coprocessor_opcodes): New entries for vsdot and vudot.
+
+2017-06-28  Maciej W. Rozycki  <macro@imgtec.com>
+           Matthew Fortune  <matthew.fortune@imgtec.com>
+           Andrew Bennett <andrew.bennett@imgtec.com>
+
+       * mips-formats.h (INT_BIAS): New macro.
+       (INT_ADJ): Redefine in INT_BIAS terms.
+       * mips-dis.c (mips_arch_choices): Add "interaptiv-mr2" entry.
+       (mips_print_save_restore): New function.
+       (print_insn_arg) <OP_SAVE_RESTORE_LIST>: Update comment.
+       (validate_insn_args) <OP_SAVE_RESTORE_LIST>: Remove `abort'
+       call.
+       (print_insn_args): Handle OP_SAVE_RESTORE_LIST.
+       (print_mips16_insn_arg): Call `mips_print_save_restore' for
+       OP_SAVE_RESTORE_LIST handling, factored out from here.
+       * mips-opc.c (decode_mips_operand) <'-'> <'m'>: New case.
+       (RD_31, RD_SP, WR_SP, MOD_SP, IAMR2): New macros.
+       (mips_builtin_opcodes): Add "restore" and "save" entries.
+       * mips16-opc.c (decode_mips16_operand) <'n', 'o'>: New cases.
+       (IAMR2): New macro.
+       (mips16_opcodes): Add "copyw" and "ucopyw" entries.
+
+2017-06-23  Andrew Waterman  <andrew@sifive.com>
+
+       * riscv-opc.c (riscv_opcodes): Mark I-type SLT instruction as an
+       alias; do not mark SLTI instruction as an alias.
+
+2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386-dis.c (RM_0FAE_REG_5): Removed.
+       (PREFIX_MOD_3_0F01_REG_5_RM_1): Likewise.
+       (PREFIX_MOD_3_0F01_REG_5_RM_0): New.
+       (PREFIX_MOD_3_0FAE_REG_5): Likewise.
+       (prefix_table): Remove PREFIX_MOD_3_0F01_REG_5_RM_1.  Add
+       PREFIX_MOD_3_0F01_REG_5_RM_0.
+       (prefix_table): Update PREFIX_MOD_0_0FAE_REG_5.  Add
+       PREFIX_MOD_3_0FAE_REG_5.
+       (mod_table): Update MOD_0FAE_REG_5.
+       (rm_table): Update RM_0F01_REG_5.  Remove RM_0FAE_REG_5.
+       * i386-opc.tbl: Update incsspd, incsspq and setssbsy.
+       * i386-tbl.h: Regenerated.
+
+2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386-dis.c (prefix_table): Replace savessp with saveprevssp.
+       * i386-opc.tbl: Likewise.
+       * i386-tbl.h: Regenerated.
+
+2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386-dis.c (reg_table): Swap indirEv with NOTRACK on "call{&|}"
+       and "jmp{&|}".
+       (NOTRACK_Fixup): Support memory indirect branch with NOTRACK
+       prefix.
+
+2017-06-19  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21614
+       * score-dis.c (score_opcodes): Add sentinel.
+
+2017-06-16  Alan Modra  <amodra@gmail.com>
+
+       * rx-decode.c: Regenerate.
+
+2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/21594
+       * i386-dis.c (OP_E_register): Check valid bnd register.
+       (OP_G): Likewise.
+
+2017-06-15  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21595
+       * aarch64-dis.c (aarch64_ext_ldst_reglist): Check for an out of
+       range value.
+
+2017-06-15  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21588
+       * rl78-decode.opc (OP_BUF_LEN): Define.
+       (GETBYTE): Check for the index exceeding OP_BUF_LEN.
+       (rl78_decode_opcode): Use OP_BUF_LEN as the length of the op_buf
+       array.
+       * rl78-decode.c: Regenerate.
+
+2017-06-15  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21586
+       * bfin-dis.c (gregs): Clip index to prevent overflow.
+       (regs): Likewise.
+       (regs_lo): Likewise.
+       (regs_hi): Likewise.
+
+2017-06-14  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21576
+       * score7-dis.c (score_opcodes): Add sentinel.
+
+2017-06-14  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-dis.c: Include disassemble.h instead of dis-asm.h.
+       * arm-dis.c: Likewise.
+       * ia64-dis.c: Likewise.
+       * mips-dis.c: Likewise.
+       * spu-dis.c: Likewise.
+       * disassemble.h (print_insn_aarch64): New declaration, moved from
+       include/dis-asm.h.
+       (print_insn_big_arm, print_insn_big_mips): Likewise.
+       (print_insn_i386, print_insn_ia64): Likewise.
+       (print_insn_little_arm, print_insn_little_mips): Likewise.
+
+2017-06-14  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21587
+       * rx-decode.opc: Include libiberty.h
+       (GET_SCALE): New macro - validates access to SCALE array.
+       (GET_PSCALE): New macro - validates access to PSCALE array.
+       (DIs, SIs, S2Is, rx_disp): Use new macros.
+       * rx-decode.c: Regenerate.
+
+2017-07-14  Andre Vieira  <andre.simoesdiasvieira@arm.com>
+
+       * arm-dis.c (print_insn_arm): Remove bogus entry for bx.
+
+2017-05-30  Anton Kolesov  <anton.kolesov@synopsys.com>
+
+       * arc-dis.c (enforced_isa_mask): Declare.
+       (cpu_types): Likewise.
+       (parse_cpu_option): New function.
+       (parse_disassembler_options): Use it.
+       (print_insn_arc): Use enforced_isa_mask.
+       (print_arc_disassembler_options): Document new options.
+
+2017-05-24  Yao Qi  <yao.qi@linaro.org>
+
+       * alpha-dis.c: Include disassemble.h, don't include
+       dis-asm.h.
+       * avr-dis.c, bfin-dis.c, cr16-dis.c: Likewise.
+       * crx-dis.c, d10v-dis.c, d30v-dis.c: Likewise.
+       * disassemble.c, dlx-dis.c, epiphany-dis.c: Likewise.
+       * fr30-dis.c, ft32-dis.c, h8300-dis.c, h8500-dis.c: Likewise.
+       * hppa-dis.c, i370-dis.c, i386-dis.c: Likewise.
+       * i860-dis.c, i960-dis.c, ip2k-dis.c: Likewise.
+       * iq2000-dis.c, lm32-dis.c, m10200-dis.c: Likewise.
+       * m10300-dis.c, m32r-dis.c, m68hc11-dis.c: Likewise.
+       * m68k-dis.c, m88k-dis.c, mcore-dis.c: Likewise.
+       * metag-dis.c, microblaze-dis.c, mmix-dis.c: Likewise.
+       * moxie-dis.c, msp430-dis.c, mt-dis.c:
+       * nds32-dis.c, nios2-dis.c, ns32k-dis.c: Likewise.
+       * or1k-dis.c, pdp11-dis.c, pj-dis.c: Likewise.
+       * ppc-dis.c, pru-dis.c, riscv-dis.c: Likewise.
+       * rl78-dis.c, s390-dis.c, score-dis.c: Likewise.
+       * sh-dis.c, sh64-dis.c, tic30-dis.c: Likewise.
+       * tic4x-dis.c, tic54x-dis.c, tic6x-dis.c: Likewise.
+       * tic80-dis.c, tilegx-dis.c, tilepro-dis.c: Likewise.
+       * v850-dis.c, vax-dis.c, visium-dis.c: Likewise.
+       * w65-dis.c, wasm32-dis.c, xc16x-dis.c: Likewise.
+       * xgate-dis.c, xstormy16-dis.c, xtensa-dis.c: Likewise.
+       * z80-dis.c, z8k-dis.c: Likewise.
+       * disassemble.h: New file.
+
+2017-05-24  Yao Qi  <yao.qi@linaro.org>
+
+       * rl78-dis.c (rl78_get_disassembler): If parameter abfd
+       is NULL, set cpu to E_FLAG_RL78_ANY_CPU.
+
+2017-05-24  Yao Qi  <yao.qi@linaro.org>
+
+       * disassemble.c (disassembler): Add arguments a, big and mach.
+       Use them.
+
+2017-05-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386-dis.c (NOTRACK_Fixup): New.
+       (NOTRACK): Likewise.
+       (NOTRACK_PREFIX): Likewise.
+       (last_active_prefix): Likewise.
+       (reg_table): Use NOTRACK on indirect call and jmp.
+       (ckprefix): Set last_active_prefix.
+       (prefix_name): Return "notrack" for NOTRACK_PREFIX.
+       * i386-gen.c (opcode_modifiers): Add NoTrackPrefixOk.
+       * i386-opc.h (NoTrackPrefixOk): New.
+       (i386_opcode_modifier): Add notrackprefixok.
+       * i386-opc.tbl: Add NoTrackPrefixOk to indirect call and jmp.
+       Add notrack.
+       * i386-tbl.h: Regenerated.
+
+2017-05-19  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * sparc-dis.c (MASK_V9): Include SPARC_OPCODE_ARCH_M8.
+       (X_IMM2): Define.
+       (compute_arch_mask): Handle bfd_mach_sparc_v8plusm8 and
+       bfd_mach_sparc_v9m8.
+       (print_insn_sparc): Handle new operand types.
+       * sparc-opc.c (MASK_M8): Define.
+       (v6): Add MASK_M8.
+       (v6notlet): Likewise.
+       (v7): Likewise.
+       (v8): Likewise.
+       (v9): Likewise.
+       (v9a): Likewise.
+       (v9b): Likewise.
+       (v9c): Likewise.
+       (v9d): Likewise.
+       (v9e): Likewise.
+       (v9v): Likewise.
+       (v9m): Likewise.
+       (v9andleon): Likewise.
+       (m8): Define.
+       (HWS_VM8): Define.
+       (HWS2_VM8): Likewise.
+       (sparc_opcode_archs): Add entry for "m8".
+       (sparc_opcodes): Add OSA2017 and M8 instructions
+       dictunpack, fpcmp{ule,ugt,eq,ne,de,ur}{8,16,32}shl,
+       fpx{ll,ra,rl}64x,
+       ldm{sh,uh,sw,uw,x,ux}, ldm{sh,uh,sw,uw,x,ux}a, ldmf{s,d},
+       ldmf{s,d}a, on{add,sub,mul,div}, rdentropy, revbitsb,
+       revbytes{h,w,x}, rle_burst, rle_length, sha3, stm{h,w,x},
+       stm{h,w,x}a, stmf{s,d}, stmf{s,d}a.
+       (asi_table): New M8 ASIs ASI_CORE_COMMIT_COUNT,
+       ASI_CORE_SELECT_COUNT, ASI_ARF_ECC_REG, ASI_ITLB_PROBE, ASI_DSFAR,
+       ASI_DTLB_PROBE_PRIMARY, ASI_DTLB_PROBE_REAL,
+       ASI_CORE_SELECT_COMMIT_NHT.
+
+2017-05-18  Alan Modra  <amodra@gmail.com>
+
+       * aarch64-asm.c: Don't compare boolean values against TRUE or FALSE.
+       * aarch64-dis.c: Likewise.
+       * aarch64-gen.c: Likewise.
+       * aarch64-opc.c: Likewise.
+
+2017-05-15  Maciej W. Rozycki  <macro@imgtec.com>
+           Matthew Fortune  <matthew.fortune@imgtec.com>
+
+       * mips-dis.c (mips_arch_choices): Add ASE_MIPS16E2 and
+       ASE_MIPS16E2_MT flags to the unnamed MIPS16 entry.
+       (mips_convert_abiflags_ases): Handle the AFL_ASE_MIPS16E2 flag.
+       (print_insn_arg) <OP_REG28>: Add handler.
+       (validate_insn_args) <OP_REG28>: Handle.
+       (print_mips16_insn_arg): Handle MIPS16 instructions that require
+       32-bit encoding and 9-bit immediates.
+       (print_insn_mips16): Handle MIPS16 instructions that require
+       32-bit encoding and MFC0/MTC0 operand decoding.
+       * mips16-opc.c (decode_mips16_operand) <'>', '9', 'G', 'N', 'O'>
+       <'Q', 'T', 'b', 'c', 'd', 'r', 'u'>: Add handlers.
+       (RD_C0, WR_C0, E2, E2MT): New macros.
+       (mips16_opcodes): Add entries for MIPS16e2 instructions:
+       GP-relative "addiu" and its "addu" spelling, "andi", "cache",
+       "di", "ehb", "ei", "ext", "ins", GP-relative "lb", "lbu", "lh",
+       "lhu", and "lw" instructions, "ll", "lui", "lwl", "lwr", "mfc0",
+       "movn", "movtn", "movtz", "movz", "mtc0", "ori", "pause",
+       "pref", "rdhwr", "sc", GP-relative "sb", "sh" and "sw"
+       instructions, "swl", "swr", "sync" and its "sync_acquire",
+       "sync_mb", "sync_release", "sync_rmb" and "sync_wmb" aliases,
+       "xori", "dmt", "dvpe", "emt" and "evpe".  Add split
+       regular/extended entries for original MIPS16 ISA revision
+       instructions whose extended forms are subdecoded in the MIPS16e2
+       ISA revision: "li", "sll" and "srl".
+
 2017-05-15  Maciej W. Rozycki  <macro@imgtec.com>
 
        * mips-dis.c (print_insn_args) <default>: Remove an MT ASE
This page took 0.027412 seconds and 4 git commands to generate.