X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=opcodes%2FChangeLog;h=aa31dd30138e3eafd991a7ef742fc1ac16d08d29;hb=f9830ec1655e7cc2aa88c9c34a20503978d9dc88;hp=c01397492ac3e77a376c05ea8ee4c49885cf504b;hpb=de194d8575765da6c7905d09b8675c59fad035e9;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index c01397492a..6baa67ed03 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,1095 +1,786 @@ -2017-07-18 Nick Clifton - - PR 21775 - * aarch64-opc.c: Fix spelling typos. - * i386-dis.c: Likewise. - -2017-07-14 Ravi Bangoria - - * dis-buf.c (buffer_read_memory): Change type of end_addr_offset, - max_addr_offset and octets variables to size_t. - -2017-07-12 Alan Modra - - * po/da.po: Update from translationproject.org/latest/opcodes/. - * po/de.po: Likewise. - * po/es.po: Likewise. - * po/fi.po: Likewise. - * po/fr.po: Likewise. - * po/id.po: Likewise. - * po/it.po: Likewise. - * po/nl.po: Likewise. - * po/pt_BR.po: Likewise. - * po/ro.po: Likewise. - * po/sv.po: Likewise. - * po/tr.po: Likewise. - * po/uk.po: Likewise. - * po/vi.po: Likewise. - * po/zh_CN.po: Likewise. - -2017-07-11 Yao Qi - Alan Modra - - * cgen.sh: Mark generated files read-only. - * epiphany-asm.c: Regenerate. - * epiphany-desc.c: Regenerate. - * epiphany-desc.h: Regenerate. - * epiphany-dis.c: Regenerate. - * epiphany-ibld.c: Regenerate. - * epiphany-opc.c: Regenerate. - * epiphany-opc.h: Regenerate. - * fr30-asm.c: Regenerate. - * fr30-desc.c: Regenerate. - * fr30-desc.h: Regenerate. - * fr30-dis.c: Regenerate. - * fr30-ibld.c: Regenerate. - * fr30-opc.c: Regenerate. - * fr30-opc.h: Regenerate. - * frv-asm.c: Regenerate. - * frv-desc.c: Regenerate. - * frv-desc.h: Regenerate. - * frv-dis.c: Regenerate. - * frv-ibld.c: Regenerate. - * frv-opc.c: Regenerate. - * frv-opc.h: Regenerate. - * ip2k-asm.c: Regenerate. - * ip2k-desc.c: Regenerate. - * ip2k-desc.h: Regenerate. - * ip2k-dis.c: Regenerate. - * ip2k-ibld.c: Regenerate. - * ip2k-opc.c: Regenerate. - * ip2k-opc.h: Regenerate. - * iq2000-asm.c: Regenerate. - * iq2000-desc.c: Regenerate. - * iq2000-desc.h: Regenerate. - * iq2000-dis.c: Regenerate. - * iq2000-ibld.c: Regenerate. - * iq2000-opc.c: Regenerate. - * iq2000-opc.h: Regenerate. - * lm32-asm.c: Regenerate. - * lm32-desc.c: Regenerate. - * lm32-desc.h: Regenerate. - * lm32-dis.c: Regenerate. - * lm32-ibld.c: Regenerate. - * lm32-opc.c: Regenerate. - * lm32-opc.h: Regenerate. - * lm32-opinst.c: Regenerate. - * m32c-asm.c: Regenerate. - * m32c-desc.c: Regenerate. - * m32c-desc.h: Regenerate. - * m32c-dis.c: Regenerate. - * m32c-ibld.c: Regenerate. - * m32c-opc.c: Regenerate. - * m32c-opc.h: Regenerate. - * m32r-asm.c: Regenerate. - * m32r-desc.c: Regenerate. - * m32r-desc.h: Regenerate. - * m32r-dis.c: Regenerate. - * m32r-ibld.c: Regenerate. - * m32r-opc.c: Regenerate. - * m32r-opc.h: Regenerate. - * m32r-opinst.c: Regenerate. - * mep-asm.c: Regenerate. - * mep-desc.c: Regenerate. - * mep-desc.h: Regenerate. - * mep-dis.c: Regenerate. - * mep-ibld.c: Regenerate. - * mep-opc.c: Regenerate. - * mep-opc.h: Regenerate. - * mt-asm.c: Regenerate. - * mt-desc.c: Regenerate. - * mt-desc.h: Regenerate. - * mt-dis.c: Regenerate. - * mt-ibld.c: Regenerate. - * mt-opc.c: Regenerate. - * mt-opc.h: Regenerate. - * or1k-asm.c: Regenerate. - * or1k-desc.c: Regenerate. - * or1k-desc.h: Regenerate. - * or1k-dis.c: Regenerate. - * or1k-ibld.c: Regenerate. - * or1k-opc.c: Regenerate. - * or1k-opc.h: Regenerate. - * or1k-opinst.c: Regenerate. - * xc16x-asm.c: Regenerate. - * xc16x-desc.c: Regenerate. - * xc16x-desc.h: Regenerate. - * xc16x-dis.c: Regenerate. - * xc16x-ibld.c: Regenerate. - * xc16x-opc.c: Regenerate. - * xc16x-opc.h: Regenerate. - * xstormy16-asm.c: Regenerate. - * xstormy16-desc.c: Regenerate. - * xstormy16-desc.h: Regenerate. - * xstormy16-dis.c: Regenerate. - * xstormy16-ibld.c: Regenerate. - * xstormy16-opc.c: Regenerate. - * xstormy16-opc.h: Regenerate. - -2017-07-07 Alan Modra - - * cgen-dis.in: Include disassemble.h, not dis-asm.h. - * m32c-dis.c: Regenerate. - * mep-dis.c: Regenerate. - -2017-07-05 Borislav Petkov - - * i386-dis.c: Enable ModRM.reg /6 aliases. - -2017-07-04 Ramana Radhakrishnan - - * opcodes/arm-dis.c: Support MVFR2 in disassembly - with vmrs and vmsr. - -2017-07-04 Tristan Gingold +2018-05-15 Tamar Christina + + PR binutils/21446 + * aarch64-asm.c (opintl.h): Include. + (aarch64_ins_sysreg): Enforce read/write constraints. + * aarch64-dis.c (aarch64_ext_sysreg): Likewise. + * aarch64-opc.h (F_DEPRECATED, F_ARCHEXT, F_HASXT): Moved here. + (F_REG_READ, F_REG_WRITE): New. + * aarch64-opc.c (aarch64_print_operand): Generate notes for + AARCH64_OPND_SYSREG. + (F_DEPRECATED, F_ARCHEXT, F_HASXT): Move to aarch64-opc.h. + (aarch64_sys_regs): Add constraints to currentel, midr_el1, ctr_el0, + mpidr_el1, revidr_el1, aidr_el1, dczid_el0, id_dfr0_el1, id_pfr0_el1, + id_pfr1_el1, id_afr0_el1, id_mmfr0_el1, id_mmfr1_el1, id_mmfr2_el1, + id_mmfr3_el1, id_mmfr4_el1, id_isar0_el1, id_isar1_el1, id_isar2_el1, + id_isar3_el1, id_isar4_el1, id_isar5_el1, mvfr0_el1, mvfr1_el1, + mvfr2_el1, ccsidr_el1, id_aa64pfr0_el1, id_aa64pfr1_el1, + id_aa64dfr0_el1, id_aa64dfr1_el1, id_aa64isar0_el1, id_aa64isar1_el1, + id_aa64mmfr0_el1, id_aa64mmfr1_el1, id_aa64mmfr2_el1, id_aa64afr0_el1, + id_aa64afr0_el1, id_aa64afr1_el1, id_aa64zfr0_el1, clidr_el1, + csselr_el1, vsesr_el2, erridr_el1, erxfr_el1, rvbar_el1, rvbar_el2, + rvbar_el3, isr_el1, tpidrro_el0, cntfrq_el0, cntpct_el0, cntvct_el0, + mdccsr_el0, dbgdtrrx_el0, dbgdtrtx_el0, osdtrrx_el1, osdtrtx_el1, + mdrar_el1, oslar_el1, oslsr_el1, dbgauthstatus_el1, pmbidr_el1, + pmsidr_el1, pmswinc_el0, pmceid0_el0, pmceid1_el0. + * aarch64-tbl.h (aarch64_opcode_table): Add constraints to + msr (F_SYS_WRITE), mrs (F_SYS_READ). + +2018-05-15 Tamar Christina + + PR binutils/21446 + * aarch64-dis.c (no_notes: New. + (parse_aarch64_dis_option): Support notes. + (aarch64_decode_insn, print_operands): Likewise. + (print_aarch64_disassembler_options): Document notes. + * aarch64-opc.c (aarch64_print_operand): Support notes. + +2018-05-15 Tamar Christina + + PR binutils/21446 + * aarch64-asm.h (aarch64_insert_operand, aarch64_##x): Return boolean + and take error struct. + * aarch64-asm.c (aarch64_ext_regno, aarch64_ins_reglane, + aarch64_ins_reglist, aarch64_ins_ldst_reglist, + aarch64_ins_ldst_reglist_r, aarch64_ins_ldst_elemlist, + aarch64_ins_advsimd_imm_shift, aarch64_ins_imm, aarch64_ins_imm_half, + aarch64_ins_advsimd_imm_modified, aarch64_ins_fpimm, + aarch64_ins_imm_rotate1, aarch64_ins_imm_rotate2, aarch64_ins_fbits, + aarch64_ins_aimm, aarch64_ins_limm_1, aarch64_ins_limm, + aarch64_ins_inv_limm, aarch64_ins_ft, aarch64_ins_addr_simple, + aarch64_ins_addr_regoff, aarch64_ins_addr_offset, aarch64_ins_addr_simm, + aarch64_ins_addr_simm10, aarch64_ins_addr_uimm12, + aarch64_ins_simd_addr_post, aarch64_ins_cond, aarch64_ins_sysreg, + aarch64_ins_pstatefield, aarch64_ins_sysins_op, aarch64_ins_barrier, + aarch64_ins_prfop, aarch64_ins_hint, aarch64_ins_reg_extended, + aarch64_ins_reg_shifted, aarch64_ins_sve_addr_ri_s4xvl, + aarch64_ins_sve_addr_ri_s6xvl, aarch64_ins_sve_addr_ri_s9xvl, + aarch64_ins_sve_addr_ri_s4, aarch64_ins_sve_addr_ri_u6, + aarch64_ins_sve_addr_rr_lsl, aarch64_ins_sve_addr_rz_xtw, + aarch64_ins_sve_addr_zi_u5, aarch64_ext_sve_addr_zz, + aarch64_ins_sve_addr_zz_lsl, aarch64_ins_sve_addr_zz_sxtw, + aarch64_ins_sve_addr_zz_uxtw, aarch64_ins_sve_aimm, + aarch64_ins_sve_asimm, aarch64_ins_sve_index, aarch64_ins_sve_limm_mov, + aarch64_ins_sve_quad_index, aarch64_ins_sve_reglist, + aarch64_ins_sve_scale, aarch64_ins_sve_shlimm, aarch64_ins_sve_shrimm, + aarch64_ins_sve_float_half_one, aarch64_ins_sve_float_half_two, + aarch64_ins_sve_float_zero_one, aarch64_opcode_encode): Likewise. + * aarch64-dis.h (aarch64_extract_operand, aarch64_##x): Likewise. + * aarch64-dis.c (aarch64_ext_regno, aarch64_ext_reglane, + aarch64_ext_reglist, aarch64_ext_ldst_reglist, + aarch64_ext_ldst_reglist_r, aarch64_ext_ldst_elemlist, + aarch64_ext_advsimd_imm_shift, aarch64_ext_imm, aarch64_ext_imm_half, + aarch64_ext_advsimd_imm_modified, aarch64_ext_fpimm, + aarch64_ext_imm_rotate1, aarch64_ext_imm_rotate2, aarch64_ext_fbits, + aarch64_ext_aimm, aarch64_ext_limm_1, aarch64_ext_limm, decode_limm, + aarch64_ext_inv_limm, aarch64_ext_ft, aarch64_ext_addr_simple, + aarch64_ext_addr_regoff, aarch64_ext_addr_offset, aarch64_ext_addr_simm, + aarch64_ext_addr_simm10, aarch64_ext_addr_uimm12, + aarch64_ext_simd_addr_post, aarch64_ext_cond, aarch64_ext_sysreg, + aarch64_ext_pstatefield, aarch64_ext_sysins_op, aarch64_ext_barrier, + aarch64_ext_prfop, aarch64_ext_hint, aarch64_ext_reg_extended, + aarch64_ext_reg_shifted, aarch64_ext_sve_addr_ri_s4xvl, + aarch64_ext_sve_addr_ri_s6xvl, aarch64_ext_sve_addr_ri_s9xvl, + aarch64_ext_sve_addr_ri_s4, aarch64_ext_sve_addr_ri_u6, + aarch64_ext_sve_addr_rr_lsl, aarch64_ext_sve_addr_rz_xtw, + aarch64_ext_sve_addr_zi_u5, aarch64_ext_sve_addr_zz, + aarch64_ext_sve_addr_zz_lsl, aarch64_ext_sve_addr_zz_sxtw, + aarch64_ext_sve_addr_zz_uxtw, aarch64_ext_sve_aimm, + aarch64_ext_sve_asimm, aarch64_ext_sve_index, aarch64_ext_sve_limm_mov, + aarch64_ext_sve_quad_index, aarch64_ext_sve_reglist, + aarch64_ext_sve_scale, aarch64_ext_sve_shlimm, aarch64_ext_sve_shrimm, + aarch64_ext_sve_float_half_one, aarch64_ext_sve_float_half_two, + aarch64_ext_sve_float_zero_one, aarch64_opcode_decode): Likewise. + (determine_disassembling_preference, aarch64_decode_insn, + print_insn_aarch64_word, print_insn_data): Take errors struct. + (print_insn_aarch64): Use errors. + * aarch64-asm-2.c: Regenerate. + * aarch64-dis-2.c: Regenerate. + * aarch64-gen.c (print_operand_inserter): Use errors and change type to + boolean in aarch64_insert_operan. + (print_operand_extractor): Likewise. + * aarch64-opc.c (aarch64_print_operand): Use sysreg struct. - * configure: Regenerate. +2018-05-15 Francois H. Theron -2017-07-03 Tristan Gingold + * nfp-dis.c: Use uint64_t for instruction variables, not bfd_vma. - * po/opcodes.pot: Regenerate. +2018-05-09 H.J. Lu -2017-06-30 Maciej W. Rozycki + * i386-opc.tbl: Remove Disp from movidir{i,64b}. - * mips-opc.c (mips_builtin_opcodes): Move "lsa" and "dlsa" - entries to the MSA ASE instruction block. +2018-05-09 Sebastian Rasmussen -2017-06-30 Andrew Bennett - Maciej W. Rozycki + * cr16-opc.c (cr16_instruction): Comment typo fix. + * hppa-dis.c (print_insn_hppa): Likewise. - * micromips-opc.c (XPA, XPAVZ): New macros. - (micromips_opcodes): Add "mfhc0", "mfhgc0", "mthc0" and - "mthgc0". +2018-05-08 Jim Wilson -2017-06-30 Andrew Bennett - Maciej W. Rozycki + * riscv-opc.c (match_c_slli, match_slli_as_c_slli): New. + (match_c_slli64, match_srxi_as_c_srxi): New. + (riscv_opcodes) : Use match_slli_as_c_slli. + : Use match_srxi_as_c_srxi. + : Use match_s_slli. + : New. - * micromips-opc.c (I36): New macro. - (micromips_opcodes): Add "eretnc". +2018-05-08 Alan Modra -2017-06-30 Maciej W. Rozycki - Andrew Bennett + * ppc-dis.c (PPC_OPCD_SEGS): Define using PPC_OP. + (VLE_OPCD_SEGS, SPE2_OPCD_SEGS): Similarly, using macros used to + partition opcode space for index lookup. - * 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". +2018-05-07 Peter Bergner -2017-06-29 Maciej W. Rozycki + * ppc-dis.c (print_insn_powerpc) : Replace this... + : ...with this. Update usage. + Remove duplicate call to *info->memory_error_func. - * 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. +2018-05-07 Igor Tsimbalist + H.J. Lu -2017-06-29 Anton Kolesov + * i386-dis.c (Gva): New. + (enum): Add PREFIX_0F38F8, PREFIX_0F38F9, + MOD_0F38F8_PREFIX_2, MOD_0F38F9_PREFIX_0. + (prefix_table): New instructions (see prefix above). + (mod_table): New instructions (see prefix above). + (OP_G): Handle va_mode. + * i386-gen.c (cpu_flag_init): Add CPU_MOVDIRI_FLAGS, + CPU_MOVDIR64B_FLAGS. + (cpu_flags): Add CpuMOVDIRI and CpuMOVDIR64B. + * i386-opc.h (enum): Add CpuMOVDIRI, CpuMOVDIR64B. + (i386_cpu_flags): Add cpumovdiri and cpumovdir64b. + * i386-opc.tbl: Add movidir{i,64b}. + * i386-init.h: Regenerated. + * i386-tbl.h: Likewise. - * arc-dis.c (parse_disassembler_options): Use - FOR_EACH_DISASSEMBLER_OPTION. +2018-05-07 H.J. Lu -2017-06-29 Anton Kolesov + * i386-gen.c (opcode_modifiers): Replace AddrPrefixOp0 with + AddrPrefixOpReg. + * i386-opc.h (AddrPrefixOp0): Renamed to ... + (AddrPrefixOpReg): This. + (i386_opcode_modifier): Rename addrprefixop0 to addrprefixopreg. + * i386-opc.tbl: Replace AddrPrefixOp0 with AddrPrefixOpReg. - * arc-dis.c (parse_option): Use disassembler_options_cmp to compare - disassembler option strings. - (parse_cpu_option): Likewise. +2018-05-07 Peter Bergner -2017-06-28 Tamar Christina + * ppc-opc.c (powerpc_num_opcodes): Change type to unsigned. + (vle_num_opcodes): Likewise. + (spe2_num_opcodes): Likewise. + * ppc-dis.c (disassemble_init_powerpc) : Rewrite + initialization loop. + (disassemble_init_powerpc) : Likewise. + (disassemble_init_powerpc) : Likewise. Initialize + only once. - * 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. +2018-05-01 Tamar Christina -2017-06-28 Jiong Wang + * aarch64-dis.c (aarch64_opcode_decode): Moved memory clear code. - * arm-dis.c (coprocessor_opcodes): New entries for vsdot and vudot. +2018-04-30 Francois H. Theron -2017-06-28 Maciej W. Rozycki - Matthew Fortune - Andrew Bennett + Makefile.am: Added nfp-dis.c. + configure.ac: Added bfd_nfp_arch. + disassemble.h: Added print_insn_nfp prototype. + disassemble.c: Added ARCH_nfp and call to print_insn_nfp + nfp-dis.c: New, for NFP support. + po/POTFILES.in: Added nfp-dis.c to the list. + Makefile.in: Regenerate. + configure: Regenerate. - * 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) : Update comment. - (validate_insn_args) : 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. +2018-04-26 Jan Beulich -2017-06-23 Andrew Waterman + * i386-opc.tbl: Fold various non-memory operand AVX512VL + templates into their base ones. + * i386-tlb.h: Re-generate. - * riscv-opc.c (riscv_opcodes): Mark I-type SLT instruction as an - alias; do not mark SLTI instruction as an alias. +2018-04-26 Jan Beulich -2017-06-21 H.J. Lu + * i386-gen.c (cpu_flag_init): Use CPU_XOP_FLAGS for + CPU_BDVER1_FLAGS. Use CPU_AVX2_FLAGS for CPU_ZNVER1_FLAGS. Use + CPU_AVX_FLAGS for CPU_BTVER1_FLAGS. Add CPU_XSAVE_FLAGS to + CPU_LWP_FLAGS, CPU_AVX_FLAGS, CPU_MPX_FLAGS, and CPU_OSPKE_FLAGS. + * i386-init.h: Re-generate. - * 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. +2018-04-26 Jan Beulich -2017-06-21 H.J. Lu + * i386-gen.c (cpu_flag_init): Drop all uses of CpuRegMMX, + CpuRegXMM, CpuRegYMM, CpuRegZMM, and CpuRegMask. Use + CPU_AVX2_FLAGS for CPU_AVX512F_FLAGS and drop bogus comment. + Don't use CPU_AVX2_FLAGS for CPU_AVX512VL_FLAGS and drop bogus + comment. + (cpu_flags): Drop CpuRegMMX, CpuRegXMM, CpuRegYMM, CpuRegZMM, + and CpuRegMask. + * i386-opc.h: CpuRegMMX, CpuRegXMM, CpuRegYMM, CpuRegZMM, + CpuRegMask: Delete. + (union i386_cpu_flags): Remove cpuregmmx, cpuregxmm, cpuregymm, + cpuregzmm, and cpuregmask. + * i386-init.h: Re-generate. + * i386-tbl.h: Re-generate. - * i386-dis.c (prefix_table): Replace savessp with saveprevssp. - * i386-opc.tbl: Likewise. - * i386-tbl.h: Regenerated. +2018-04-26 Jan Beulich + + * i386-gen.c (cpu_flag_init): CPU_I586_FLAGS inherits Cpu387 only. + CPU_287_FLAGS is Cpu287 only. CPU_387_FLAGS is Cpu387 only. + * i386-init.h: Re-generate. + +2018-04-26 Jan Beulich + + * i386-gen.c (VexImmExt): Delete. + * i386-opc.h (VexImmExt, veximmext): Delete. + * i386-opc.tbl: Drop all VexImmExt uses. + * i386-tlb.h: Re-generate. + +2018-04-25 Jan Beulich + + * i386-opc.tbl (vpslld, vpsrad, vpsrld): Drop AVX512VL + register-only forms. + * i386-tlb.h: Re-generate. + +2018-04-25 Tamar Christina + + * aarch64-tbl.h (sqrdmlah, sqrdmlsh): Fix masks. + +2018-04-17 Igor Tsimbalist + + * i386-dis.c: Add REG_0F1C_MOD_0, MOD_0F1C_PREFIX_0, + PREFIX_0F1C. + * i386-gen.c (cpu_flag_init): Add CPU_CLDEMOTE_FLAGS, + (cpu_flags): Add CpuCLDEMOTE. + * i386-init.h: Regenerate. + * i386-opc.h (enum): Add CpuCLDEMOTE, + (i386_cpu_flags): Add cpucldemote. + * i386-opc.tbl: Add cldemote. + * i386-tbl.h: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove sh5 and sh64 support. + * configure.ac: Likewise. + * disassemble.c: Likewise. + * disassemble.h: Likewise. + * sh-dis.c: Likewise. + * sh64-dis.c: Delete. + * sh64-opc.c: Delete. + * sh64-opc.h: Delete. + * Makefile.in: Regenerate. + * configure: Regenerate. + * po/POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * Makefile.am: Remove w65 support. + * configure.ac: Likewise. + * disassemble.c: Likewise. + * disassemble.h: Likewise. + * w65-dis.c: Delete. + * w65-opc.h: Delete. + * Makefile.in: Regenerate. + * configure: Regenerate. + * po/POTFILES.in: Regenerate. + +2018-04-16 Alan Modra -2017-06-21 H.J. Lu + * configure.ac: Remove we32k support. + * configure: Regenerate. - * 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 - - PR binutils/21614 - * score-dis.c (score_opcodes): Add sentinel. - -2017-06-16 Alan Modra - - * rx-decode.c: Regenerate. - -2017-06-15 H.J. Lu +2018-04-16 Alan Modra - PR binutils/21594 - * i386-dis.c (OP_E_register): Check valid bnd register. - (OP_G): Likewise. + * Makefile.am: Remove m88k support. + * configure.ac: Likewise. + * disassemble.c: Likewise. + * disassemble.h: Likewise. + * m88k-dis.c: Delete. + * Makefile.in: Regenerate. + * configure: Regenerate. + * po/POTFILES.in: Regenerate. -2017-06-15 Nick Clifton +2018-04-16 Alan Modra - PR binutils/21595 - * aarch64-dis.c (aarch64_ext_ldst_reglist): Check for an out of - range value. + * Makefile.am: Remove i370 support. + * configure.ac: Likewise. + * disassemble.c: Likewise. + * disassemble.h: Likewise. + * i370-dis.c: Delete. + * i370-opc.c: Delete. + * Makefile.in: Regenerate. + * configure: Regenerate. + * po/POTFILES.in: Regenerate. -2017-06-15 Nick Clifton +2018-04-16 Alan Modra - 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 - - 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 - - PR binutils/21576 - * score7-dis.c (score_opcodes): Add sentinel. - -2017-06-14 Yao Qi - - * 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 - - 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 - - * arm-dis.c (print_insn_arm): Remove bogus entry for bx. - -2017-05-30 Anton Kolesov - - * 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 - - * 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 - - * rl78-dis.c (rl78_get_disassembler): If parameter abfd - is NULL, set cpu to E_FLAG_RL78_ANY_CPU. - -2017-05-24 Yao Qi - - * disassemble.c (disassembler): Add arguments a, big and mach. - Use them. - -2017-05-22 H.J. Lu - - * 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. + * Makefile.am: Remove h8500 support. + * configure.ac: Likewise. + * disassemble.c: Likewise. + * disassemble.h: Likewise. + * h8500-dis.c: Delete. + * h8500-opc.h: Delete. + * Makefile.in: Regenerate. + * configure: Regenerate. + * po/POTFILES.in: Regenerate. + +2018-04-16 Alan Modra + + * configure.ac: Remove tahoe support. + * configure: Regenerate. + +2018-04-15 H.J. Lu + + * i386-dis.c (prefix_table): Replace Em with Edq on tpause and + umwait. + * i386-opc.tbl: Allow 32-bit registers for tpause and umwait in + 64-bit mode. * i386-tbl.h: Regenerated. -2017-05-19 Jose E. Marchesi - - * 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 - - * 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 - Matthew Fortune - - * 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) : Add handler. - (validate_insn_args) : 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 - - * mips-dis.c (print_insn_args) : Remove an MT ASE - reference in CP0 move operand decoding. - -2017-05-12 Maciej W. Rozycki - - * mips16-opc.c (decode_mips16_operand) <'6'>: Switch the operand - type to hexadecimal. - (mips16_opcodes): Add operandless "break" and "sdbbp" entries. - -2017-05-11 Maciej W. Rozycki - - * mips-opc.c (mips_builtin_opcodes): Mark "synciobdma", "syncs", - "syncw", "syncws", "sync_acquire", "sync_mb", "sync_release", - "sync_rmb" and "sync_wmb" as aliases. - * micromips-opc.c (micromips_opcodes): Mark "sync_acquire", - "sync_mb", "sync_release", "sync_rmb" and "sync_wmb" as aliases. - -2017-05-10 Claudiu Zissulescu - - * arc-dis.c (parse_option): Update quarkse_em option.. - * arc-ext-tbl.h (dsp_fp_flt2i, dsp_fp_i2flt): Change subclass to - QUARKSE1. - (dsp_fp_div, dsp_fp_cmp): Change subclass to QUARKSE2. - -2017-05-03 Kito Cheng - - * riscv-dis.c (print_insn_args): Handle 'Co' operands. - -2017-05-01 Michael Clark - - * riscv-opc.c (riscv_opcodes) : Use RA not T1 as a temporary - register. - -2017-05-02 Maciej W. Rozycki - - * mips-dis.c (print_insn_arg): Only clear the ISA bit for jumps - and branches and not synthetic data instructions. - -2017-05-02 Bernd Edlinger - - * arm-dis.c (print_insn_thumb32): Fix value_in_comment. - -2017-04-25 Claudiu Zissulescu - - * arc-dis.c (print_insn_arc): Smartly print enter/leave mnemonics. - * arc-opc.c (insert_r13el): New function. - (R13_EL): Define. - * arc-tbl.h: Add new enter/leave variants. +2018-04-11 Igor Tsimbalist + + * i386-dis.c (enum): Add PREFIX_MOD_0_0FAE_REG_6, + PREFIX_MOD_1_0FAE_REG_6. + (va_mode): New. + (OP_E_register): Use va_mode. + * i386-dis-evex.h (prefix_table): + New instructions (see prefixes above). + * i386-gen.c (cpu_flag_init): Add WAITPKG. + (cpu_flags): Likewise. + * i386-opc.h (enum): Likewise. + (i386_cpu_flags): Likewise. + * i386-opc.tbl: Add umonitor, umwait, tpause. + * i386-init.h: Regenerate. + * i386-tbl.h: Likewise. + +2018-04-11 Alan Modra + + * opcodes/i860-dis.c: Delete. + * opcodes/i960-dis.c: Delete. + * Makefile.am: Remove i860 and i960 support. + * configure.ac: Likewise. + * disassemble.c: Likewise. + * disassemble.h: Likewise. + * Makefile.in: Regenerate. + * configure: Regenerate. + * po/POTFILES.in: Regenerate. + +2018-04-04 H.J. Lu -2017-04-25 Claudiu Zissulescu + PR binutils/23025 + * i386-dis.c (get_valid_dis386): Don't set vex.prefix nor vex.w + to 0. + (print_insn): Clear vex instead of vex.evex. - * arc-tbl.h: Reorder NOP entry to be before MOV instructions. +2018-04-04 Nick Clifton -2017-04-25 Maciej W. Rozycki + * po/es.po: Updated Spanish translation. - * mips-dis.c (print_mips_disassembler_options): Add - `no-aliases'. +2018-03-28 Jan Beulich -2017-04-25 Maciej W. Rozycki + * i386-gen.c (opcode_modifiers): Delete VecESize. + * i386-opc.h (VecESize): Delete. + (struct i386_opcode_modifier): Delete vecesize. + * i386-opc.tbl: Drop VecESize. + * i386-tlb.h: Re-generate. - * mips16-opc.c (AL): New macro. - (mips16_opcodes): Mark "nop", "la", "dla", and synthetic forms - of "ld" and "lw" as aliases. +2018-03-28 Jan Beulich -2017-04-24 Tamar Christina + * i386-opc.h (NO_BROADCAST, BROADCAST_1TO16, BROADCAST_1TO8, + BROADCAST_1TO4, BROADCAST_1TO2): Delete. + (struct i386_opcode_modifier): Shrink broadcast field to 1 bit. + * i386-opc.tbl: Replace Broadcast= by Broadcast. + * i386-tlb.h: Re-generate. - * aarch64-opc.c (aarch64_logical_immediate_p): Update DEBUG_TRACE - arguments. +2018-03-28 Jan Beulich -2017-04-22 Alexander Fedotov - Alan Modra + * i386-opc.tbl (vcvt*d2si, vcvt*d2usi, vcvt*s2si, vcvt*s2usi): + Fold AVX512 forms + * i386-tlb.h: Re-generate. - * ppc-opc.c (ELEV): Define. - (vle_opcodes): Add se_rfgi and e_sc. - (powerpc_opcodes): Enable lbdx, lhdx, lwdx, stbdx, sthdx, stwdx - for E200Z4. +2018-03-28 Jan Beulich -2017-04-21 Jose E. Marchesi + * i386-dis.c (prefix_table): Drop Y for cvt*2si. + (vex_len_table): Drop Y for vcvt*2si. + (putop): Replace plain 'Y' handling by abort(). - * sparc-opc.c (sparc_opcodes): Mark RETT instructions as v6notv9. +2018-03-28 Nick Clifton + + PR 22988 + * aarch64-tbl.h (aarch64_opcode_table): Add entries for LDFF1xx + instructions with only a base address register. + * aarch64-opc.c (operand_general_constraint_met_p): Add code to + handle AARHC64_OPND_SVE_ADDR_R. + (aarch64_print_operand): Likewise. + * aarch64-asm-2.c: Regenerate. + * aarch64_dis-2.c: Regenerate. + * aarch64-opc-2.c: Regenerate. -2017-04-21 Nick Clifton +2018-03-22 Jan Beulich - PR binutils/21380 - * aarch64-tbl.h (aarch64_opcode_table): Fix masks for LD1R, LD2R, - LD3R and LD4R. + * i386-opc.tbl: Drop VecESize from register only insn forms and + memory forms not allowing broadcast. + * i386-tlb.h: Re-generate. -2017-04-13 Alan Modra +2018-03-22 Jan Beulich - * epiphany-desc.c: Regenerate. - * fr30-desc.c: Regenerate. - * frv-desc.c: Regenerate. - * ip2k-desc.c: Regenerate. - * iq2000-desc.c: Regenerate. - * lm32-desc.c: Regenerate. - * m32c-desc.c: Regenerate. - * m32r-desc.c: Regenerate. - * mep-desc.c: Regenerate. - * mt-desc.c: Regenerate. - * or1k-desc.c: Regenerate. - * xc16x-desc.c: Regenerate. - * xstormy16-desc.c: Regenerate. + * i386-opc.tbl (vfrczs*, vphadd*, vphsub*, vpmacs*, vpmadcs*, + vprot*, vpsha*, vpshl*, bextr, blc*, bls*, t1mskc, tzmsk, sha1*, + sha256*): Drop Disp. -2017-04-11 Alan Modra +2018-03-22 Jan Beulich - * ppc-dis.c (ppc_opts): Remove PPC_OPCODE_ALTIVEC2, - PPC_OPCODE_VSX3, PPC_OPCODE_HTM and "htm". Formatting. Set - PPC_OPCODE_TMR for e6500. - * ppc-opc.c (PPCVEC2): Define as PPC_OPCODE_POWER8|PPC_OPCODE_E6500. - (PPCVEC3): Define as PPC_OPCODE_POWER9. - (PPCVSX2): Define as PPC_OPCODE_POWER8. - (PPCVSX3): Define as PPC_OPCODE_POWER9. - (PPCHTM): Define as PPC_OPCODE_POWER8. - (powerpc_opcodes ): Remove now unnecessary E6500. + * i386-dis.c (EbndS, bnd_swap_mode): New. + (prefix_table): Use EbndS. + (OP_E_register, OP_E_memory): Also handle bnd_swap_mode. + * i386-opc.tbl (bndmov): Move misplaced Load. + * i386-tlb.h: Re-generate. -2017-04-10 Alan Modra +2018-03-22 Jan Beulich - * ppc-dis.c (ppc_opts <476>): Remove PPC_OPCODE_440. - * ppc-opc.c (MULHW): Add PPC_OPCODE_476. - (powerpc_opcodes): Adjust PPC440, PPC464 and PPC476 insns to suit - removal of PPC_OPCODE_440 from ppc476 cpu selection bits. + * i386-opc.tbl (vcvtdq2pd, vcvtps2pd, vcvtudq2pd): Use separate + templates allowing memory operands and folded ones for register + only flavors. + * i386-tlb.h: Re-generate. -2017-04-09 Pip Cet +2018-03-22 Jan Beulich - * wasm32-dis.c (print_insn_wasm32): Avoid DECIMAL_DIG, specify - appropriate floating-point precision directly. + * i386-opc.tbl (vfrczp*, vpcmov, vpermil2p*): Fold 128- and + 256-bit templates. Drop redundant leftover Disp. + * i386-tlb.h: Re-generate. -2017-04-07 Alan Modra +2018-03-14 Kito Cheng - * ppc-opc.c (powerpc_opcodes ): Enable E6500 only - vector instructions with E6500 not PPCVEC2. + * riscv-opc.c (riscv_insn_types): New. -2017-04-06 Pip Cet +2018-03-13 Nick Clifton - * Makefile.am: Add wasm32-dis.c. - * configure.ac: Add wasm32-dis.c to wasm32 target. - * disassemble.c: Add wasm32 disassembler code. - * wasm32-dis.c: New file. - * Makefile.in: Regenerate. - * configure: Regenerate. - * po/POTFILES.in: Regenerate. - * po/opcodes.pot: Regenerate. + * po/pt_BR.po: Updated Brazilian Portuguese translation. -2017-04-05 Pedro Alves +2018-03-08 H.J. Lu - * arc-dis.c (parse_option, parse_disassembler_options): Constify. - * arm-dis.c (parse_arm_disassembler_options): Constify. - * ppc-dis.c (powerpc_init_dialect): Constify local. - * vax-dis.c (parse_disassembler_options): Constify. + * i386-opc.tbl: Add Optimize to clr. + * i386-tbl.h: Regenerated. -2017-04-03 Palmer Dabbelt +2018-03-08 H.J. Lu - * riscv-dis.c (riscv_disassemble_insn): Change "_gp" to - RISCV_GP_SYMBOL. + * i386-gen.c (opcode_modifiers): Remove OldGcc. + * i386-opc.h (OldGcc): Removed. + (i386_opcode_modifier): Remove oldgcc. + * i386-opc.tbl: Remove fsubp, fsubrp, fdivp and fdivrp + instructions for old (<= 2.8.1) versions of gcc. + * i386-tbl.h: Regenerated. -2017-03-30 Pip Cet +2018-03-08 Jan Beulich - * configure.ac: Add (empty) bfd_wasm32_arch target. - * configure: Regenerate - * po/opcodes.pot: Regenerate. + * i386-opc.h (EVEXDYN): New. + * i386-opc.tbl: Fold various AVX512VL templates. + * i386-tlb.h: Re-generate. -2017-03-29 Sheldon Lobo +2018-03-08 Jan Beulich - Add support for missing SPARC ASIs from UA2005, UA2007, OSA2011, & - OSA2015. - * opcodes/sparc-opc.c (asi_table): New ASIs. + * i386-opc.tbl (vexpandpd, vexpandps, vmovapd, vmovaps, + vmovdqa32, vmovdqa64, vmovdqu32, vmovdqu64, vmovupd, vmovups, + vpexpandd, vpexpandq): Fold AFX512VF templates. + * i386-tlb.h: Re-generate. -2017-03-29 Alan Modra +2018-03-08 Jan Beulich - * ppc-dis.c (ppc_opts): Set PPC_OPCODE_PPC for "any" flags. Add - "raw" option. - (lookup_powerpc): Don't special case -1 dialect. Handle - PPC_OPCODE_RAW. - (print_insn_powerpc): Mask out PPC_OPCODE_ANY on first - lookup_powerpc call, pass it on second. + * i386-opc.tbl (vgf2p8affineinvqb, vgf2p8affineqb, vgf2p8mulb): + Fold 128- and 256-bit VEX-encoded templates. + * i386-tlb.h: Re-generate. -2017-03-27 Alan Modra +2018-03-08 Jan Beulich - PR 21303 - * ppc-dis.c (struct ppc_mopt): Comment. - (ppc_opts ): Move PPC_OPCODE_VLE from .sticky to .cpu. + * i386-opc.tbl (vexpandpd, vexpandps, vmovapd, vmovaps, + vmovdqa32, vmovdqa64, vmovdqu32, vmovdqu64, vmovupd, vmovups, + vpexpandd, vpexpandq): Fold AVX512F templates. + * i386-tlb.h: Re-generate. -2017-03-27 Rinat Zelig +2018-03-08 Jan Beulich - * arc-nps400-tbl.h: Add Ultra Ip and Miscellaneous instructions format. - * arc-opc.c: Add defines. e.g. F_NJ, F_NM , F_NO_T, F_NPS_SR, - F_NPS_M, F_NPS_CORE, F_NPS_ALL. - (insert_nps_misc_imm_offset): New function. - (extract_nps_misc imm_offset): New function. - (arc_num_flag_operands): Add F_NJ, F_NM, F_NO_T. - (arc_flag_special_cases): Add F_NJ, F_NM, F_NO_T. + * i386-opc.tbl (llwpcb, slwpcb, lwpval, lwpins): Fold 32- and + 64-bit templates. Drop Disp. + * i386-tlb.h: Re-generate. -2017-03-21 Andreas Krebbel +2018-03-08 Jan Beulich - * s390-mkopc.c (main): Remove vx2 check. - * s390-opc.txt: Remove vx2 instruction flags. + * i386-opc.tbl (vfmadd*, vfmsub*, vfnmadd*, vfnmsub*): Fold 128- + and 256-bit templates. + * i386-tlb.h: Re-generate. -2017-03-21 Rinat Zelig +2018-03-08 Jan Beulich - * arc-nps400-tbl.h: Add cp32/cp16 instructions format. - * arc-opc.c: Add F_NPS_NA, NPS_DMA_IMM_ENTRY, NPS_DMA_IMM_OFFSET. - (insert_nps_imm_offset): New function. - (extract_nps_imm_offset): New function. - (insert_nps_imm_entry): New function. - (extract_nps_imm_entry): New function. + * i386-opc.tbl (cmpxchg8b): Add NoRex64. + * i386-tlb.h: Re-generate. -2017-03-17 Alan Modra +2018-03-08 Jan Beulich - PR 21248 - * ppc-opc.c (powerpc_opcodes): Enable mfivor32, mfivor33, - mtivor32, and mtivor33 for e6500. Move mfibatl and mfibatu after - those spr mnemonics they alias. Similarly for mtibatl, mtibatu. + * i386-opc.tbl (cmpxchg16b, fisttp, fisttpll, bndmov, mwaitx): + Drop NoAVX. + * i386-tlb.h: Re-generate. -2017-03-14 Kito Cheng +2018-03-08 Jan Beulich - * riscv-opc.c (riscv_opcodes> : Use the 'o' immediate encoding. - : Likewise. - Likewise. + * i386-opc.tbl (ldmxcsr, stmxcsr): Add NoAVX. + * i386-tlb.h: Re-generate. -2017-03-14 Kito Cheng +2018-03-08 Jan Beulich - * riscv-opc.c (riscv_opcodes) : Use match_opcode. + * i386-gen.c (opcode_modifiers): Delete FloatD. + * i386-opc.h (FloatD): Delete. + (struct i386_opcode_modifier): Delete floatd. + * i386-opc.tbl (fadd, fsub, fsubr, fmul, fdiv, fdivr): Replace + FloatD by D. + * i386-tlb.h: Re-generate. -2017-03-13 Andrew Waterman +2018-03-08 Jan Beulich - * riscv-opc.c (riscv_opcodes) : Use match_opcode. - Likewise. - Likewise. - Likewise. + * i386-dis.c (float_reg): Adjust DC and DE fsub*/fdiv* patterns. -2017-03-09 H.J. Lu +2018-03-08 Jan Beulich - * i386-gen.c (opcode_modifiers): Replace S with Load. - * i386-opc.h (S): Removed. - (Load): New. - (i386_opcode_modifier): Replace s with load. - * i386-opc.tbl: Add {disp8}, {disp32}, {swap}, {vex2}, {vex3} - and {evex}. Replace S with Load. + * i386-opc.tbl (vmovd): Disallow Qword memory operands. + * i386-tlb.h: Re-generate. + +2018-03-08 Jan Beulich + + * i386-opc.tbl (vcvtpd2ps): Fold AVX 128- and 256-bit memory + forms. + * i386-tlb.h: Re-generate. + +2018-03-07 Alan Modra + + * disassemble.c (disassembler): Use bfd_arch_powerpc entry for + bfd_arch_rs6000. + * disassemble.h (print_insn_rs6000): Delete. + * ppc-dis.c (powerpc_init_dialect): Handle rs6000. + (disassemble_init_powerpc): Call powerpc_init_dialect for rs6000. + (print_insn_rs6000): Delete. + +2018-03-03 Alan Modra + + * sysdep.h (opcodes_error_handler): Define. + (_bfd_error_handler): Declare. + * Makefile.am: Remove stray #. + * opc2c.c (main): Remove bogus -l arg handling. Print "DO NOT + EDIT" comment. + * aarch64-dis.c, * arc-dis.c, * arm-dis.c, * avr-dis.c, + * d30v-dis.c, * h8300-dis.c, * mmix-dis.c, * ppc-dis.c, + * riscv-dis.c, * s390-dis.c, * sparc-dis.c, * v850-dis.c: Use + opcodes_error_handler to print errors. Standardize error messages. + * msp430-decode.opc, * nios2-dis.c, * rl78-decode.opc: Likewise, + and include opintl.h. + * nds32-asm.c: Likewise, and include sysdep.h and opintl.h. + * i386-gen.c: Standardize error messages. + * msp430-decode.c, * rl78-decode.c, rx-decode.c: Regenerate. + * Makefile.in: Regenerate. + * epiphany-asm.c, * epiphany-desc.c, * epiphany-dis.c, + * epiphany-ibld.c, * fr30-asm.c, * fr30-desc.c, * fr30-dis.c, + * fr30-ibld.c, * frv-asm.c, * frv-desc.c, * frv-dis.c, * frv-ibld.c, + * frv-opc.c, * ip2k-asm.c, * ip2k-desc.c, * ip2k-dis.c, * ip2k-ibld.c, + * iq2000-asm.c, * iq2000-desc.c, * iq2000-dis.c, * iq2000-ibld.c, + * lm32-asm.c, * lm32-desc.c, * lm32-dis.c, * lm32-ibld.c, + * m32c-asm.c, * m32c-desc.c, * m32c-dis.c, * m32c-ibld.c, + * m32r-asm.c, * m32r-desc.c, * m32r-dis.c, * m32r-ibld.c, + * mep-asm.c, * mep-desc.c, * mep-dis.c, * mep-ibld.c, * mt-asm.c, + * mt-desc.c, * mt-dis.c, * mt-ibld.c, * or1k-asm.c, * or1k-desc.c, + * or1k-dis.c, * or1k-ibld.c, * xc16x-asm.c, * xc16x-desc.c, + * xc16x-dis.c, * xc16x-ibld.c, * xstormy16-asm.c, * xstormy16-desc.c, + * xstormy16-dis.c, * xstormy16-ibld.c: Regenerate. + +2018-03-01 H.J. Lu + + * * i386-opc.tbl: Add "Optimize" to AVX256 and AVX512 + vpsub[bwdq] instructions. * i386-tbl.h: Regenerated. -2017-03-09 H.J. Lu +2018-03-01 Alan Modra + + * configure.ac (ALL_LINGUAS): Sort. + * configure: Regenerate. + +2018-02-27 Thomas Preud'homme + + * arm-dis.c (print_insn_coprocessor): Replace uses of ARM_FEATURE_COPY + macro by assignements. - * i386-opc.tbl: Use CpuCET on rdsspq. +2018-02-27 H.J. Lu + + PR gas/22871 + * i386-gen.c (opcode_modifiers): Add Optimize. + * i386-opc.h (Optimize): New enum. + (i386_opcode_modifier): Add optimize. + * i386-opc.tbl: Add "Optimize" to "mov $imm, reg", + "sub reg, reg/mem", "test $imm, acc", "test $imm, reg/mem", + "and $imm, acc", "and $imm, reg/mem", "xor reg, reg/mem", + "movq $imm, reg" and AVX256 and AVX512 versions of vandnps, + vandnpd, vpandn, vpandnd, vpandnq, vxorps, vxorpd, vpxor, + vpxord and vpxorq. * i386-tbl.h: Regenerated. -2017-03-08 Peter Bergner - - * ppc-dis.c (ppc_opts) : Do not use PPC_OPCODE_ALTIVEC2; - : Do not use PPC_OPCODE_VSX3; - -2017-03-08 Peter Bergner - - * ppc-opc.c (powerpc_opcodes) : New extended mnemonic. - -2017-03-06 H.J. Lu - - * i386-dis.c (REG_0F1E_MOD_3): New enum. - (MOD_0F1E_PREFIX_1): Likewise. - (MOD_0F38F5_PREFIX_2): Likewise. - (MOD_0F38F6_PREFIX_0): Likewise. - (RM_0F1E_MOD_3_REG_7): Likewise. - (PREFIX_MOD_0_0F01_REG_5): Likewise. - (PREFIX_MOD_3_0F01_REG_5_RM_1): Likewise. - (PREFIX_MOD_3_0F01_REG_5_RM_2): Likewise. - (PREFIX_0F1E): Likewise. - (PREFIX_MOD_0_0FAE_REG_5): Likewise. - (PREFIX_0F38F5): Likewise. - (dis386_twobyte): Use PREFIX_0F1E. - (reg_table): Add REG_0F1E_MOD_3. - (prefix_table): Add PREFIX_MOD_0_0F01_REG_5, - PREFIX_MOD_3_0F01_REG_5_RM_1, PREFIX_MOD_3_0F01_REG_5_RM_2, - PREFIX_0F1E, PREFIX_MOD_0_0FAE_REG_5 and PREFIX_0F38F5. Update - PREFIX_0FAE_REG_6 and PREFIX_0F38F6. - (three_byte_table): Use PREFIX_0F38F5. - (mod_table): Use PREFIX_MOD_0_0F01_REG_5, PREFIX_MOD_0_0FAE_REG_5. - Add MOD_0F1E_PREFIX_1, MOD_0F38F5_PREFIX_2, MOD_0F38F6_PREFIX_0. - (rm_table): Add MOD_0F38F5_PREFIX_2, MOD_0F38F6_PREFIX_0, - RM_0F1E_MOD_3_REG_7. Use PREFIX_MOD_3_0F01_REG_5_RM_1 and - PREFIX_MOD_3_0F01_REG_5_RM_2. - * i386-gen.c (cpu_flag_init): Add CPU_CET_FLAGS. - (cpu_flags): Add CpuCET. - * i386-opc.h (CpuCET): New enum. - (CpuUnused): Commented out. - (i386_cpu_flags): Add cpucet. - * i386-opc.tbl: Add Intel CET instructions. - * i386-init.h: Regenerated. - * i386-tbl.h: Likewise. +2018-02-26 Alan Modra -2017-03-06 Alan Modra - - PR 21124 - * ppc-opc.c (extract_esync, extract_ls, extract_ral, extract_ram) - (extract_raq, extract_ras, extract_rbx): New functions. - (powerpc_operands): Use opposite corresponding insert function. - (Q_MASK): Define. - (powerpc_opcodes): Apply Q_MASK to all quad insns with even - register restriction. - -2017-02-28 Peter Bergner - - * disassemble.c Include "safe-ctype.h". - (disassemble_init_for_target): Handle s390 init. - (remove_whitespace_and_extra_commas): New function. - (disassembler_options_cmp): Likewise. - * arm-dis.c: Include "libiberty.h". - (NUM_ELEM): Delete. - (regnames): Use long disassembler style names. - Add force-thumb and no-force-thumb options. - (NUM_ARM_REGNAMES): Rename from this... - (NUM_ARM_OPTIONS): ...to this. Use ARRAY_SIZE. - (get_arm_regname_num_options): Delete. - (set_arm_regname_option): Likewise. - (get_arm_regnames): Likewise. - (parse_disassembler_options): Likewise. - (parse_arm_disassembler_option): Rename from this... - (parse_arm_disassembler_options): ...to this. Make static. - Use new FOR_EACH_DISASSEMBLER_OPTION macro to scan over options. - (print_insn): Use parse_arm_disassembler_options. - (disassembler_options_arm): New function. - (print_arm_disassembler_options): Handle updated regnames. - * ppc-dis.c: Include "libiberty.h". - (ppc_opts): Add "32" and "64" entries. - (ppc_parse_cpu): Use ARRAY_SIZE and disassembler_options_cmp. - (powerpc_init_dialect): Add break to switch statement. - Use new FOR_EACH_DISASSEMBLER_OPTION macro. - (disassembler_options_powerpc): New function. - (print_ppc_disassembler_options): Use ARRAY_SIZE. - Remove printing of "32" and "64". - * s390-dis.c: Include "libiberty.h". - (init_flag): Remove unneeded variable. - (struct s390_options_t): New structure type. - (options): New structure. - (init_disasm): Rename from this... - (disassemble_init_s390): ...to this. Add initializations for - current_arch_mask and option_use_insn_len_bits_p. Remove init_flag. - (print_insn_s390): Delete call to init_disasm. - (disassembler_options_s390): New function. - (print_s390_disassembler_options): Print using information from - struct 'options'. - * po/opcodes.pot: Regenerate. - -2017-02-28 Jan Beulich - - * i386-dis.c (PCMPESTR_Fixup): New. - (VEX_W_0F3A60_P_2, VEX_W_0F3A61_P_2): Delete. - (prefix_table): Use PCMPESTR_Fixup. - (vex_len_table): Make VPCMPESTR{I,M} entries leaf ones and use - PCMPESTR_Fixup. - (vex_w_table): Delete VPCMPESTR{I,M} entries. - * i386-opc.tbl (pcmpestri, pcmpestrm, vpcmpestri, vpcmpestrm): - Split 64-bit and non-64-bit variants. - * opcodes/i386-tbl.h: Re-generate. - -2017-02-24 Richard Sandiford - - * aarch64-tbl.h (OP_SVE_HMH, OP_SVE_VMU_HSD, OP_SVE_VMVU_HSD) - (OP_SVE_VMVV_HSD, OP_SVE_VMVVU_HSD, OP_SVE_VM_HSD, OP_SVE_VUVV_HSD) - (OP_SVE_VUV_HSD, OP_SVE_VU_HSD, OP_SVE_VVVU_H, OP_SVE_VVVU_S) - (OP_SVE_VVVU_HSD, OP_SVE_VVV_D, OP_SVE_VVV_D_H, OP_SVE_VVV_H) - (OP_SVE_VVV_HSD, OP_SVE_VVV_S, OP_SVE_VVV_S_B, OP_SVE_VVV_SD_BH) - (OP_SVE_VV_BHSDQ, OP_SVE_VV_HSD, OP_SVE_VZVV_HSD, OP_SVE_VZV_HSD) - (OP_SVE_V_HSD): New macros. - (OP_SVE_VMU_SD, OP_SVE_VMVU_SD, OP_SVE_VM_SD, OP_SVE_VUVV_SD) - (OP_SVE_VU_SD, OP_SVE_VVVU_SD, OP_SVE_VVV_SD, OP_SVE_VZVV_SD) - (OP_SVE_VZV_SD, OP_SVE_V_SD): Delete. - (aarch64_opcode_table): Add new SVE instructions. - (aarch64_opcode_table): Use imm_rotate{1,2} instead of imm_rotate - for rotation operands. Add new SVE operands. - * aarch64-asm.h (ins_sve_addr_ri_s4): New inserter. - (ins_sve_quad_index): Likewise. - (ins_imm_rotate): Split into... - (ins_imm_rotate1, ins_imm_rotate2): ...these two inserters. - * aarch64-asm.c (aarch64_ins_imm_rotate): Split into... - (aarch64_ins_imm_rotate1, aarch64_ins_imm_rotate2): ...these two - functions. - (aarch64_ins_sve_addr_ri_s4): New function. - (aarch64_ins_sve_quad_index): Likewise. - (do_misc_encoding): Handle "MOV Zn.Q, Qm". - * aarch64-asm-2.c: Regenerate. - * aarch64-dis.h (ext_sve_addr_ri_s4): New extractor. - (ext_sve_quad_index): Likewise. - (ext_imm_rotate): Split into... - (ext_imm_rotate1, ext_imm_rotate2): ...these two extractors. - * aarch64-dis.c (aarch64_ext_imm_rotate): Split into... - (aarch64_ext_imm_rotate1, aarch64_ext_imm_rotate2): ...these two - functions. - (aarch64_ext_sve_addr_ri_s4): New function. - (aarch64_ext_sve_quad_index): Likewise. - (aarch64_ext_sve_index): Allow quad indices. - (do_misc_decoding): Likewise. - * aarch64-dis-2.c: Regenerate. - * aarch64-opc.h (FLD_SVE_i3h, FLD_SVE_rot1, FLD_SVE_rot2): New - aarch64_field_kinds. - (OPD_F_OD_MASK): Widen by one bit. - (OPD_F_NO_ZR): Bump accordingly. - (get_operand_field_width): New function. - * aarch64-opc.c (fields): Add new SVE fields. - (operand_general_constraint_met_p): Handle new SVE operands. - (aarch64_print_operand): Likewise. - * aarch64-opc-2.c: Regenerate. + * crx-dis.c (getregliststring): Allocate a large enough buffer + to silence false positive gcc8 warning. -2017-02-24 Richard Sandiford +2018-02-22 Shea Levy - * aarch64-tbl.h (aarch64_feature_simd_v8_3): Replace with... - (aarch64_feature_compnum): ...this. - (SIMD_V8_3): Replace with... - (COMPNUM): ...this. - (CNUM_INSN): New macro. - (aarch64_opcode_table): Use it for the complex number instructions. + * disassemble.c (ARCH_riscv): Define if ARCH_all. -2017-02-24 Jan Beulich +2018-02-22 H.J. Lu - * i386-dis.c (reg_table): REG_F6/1 and REG_F7/1 decode as TEST. + * i386-opc.tbl: Add {rex}, + * i386-tbl.h: Regenerated. -2017-02-23 Sheldon Lobo +2018-02-20 Maciej W. Rozycki - Add support for associating SPARC ASIs with an architecture level. - * include/opcode/sparc.h (sparc_asi): New sparc_asi struct. - * opcodes/sparc-opc.c (asi_table): Updated asi_table and encoding/ - decoding of SPARC ASIs. + * mips16-opc.c (decode_mips16_operand) <'M'>: Remove case. + (mips16_opcodes): Replace `M' with `m' for "restore". -2017-02-23 Jan Beulich +2018-02-19 Thomas Preud'homme - * i386-dis.c (get_valid_dis386): Don't special case VEX opcode - 82. For 3-byte VEX only special case opcode 77 in VEX_0F space. + * arm-dis.c (thumb_opcodes): Fix BXNS mask. -2017-02-21 Jan Beulich +2018-02-13 Maciej W. Rozycki - * aarch64-asm.c (convert_bfc_to_bfm): Copy operand 0 to operand - 1 (instead of to itself). Correct typo. + * wasm32-dis.c (print_insn_wasm32): Rename `index' local + variable to `function_index'. -2017-02-14 Andrew Waterman +2018-02-13 Nick Clifton - * riscv-opc.c (riscv_opcodes): Add sfence.vma instruction and - pseudoinstructions. + PR 22823 + * metag-dis.c (print_fmmov): Double buffer size to avoid warning + about truncation of printing. -2017-02-15 Richard Sandiford +2018-02-12 Henry Wong - * aarch64-opc.c (aarch64_sys_regs): Add SVE registers. - (aarch64_sys_reg_supported_p): Handle them. + * mips-opc.c (mips_builtin_opcodes): Correct "sigrie" encoding. -2017-02-15 Claudiu Zissulescu +2018-02-05 Nick Clifton - * arc-opc.c (UIMM6_20R): Define. - (SIMM12_20): Use above. - (SIMM12_20R): Define. - (SIMM3_5_S): Use above. - (UIMM7_A32_11R_S): Define. - (UIMM7_9_S): Use above. - (UIMM3_13R_S): Define. - (SIMM11_A32_7_S): Use above. - (SIMM9_8R): Define. - (UIMM10_A32_8_S): Use above. - (UIMM8_8R_S): Define. - (W6): Use above. - (arc_relax_opcodes): Use all above defines. + * po/pt_BR.po: Updated Brazilian Portuguese translation. -2017-02-15 Vineet Gupta +2018-01-23 Igor Tsimbalist - * arc-regs.h: Distinguish some of the registers different on - ARC700 and HS38 cpus. + * i386-dis.c (enum): Add pconfig. + * i386-gen.c (cpu_flag_init): Add CPU_PCONFIG_FLAGS. + (cpu_flags): Add CpuPCONFIG. + * i386-opc.h (enum): Add CpuPCONFIG. + (i386_cpu_flags): Add cpupconfig. + * i386-opc.tbl: Add PCONFIG instruction. + * i386-init.h: Regenerate. + * i386-tbl.h: Likewise. -2017-02-14 Alan Modra +2018-01-23 Igor Tsimbalist - PR 21118 - * ppc-opc.c (powerpc_operands): Flag SPR, SPRG and TBR entries - with PPC_OPERAND_SPR. Flag PSQ and PSQM with PPC_OPERAND_GQR. + * i386-dis.c (enum): Add PREFIX_0F09. + * i386-gen.c (cpu_flag_init): Add CPU_WBNOINVD_FLAGS. + (cpu_flags): Add CpuWBNOINVD. + * i386-opc.h (enum): Add CpuWBNOINVD. + (i386_cpu_flags): Add cpuwbnoinvd. + * i386-opc.tbl: Add WBNOINVD instruction. + * i386-init.h: Regenerate. + * i386-tbl.h: Likewise. -2017-02-11 Stafford Horne - Alan Modra +2018-01-17 Jim Wilson - * cgen-opc.c (cgen_lookup_insn): Delete buf and base_insn temps. - Use insn_bytes_value and insn_int_value directly instead. Don't - free allocated memory until function exit. + * riscv-opc.c (riscv_opcodes) : Use z instead of 0. -2017-02-10 Nicholas Piggin +2018-01-17 Igor Tsimbalist - * ppc-opc.c (powerpc_opcodes) : New mnemonics. + * i386-gen.c (cpu_flag_init): Delete CPU_CET_FLAGS, CpuCET. + Add CPU_IBT_FLAGS, CPU_SHSTK_FLAGS, CPY_ANY_IBT_FLAGS, + CPU_ANY_SHSTK_FLAGS, CpuIBT, CpuSHSTK. + (cpu_flags): Add CpuIBT, CpuSHSTK. + * i386-opc.h (enum): Add CpuIBT, CpuSHSTK. + (i386_cpu_flags): Add cpuibt, cpushstk. + * i386-opc.tbl: Change CpuCET to CpuSHSTK and CpuIBT. + * i386-init.h: Regenerate. + * i386-tbl.h: Likewise. -2017-02-03 Nick Clifton +2018-01-16 Nick Clifton - PR 21096 - * aarch64-opc.c (print_register_list): Ensure that the register - list index will fir into the tb buffer. - (print_register_offset_address): Likewise. - * tic6x-dis.c (print_insn_tic6x): Increase size of func_unit_buf. + * po/pt_BR.po: Updated Brazilian Portugese translation. + * po/de.po: Updated German translation. -2017-01-27 Alexis Deruell +2018-01-15 Jim Wilson - PR 21056 - * tic6x-dis.c (print_insn_tic6x): Correct displaying of parallel - instructions when the previous fetch packet ends with a 32-bit - instruction. + * riscv-opc.c (match_c_nop): New. + (riscv_opcodes) : Handle an addi that compresses to c.nop. -2017-01-24 Dimitar Dimitrov +2018-01-15 Nick Clifton - * pru-opc.c: Remove vague reference to a future GDB port. + * po/uk.po: Updated Ukranian translation. -2017-01-20 Nick Clifton +2018-01-13 Nick Clifton - * po/ga.po: Updated Irish translation. + * po/opcodes.pot: Regenerated. -2017-01-18 Szabolcs Nagy +2018-01-13 Nick Clifton - * arm-dis.c (coprocessor_opcodes): Fix vcmla mask and disassembly. + * configure: Regenerate. -2017-01-13 Yao Qi +2018-01-13 Nick Clifton - * m68k-dis.c (match_insn_m68k): Extend comments. Return -1 - if FETCH_DATA returns 0. - (m68k_scan_mask): Likewise. - (print_insn_m68k): Update code to handle -1 return value. + 2.30 branch created. -2017-01-13 Yao Qi +2018-01-11 Igor Tsimbalist - * m68k-dis.c (enum print_insn_arg_error): New. - (NEXTBYTE): Replace -3 with - PRINT_INSN_ARG_MEMORY_ERROR. - (NEXTULONG): Likewise. - (NEXTSINGLE): Likewise. - (NEXTDOUBLE): Likewise. - (NEXTDOUBLE): Likewise. - (NEXTPACKED): Likewise. - (FETCH_ARG): Likewise. - (FETCH_DATA): Update comments. - (print_insn_arg): Update comments. Replace magic numbers with - enum. - (match_insn_m68k): Likewise. + * i386-opc.tbl: Remove VL variants for 4FMAPS and 4VNNIW insns. + * i386-tbl.h: Regenerate. -2017-01-12 Igor Tsimbalist +2018-01-10 Jan Beulich - * i386-dis.c (enum): Add PREFIX_EVEX_0F3855, EVEX_W_0F3855_P_2. - * i386-dis-evex.h (evex_table): Updated. - * i386-gen.c (cpu_flag_init): Add CPU_AVX512_VPOPCNTDQ_FLAGS, - CPU_ANY_AVX512_VPOPCNTDQ_FLAGS. Update CPU_ANY_AVX512F_FLAGS. - (cpu_flags): Add CpuAVX512_VPOPCNTDQ. - * i386-opc.h (enum): (AVX512_VPOPCNTDQ): New. - (i386_cpu_flags): Add cpuavx512_vpopcntdq. - * i386-opc.tbl: Add Intel AVX512_VPOPCNTDQ instructions. - * i386-init.h: Regenerate. - * i386-tbl.h: Ditto. + * i386-opc.tbl (v4fmaddss, v4fnmaddss): Adjust Disp8MemShift. + * i386-tbl.h: Re-generate. -2017-01-12 Yao Qi +2018-01-10 Jan Beulich - * msp430-dis.c (msp430_singleoperand): Return -1 if - msp430dis_opcode_signed returns false. - (msp430_doubleoperand): Likewise. - (msp430_branchinstr): Return -1 if - msp430dis_opcode_unsigned returns false. - (msp430x_calla_instr): Likewise. - (print_insn_msp430): Likewise. + * i386-opc.tbl (vpcmpeqb, vpcmpleb, vpcmpltb, vpcmpneqb, + vpcmpnleb, vpcmpnltb, vpcmpequb, vpcmpleub, vpcmpltub, + vpcmpnequb, vpcmpnleub, vpcmpnltub, vpcmpeqw, vpcmplew, + vpcmpltw, vpcmpneqw, vpcmpnlew, vpcmpnltw, vpcmpequw, vpcmpleuw, + vpcmpltuw, vpcmpnequw, vpcmpnleuw, vpcmpnltuw): Adjust + Disp8MemShift of AVX512VL forms. + * i386-tbl.h: Re-generate. -2017-01-05 Nick Clifton +2018-01-09 Jim Wilson - PR 20946 - * frv-desc.c (lookup_mach_via_bfd_name): Return NULL if the name - could not be matched. - (frv_cgen_cpu_open): Allow for lookup_mach_via_bfd_name returning - NULL. + * riscv-dis.c (maybe_print_address): If base_reg is zero, + then the hi_addr value is zero. -2017-01-04 Szabolcs Nagy +2018-01-09 James Greenhalgh - * aarch64-tbl.h (RCPC, RCPC_INSN): Define. - (aarch64_opcode_table): Use RCPC_INSN. + * arm-dis.c (arm_opcodes): Add csdb. + (thumb32_opcodes): Add csdb. -2017-01-03 Kito Cheng +2018-01-09 James Greenhalgh - * riscv-opc.c (riscv-opcodes): Add support for the "q" ISA - extension. - * riscv-opcodes/all-opcodes: Likewise. + * aarch64-tbl.h (aarch64_opcode_table): Add "csdb". + * aarch64-asm-2.c: Regenerate. + * aarch64-dis-2.c: Regenerate. + * aarch64-opc-2.c: Regenerate. -2017-01-03 Dilyan Palauzov +2018-01-08 H.J. Lu - * riscv-dis.c (print_insn_args): Add fall through comment. + PR gas/22681 + * i386-opc.tbl: Properly encode vmovd with Qword memeory operand. + Remove AVX512 vmovd with 64-bit operands. + * i386-tbl.h: Regenerated. -2017-01-03 Nick Clifton +2018-01-05 Jim Wilson - * po/sr.po: New Serbian translation. - * configure.ac (ALL_LINGUAS): Add sr. - * configure: Regenerate. + * riscv-dis.c (print_insn_args) <'s'>: Call maybe_print_address for a + jalr. -2017-01-02 Alan Modra - - * epiphany-desc.h: Regenerate. - * epiphany-opc.h: Regenerate. - * fr30-desc.h: Regenerate. - * fr30-opc.h: Regenerate. - * frv-desc.h: Regenerate. - * frv-opc.h: Regenerate. - * ip2k-desc.h: Regenerate. - * ip2k-opc.h: Regenerate. - * iq2000-desc.h: Regenerate. - * iq2000-opc.h: Regenerate. - * lm32-desc.h: Regenerate. - * lm32-opc.h: Regenerate. - * m32c-desc.h: Regenerate. - * m32c-opc.h: Regenerate. - * m32r-desc.h: Regenerate. - * m32r-opc.h: Regenerate. - * mep-desc.h: Regenerate. - * mep-opc.h: Regenerate. - * mt-desc.h: Regenerate. - * mt-opc.h: Regenerate. - * or1k-desc.h: Regenerate. - * or1k-opc.h: Regenerate. - * xc16x-desc.h: Regenerate. - * xc16x-opc.h: Regenerate. - * xstormy16-desc.h: Regenerate. - * xstormy16-opc.h: Regenerate. - -2017-01-02 Alan Modra +2018-01-03 Alan Modra Update year range in copyright notice of all files. -For older changes see ChangeLog-2016 +2018-01-02 Jan Beulich + + * i386-gen.c (operand_type_init): Restore OPERAND_TYPE_REGYMM + and OPERAND_TYPE_REGZMM entries. + +For older changes see ChangeLog-2017 -Copyright (C) 2017 Free Software Foundation, Inc. +Copyright (C) 2018 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright