2013-05-13 Yufeng Zhang Backport from mainline: 2013-05-13 Yufeng Zhang * aarch64-asm.c (aarch64_ins_advsimd_imm_modified): Remove assertion. * aarch64-opc.c (operand_general_constraint_met_p): Relax the range check from [0, 255] to [-128, 255]. 2013-03-25 Tristan Gingold Backport of: 2013-03-08 Yann Sionneau * lm32-desc.c: Regenerate. 2013-03-08 Christian Groessler Backport from mainline: 2012-10-26 Christian Groessler * z8kgen.c (struct op): Fix encoding for translate opcodes (trdb, trdrb, trib, trirb, trtdb, trtdrb, trtib, trtirb). Remove non-existing opcode trtrb. * z8k-opc.h: Regenerate. 2013-02-15 Yufeng Zhang * aarch64-opc.c (aarch64_prfops): Change unnamed operation 'name' fields to NULL. (aarch64_print_operand): Adjust the printing for AARCH64_OPND_PRFOP. 2013-02-12 Yufeng Zhang * aarch64-tbl.h (aarch64_opcode_table): Flag sshll, sshll2, ushll and ushll2 with F_HAS_ALIAS. Add entries for sxtl, sxtl2, uxtl and uxtl2. * aarch64-asm.c (convert_xtl_to_shll): New function. (convert_to_real): Handle OP_SXTL, OP_SXTL2, OP_UXTL and OP_UXTL2 by calling convert_xtl_to_shll. * aarch64-dis.c (convert_shll_to_xtl): New function. (convert_to_alias): Handle OP_SXTL, OP_SXTL2, OP_UXTL and OP_UXTL2 by calling convert_shll_to_xtl. * aarch64-gen.c: Update copyright year. * aarch64-asm-2.c: Re-generate. * aarch64-dis-2.c: Re-generate. * aarch64-opc-2.c: Re-generate. 2013-02-12 Yufeng Zhang * aarch64-opc.c (aarch64_print_operand): Change to print AARCH64_OPND_IMM_MOV in hexadecimal in the instruction and in decimal in comment. * aarch64-tbl.h (aarch64_opcode_table): Remove the 'F_PSEUDO' flag from the opcode entries of OP_MOV_IMM_LOG, OP_MOV_IMM_WIDEN and OP_MOV_IMM_WIDE. 2013-02-12 Yufeng Zhang * aarch64-opc.c (aarch64_prfops): Update to support PLIL1KEEP, PLIL1STRM, PLIL2KEEP, PLIL2STRM, PLIL3KEEP and PLIL3STRM. 2013-02-12 Yufeng Zhang * aarch64-opc.c (aarch64_sys_regs): Add rmr_el1, rmr_el2 and rmr_el3; remove daifset and daifclr. 2013-02-12 Yufeng Zhang * aarch64-opc.c (operand_general_constraint_met_p): Change to check the alignment of addr.offset.imm instead of that of shifter.amount for operand type AARCH64_OPND_ADDR_UIMM12. 2013-01-22 Alan Modra Apply mainline patches 2012-12-13 Alan Modra PR binutils/14950 * ppc-opc.c (insert_sci8, extract_sci8): Rewrite. (insert_sci8n, extract_sci8n): Likewise. 2012-11-23 Alan Modra * ppc-dis.c (ppc_parse_cpu): Add "sticky" param. Track bits set from ppc_opts.sticky in it. Delete "retain_mask". (powerpc_init_dialect): Choose default dialect from info->mach before parsing -M options. Handle more bfd_mach_ppc variants. Update common default to power7. 2012-10-26 Alan Modra * ppc-opc (powerpc_opcodes): "lfdp" and "stfdp" use DS offset. 2012-10-22 Peter Bergner * ppc-opc.c (powerpc_opcodes) : Fix opcode spelling. 2012-10-05 Peter Bergner * ppc-dis.c (ppc_opts) : Use PPC_OPCODE_ALTIVEC2; * ppc-opc.c (VBA): New define. (powerpc_opcodes) : New extended mnemonics. 2012-11-20 Kirill Yukhin H.J. Lu PR gas/14859 * i386-opc.tbl: Fix opcode for 64-bit jecxz. * i386-tbl.h: Regenerated. 2012-10-09 Nagajyothi Eggone * i386-gen.c (cpu_flag_init): Add CPU_BDVER3_FLAGS. * i386-init.h: Regenerated. 2012-11-05 Alan Modra * configure.in: Apply 2012-09-10 change to config.in here. 2012-09-18 Kyrylo Tkachov * arm-dis.c: Changed ldra and strl-form mnemonics to lda and stl-form. 2012-09-18 Chao-ying Fu * micromips-opc.c (micromips_opcodes): Correct the encoding of the "swxc1" instruction. 2012-09-17 Yufeng Zhang * aarch64-asm.c (aarch64_ins_imm_half): Remove ATTRIBUTE_UNUSED from the parameter 'inst'. (aarch64_ins_addr_simm): Add ATTRIBUTE_UNUSED to the parameter 'inst'. (convert_mov_to_movewide): Change to assert (0) when aarch64_wide_constant_p returns FALSE. 2012-08-17 Nagajyothi Eggone * i386-gen.c (cpu_flag_init): Add CPU_BTVER1_FLAGS and CPU_BTVER2_FLAGS. * i386-opc.h: Update CpuPRFCHW comment. * i386-opc.tbl: Enable prefetch instruction for CpuPRFCHW. * i386-init.h: Regenerated. * i386-tbl.h: Likewise. 2012-08-11 Saravanan Ekanathan PR gas/14423 * i386-gen.c (cpu_flag_init): Add CpuFMA in CPU_BDVER2_FLAGS. * i386-init.h: Regenerated. 2012-09-10 Matthias Klose * config.in: Disable sanity check for kfreebsd. 2012-08-14 Maciej W. Rozycki * mips-dis.c (print_insn_args): Add GET_OP and GET_OP_S local macros, use local variables for info struct member accesses, update the type of the variable used to hold the instruction word. (print_insn_mips, print_mips16_insn_arg): Likewise. (print_insn_mips16): Add GET_OP and GET_OP_S local macros, use local variables for info struct member accesses. (print_insn_micromips): Add GET_OP_S local macro. (_print_insn_mips): Update the type of the variable used to hold the instruction word. 2012-08-13 Maciej W. Rozycki * micromips-opc.c (micromips_opcodes): Update comment. * mips-opc.c (mips_builtin_opcodes): Likewise. Mark coprocessor instructions for IOCT as appropriate. * mips-dis.c (print_insn_mips): Replace OPCODE_IS_MEMBER with opcode_is_member. * configure.in: Substitute NO_WMISSING_FIELD_INITIALIZERS with the result of a check for the -Wno-missing-field-initializers GCC option. * Makefile.am (NO_WMISSING_FIELD_INITIALIZERS): New variable. (mips-opc.lo): Pass $(NO_WMISSING_FIELD_INITIALIZERS) to compilation. (mips16-opc.lo): Likewise. (micromips-opc.lo): Likewise. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. 2012-08-01 Alan Modra * h8300-dis.c: Fix printf arg warnings. * i960-dis.c: Likewise. * mips-dis.c: Likewise. * pdp11-dis.c: Likewise. * sh-dis.c: Likewise. * v850-dis.c: Likewise. * configure.in: Formatting. * configure: Regenerate. * rl78-decode.c: Regenerate. * po/POTFILES.in: Regenerate. * mips-dis.c (print_insn_micromips) <'2', '3'>: New cases. 2012-07-31 Chao-Ying Fu Catherine Moore Maciej W. Rozycki * micromips-opc.c (WR_a, RD_a, MOD_a): New macros. (DSP_VOLA): Likewise. (D32, D33): Likewise. (micromips_opcodes): Add DSP ASE instructions. * micromips-dis.c (print_insn_micromips) <'2', '3'>: New cases. <'4', '5', '6', '7', '8', '0', '^', '@'>: Likewise. 2012-09-04 Sergey A. Guriev * ia64-asmtab.h (completer_index): Extend bitfield to full uint. * ia64-gen.c: Promote completer index type to longlong. (irf_operand): Add new register recognition. (in_iclass_mov_x): Add an entry for the new mov_* instruction type. (lookup_specifier): Add new resource recognition. (insert_bit_table_ent): Relax abort condition according to the changed completer index type. (print_dis_table): Fix printf format for completer index. * ia64-ic.tbl: Add a new instruction class. * ia64-opc-i.c (ia64_opcodes_i): Define new I-instructions. * ia64-opc-m.c (ia64_opcodes_m): Define new M-instructions. * ia64-opc.h: Define short names for new operand types. * ia64-raw.tbl: Add new RAW resource for DAHR register. * ia64-waw.tbl: Add new WAW resource for DAHR register. * ia64-asmtab.c: Regenerate. 2012-08-31 H.J. Lu Backport from mainline 2012-07-31 Jan Beulich * i386-opc.tbl (vmovntdqa): Move up into 256-bit integer AVX2 instruction group. Mark as requiring AVX2. * i386-tbl.h: Re-generate. 2012-08-29 Peter Bergner Backport from mainline 2012-08-29 Peter Bergner * ppc-opc.c (VXASHB_MASK): New define. (powerpc_opcodes) : Use VXASHB_MASK. 2012-08-28 Peter Bergner Backport from mainline 2012-08-15 Peter Bergner * ppc-opc.c : New extended mnemonics. 2012-08-15 Peter Bergner * ppc-opc.c : Use PPC_OPERAND_GPR. 2012-08-16 Peter Bergner * ppc-opc.c (powerpc_opcodes) <"lswx">: Use RAX for the second and RBX for the third operand. <"lswi">: Use RAX for second and NBI for the third operand. 2012-08-20 Edmar Wienskoski * ppc-opc.c (powerpc_opcodes): Changed opcode for vabsdub, vabsduh, vabsduw, mviwsplt. 2012-08-28 Peter Bergner * ppc-opc.c (UIMM4, UIMM3, UIMM2, VXVA_MASK, VXVB_MASK, VXVAVB_MASK, VXVDVA_MASK, VXUIMM4_MASK, VXUIMM3_MASK, VXUIMM2_MASK): New defines. (powerpc_opcodes) : Use VXVA_MASK. : Use VXVB_MASK. : Use VXVAVB_MASK. : Use VXVDVA_MASK. : Use VXUIMM4_MASK. : Use VXUIMM3_MASK. : Use VXUIMM2_MASK. 2012-08-28 Matthew Gretton-Dann Apply mainline patches. 2012-08-24 Matthew Gretton-Dann * arm-dis.c (neon_opcodes): Add 2 operand sha instructions. 2012-08-24 Matthew Gretton-Dann * arm-dis.c (neon_opcodes): Add SHA 3-operand instructions. 2012-08-24 Matthew Gretton-Dann * arm-dis.c (neon_opcodes): Handle VMULL.P64. 2012-08-24 Matthew Gretton-Dann * arm-dis.c (neon_opcodes): Add support for AES instructions. 2012-08-24 Matthew Gretton-Dann * arm-dis.c (coprocessor_opcodes): Add support for HP/DP conversions. 2012-08-24 Matthew Gretton-Dann * arm-dis.c (coprocessor_opcodes): Add VRINT. (neon_opcodes): Likewise. 2012-08-24 Matthew Gretton-Dann * arm-dis.c (coprocessor_opcodes): Add support for new VCVT variants. (neon_opcodes): Likewise. 2012-08-24 Matthew Gretton-Dann * arm-dis.c (coprocessor_opcodes): Add VMAXNM/VMINNM. (neon_opcodes): Likewise. 2012-08-24 Matthew Gretton-Dann * arm-dis.c (coprocessor_opcodes): Add VSEL. (print_insn_coprocessor): Add new %<>c bitfield format specifier. 2012-08-24 Matthew Gretton-Dann * arm-dis.c (arm_opcodes): Add LDRA/STRL instructions. (thumb32_opcodes): Likewise. (print_arm_insn): Add support for %<>T formatter. 2012-08-24 Matthew Gretton-Dann * arm-dis.c (arm_opcodes): Add HLT. (thumb_opcodes): Likewise. 2012-08-24 Matthew Gretton-Dann * arm-dis.c (thumb32_opcodes): Add DCPS instruction. 2012-08-24 Matthew Gretton-Dann * arm-dis.c (arm_opcodes): Add SEVL. (thumb_opcodes): Likewise. (thumb32_opcodes): Likewise. 2012-08-24 Matthew Gretton-Dann * arm-dis.c (data_barrier_option): New function. (print_insn_arm): Use data_barrier_option. (print_insn_thumb32): Use data_barrier_option. 2012-08-24 Matthew Gretton-Dann * po/uk.po: New Ukranian translation. * configure.in (ALL_LINGUAS): Add uk. * configure: Regenerate. 2012-08-16 Ian Bolton Laurent Desnogues Jim MacArthur Marcus Shawcroft Nigel Stephens Ramana Radhakrishnan Richard Earnshaw Sofiane Naci Tejas Belagod Yufeng Zhang * Makefile.am: Add AArch64. * Makefile.in: Regenerate. * aarch64-asm.c: New file. * aarch64-asm.h: New file. * aarch64-dis.c: New file. * aarch64-dis.h: New file. * aarch64-gen.c: New file. * aarch64-opc.c: New file. * aarch64-opc.h: New file. * aarch64-tbl.h: New file. * configure.in: Add AArch64. * configure: Regenerate. * disassemble.c: Add AArch64. * aarch64-asm-2.c: New file (automatically generated). * aarch64-dis-2.c: New file (automatically generated). * aarch64-opc-2.c: New file (automatically generated). * po/POTFILES.in: Regenerate. 2012-08-09 Nick Clifton * po/vi.po: Updated Vietnamese translation. 2012-07-30 Nick Clifton * po/opcodes.pot: Updated template. * po/es.po: Updated Spanish translation. * po/fi.po: Updated Finnish translation. 2012-07-25 James Lemke * ppc-opc.c (powerpc_opcodes): Add/remove PPCVLE for some 32-bit insns. 2012-07-24 Stephan McCamant Dr David Alan Gilbert PR binutils/13135 * arm-dis.c: Add necessary casts for printing integer values. Use %s when printing string values. * hppa-dis.c: Likewise. * m68k-dis.c: Likewise. * microblaze-dis.c: Likewise. * mips-dis.c: Likewise. * sparc-dis.c: Likewise. 2012-07-19 Michael Zolotukhin PR binutils/14355 * i386-dis.c (VEX_LEN_0FXOP_08_CC): New. (VEX_LEN_0FXOP_08_CD): Likewise. (VEX_LEN_0FXOP_08_CE): Likewise. (VEX_LEN_0FXOP_08_CF): Likewise. (VEX_LEN_0FXOP_08_EC): Likewise. (VEX_LEN_0FXOP_08_ED): Likewise. (VEX_LEN_0FXOP_08_EE): Likewise. (VEX_LEN_0FXOP_08_EF): Likewise. (xop_table): Fix entries for vpcomb, vpcomw, vpcomd, vpcomq, vpcomub, vpcomuw, vpcomud, vpcomuq. (vex_len_table): Add entries for VEX_LEN_0FXOP_08_CC, VEX_LEN_0FXOP_08_CD, VEX_LEN_0FXOP_08_CE, VEX_LEN_0FXOP_08_CF, VEX_LEN_0FXOP_08_EC, VEX_LEN_0FXOP_08_ED, VEX_LEN_0FXOP_08_EE, VEX_LEN_0FXOP_08_EF. 2012-07-16 Michael Zolotukhin * i386-dis.c (PREFIX_0F38F6): New. (prefix_table): Add adcx, adox instructions. (three_byte_table): Use PREFIX_0F38F6. (mod_table): Add rdseed instruction. * i386-gen.c (cpu_flag_init): Add CpuADX, CpuRDSEED, CpuPRFCHW. (cpu_flags): Likewise. * i386-opc.h: Add CpuADX, CpuRDSEED, CpuPRFCHW. (i386_cpu_flags): Add fields cpurdseed, cpuadx, cpuprfchw. * i386-opc.tbl: Add instrcutions adcx, adox, rdseed. Extend prefetchw. * i386-tbl.h: Regenerate. * i386-init.h: Likewise. 2012-07-05 Thomas Schwinge * mips-dis.c: Remove gratuitous newline. 2012-07-02 Roland McGrath * i386-opc.tbl: Add RepPrefixOk to nop. * i386-tbl.h: Regenerate. 2012-06-28 Nick Clifton * po/vi.po: Updated Vietnamese translation. 2012-06-22 Roland McGrath * i386-opc.tbl: Add RepPrefixOk to ret. * i386-tbl.h: Regenerate. * i386-opc.h (RepPrefixOk): New enum constant. (i386_opcode_modifier): New bitfield 'repprefixok'. * i386-gen.c (opcode_modifiers): Add RepPrefixOk. * i386-opc.tbl: Add RepPrefixOk to bsf, bsr, and to all instructions that have IsString. * i386-tbl.h: Regenerate. 2012-06-11 Andreas Schwab * ppc-opc.c (lvsl, lvebx, isellt, icbt, ldepx, lwepx, lvsr, lvehx) (iselgt, lvewx, iseleq, isel, dcbst, dcbstep, dcbfl, dcbf, lbepx) (lvx, dcbfep, dcbtstls, stvebx, dcbtstlse, stdepx, stwepx, dcbtls) (stvehx, dcbtlse, stvewx, stbepx, icblc, stvx, dcbtstt, dcbtst) (dcbtst, dcbtstep, dcbtt, dcbt, dcbt, lhepx, eciwx, dcbtep) (dcread, lxvdsx, lvxl, dcblc, sthepx, ecowx, dcbi, dcread, icbtls) (stvxl, lxsdx, lfdepx, stxsdx, stfdepx, dcba, dcbal, lxvw4x) (tlbivax, lfdpx, lxvd2x, tlbsrx., stxvw4x, tlbsx, tlbsx., stfdpx) (stfqx, stxvd2x, icbi, icbiep, icread, dcbzep): Change RA to RA0. 2012-05-19 Alan Modra * ppc-dis.c: Don't include elf32-ppc.h, do include elf/ppc.h. (get_powerpc_dialect): Detect VLE sections from ELF sh_flags. 2012-05-18 Alan Modra * ia64-opc.c: Remove #include "ansidecl.h". * z8kgen.c: Include sysdep.h first. * arc-dis.c: Include sysdep.h first, remove some redundant includes. * bfin-dis.c: Likewise. * i860-dis.c: Likewise. * ia64-dis.c: Likewise. * ia64-gen.c: Likewise. * m68hc11-dis.c: Likewise. * mmix-dis.c: Likewise. * msp430-dis.c: Likewise. * or32-dis.c: Likewise. * rl78-dis.c: Likewise. * rx-dis.c: Likewise. * tic4x-dis.c: Likewise. * tilegx-opc.c: Likewise. * tilepro-opc.c: Likewise. * rx-decode.c: Regenerate. 2012-05-17 James Lemke * ppc-opc.c (powerpc_macros): Add entries for e_extlwi to e_clrlslwi. 2012-05-17 James Lemke * ppc-opc.c (extract_sprg): Use ALLOW8_SPRG to include VLE. 2012-05-17 Daniel Richard G. Nick Clifton PR 14072 * configure.in: Add check that sysdep.h has been included before any system header files. * configure: Regenerate. * config.in: Regenerate. * sysdep.h: Generate an error if included before config.h. * alpha-opc.c: Include sysdep.h before any other header file. * alpha-dis.c: Likewise. * avr-dis.c: Likewise. * cgen-opc.c: Likewise. * cr16-dis.c: Likewise. * cris-dis.c: Likewise. * crx-dis.c: Likewise. * d10v-dis.c: Likewise. * d10v-opc.c: Likewise. * d30v-dis.c: Likewise. * d30v-opc.c: Likewise. * h8500-dis.c: Likewise. * i370-dis.c: Likewise. * i370-opc.c: Likewise. * m10200-dis.c: Likewise. * m10300-dis.c: Likewise. * micromips-opc.c: Likewise. * mips-opc.c: Likewise. * mips61-opc.c: Likewise. * moxie-dis.c: Likewise. * or32-opc.c: Likewise. * pj-dis.c: Likewise. * ppc-dis.c: Likewise. * ppc-opc.c: Likewise. * s390-dis.c: Likewise. * sh-dis.c: Likewise. * sh64-dis.c: Likewise. * sparc-dis.c: Likewise. * sparc-opc.c: Likewise. * spu-dis.c: Likewise. * tic30-dis.c: Likewise. * tic54x-dis.c: Likewise. * tic80-dis.c: Likewise. * tic80-opc.c: Likewise. * tilegx-dis.c: Likewise. * tilepro-dis.c: Likewise. * v850-dis.c: Likewise. * v850-opc.c: Likewise. * vax-dis.c: Likewise. * w65-dis.c: Likewise. * xgate-dis.c: Likewise. * xtensa-dis.c: Likewise. * rl78-decode.opc: Likewise. * rl78-decode.c: Regenerate. * rx-decode.opc: Likewise. * rx-decode.c: Regenerate. 2012-05-17 Alan Modra * ppc_dis.c: Don't include elf/ppc.h. 2012-05-16 Meador Inge * arm-dis.c (arm_opcodes): Don't disassemble STMFD/LDMIA sp!, {reg} to PUSH/POP {reg}. 2012-05-15 James Murray Stephane Carrez * configure.in: Add S12X and XGATE co-processor support to m68hc11 target. * disassemble.c: Likewise. * configure: Regenerate. * m68hc11-dis.c: Make objdump output more consistent, use hex instead of decimal and use 0x prefix for hex. * m68hc11-opc.c: Add S12X and XGATE opcodes. 2012-05-14 James Lemke * ppc-dis.c (get_powerpc_dialect): Use is_ppc_vle. (PPC_OPCD_SEGS, VLE_OPCD_SEGS): New defines. (vle_opcd_indices): New array. (lookup_vle): New function. (disassemble_init_powerpc): Revise for second (VLE) opcode table. (print_insn_powerpc): Likewise. * ppc-opc.c: Likewise. 2012-05-14 Catherine Moore Maciej W. Rozycki Rhonda Wittels Nathan Froyd * ppc-opc.c (insert_arx, extract_arx): New functions. (insert_ary, extract_ary): New functions. (insert_li20, extract_li20): New functions. (insert_rx, extract_rx): New functions. (insert_ry, extract_ry): New functions. (insert_sci8, extract_sci8): New functions. (insert_sci8n, extract_sci8n): New functions. (insert_sd4h, extract_sd4h): New functions. (insert_sd4w, extract_sd4w): New functions. (insert_vlesi, extract_vlesi): New functions. (insert_vlensi, extract_vlensi): New functions. (insert_vleui, extract_vleui): New functions. (insert_vleil, extract_vleil): New functions. (BI_MASK, BB_MASK, BT): Use PPC_OPERAND_CR_BIT. (BI16, BI32, BO32, B8): New. (B15, B24, CRD32, CRS): New. (CRD, OBF, BFA, CR, CRFS): Use PPC_OPERAND_CR_REG. (DB, IMM20, RD, Rx, ARX, RY, RZ): New. (ARY, SCLSCI8, SCLSCI8N, SE_SD, SE_SDH): New. (SH6_MASK): Use PPC_OPSHIFT_INV. (SI8, UI5, OIMM5, UI7, BO16): New. (VLESIMM, VLENSIMM, VLEUIMM, VLEUIMML): New. (XT6, XA6, XB6, XB6S, XC6): Use PPC_OPSHIFT_INV. (ALLOW8_SPRG): New. (insert_sprg, extract_sprg): Check ALLOW8_SPRG. (OPVUP, OPVUP_MASK OPVUP): New (BD8, BD8_MASK, BD8IO, BD8IO_MASK): New. (EBD8IO, EBD8IO1_MASK, EBD8IO2_MASK, EBD8IO3_MASK): New. (BD15, BD15_MASK, EBD15, EBD15_MASK, EBD15BI, EBD15BI_MASK): New. (BD24,BD24_MASK, C_LK, C_LK_MASK, C, C_MASK): New. (IA16, IA16_MASK, I16A, I16A_MASK, I16L, I16L_MASK): New. (IM7, IM7_MASK, LI20, LI20_MASK, SCI8, SCI8_MASK): New. (SCI8BF, SCI8BF_MASK, SD4, SD4_MASK): New. (SE_IM5, SE_IM5_MASK): New. (SE_R, SE_R_MASK, SE_RR, SE_RR_MASK): New. (EX, EX_MASK, BO16F, BO16T, BO32F, BO32T): New. (BO32DNZ, BO32DZ): New. (NO371, PPCSPE, PPCISEL, PPCEFS, MULHW): Include PPC_OPCODE_VLE. (PPCVLE): New. (powerpc_opcodes): Add new VLE instructions. Update existing instruction to include PPCVLE if supported. * ppc-dis.c (ppc_opts): Add vle entry. (get_powerpc_dialect): New function. (powerpc_init_dialect): VLE support. (print_insn_big_powerpc): Call get_powerpc_dialect. (print_insn_little_powerpc): Likewise. (operand_value_powerpc): Handle negative shift counts. (print_insn_powerpc): Handle 2-byte instruction lengths. 2012-05-11 Daniel Richard G. PR binutils/14028 * configure.in: Invoke ACX_HEADER_STRING. * configure: Regenerate. * config.in: Regenerate. * sysdep.h: If STRINGS_WITH_STRING is defined then include both string.h and strings.h. 2012-05-11 Nick Clifton PR binutils/14006 * arm-dis.c (print_insn): Fix detection of instruction mode in files containing multiple executable sections. 2012-05-03 Sean Keys * Makefile.in, configure: regenerate * disassemble.c (disassembler): Recognize ARCH_XGATE. * xgate-dis.c (read_memory, print_insn, print_insn_xgate): New functions. * configure.in: Recognize xgate. * xgate-dis.c, xgate-opc.c: New files for support of xgate * Makefile.am (CFILES, ALL_MACHINES): New files for disassembly and opcode generation for xgate. 2012-04-30 DJ Delorie * rx-decode.opc (MOV): Do not sign-extend immediates which are already the maximum bit size. * rx-decode.c: Regenerate. 2012-04-27 David S. Miller * sparc-dis.c (v9a_asr_reg_names): Add 'cfr'. * sparc-opc.c (sparc_opcodes): Add rd/wr cases for %cfr. * sparc-opc.c (sparc_opcodes): Add 'wr X, %pause' and 'pause'. * sparc-dis.c (v9a_asr_reg_names): Add 'pause'. * sparc-opc.c (CBCOND): New define. (CBCOND_XCC): Likewise. (cbcond): New helper macro. (sparc_opcodes): Add compare-and-branch instructions. * sparc-dis.c (print_insn_sparc): Handle ')'. * sparc-opc.c (sparc_opcodes): Add crypto instructions. * sparc-opc.c (sparc_opcodes): Rework table to put HWCAP values into new struct sparc_opcode 'hwcaps' field instead of 'flags'. 2012-04-12 David S. Miller * sparc-dis.c (X_DISP10): Define. (print_insn_sparc): Handle '='. 2012-04-01 Mike Frysinger * bfin-dis.c (fmtconst): Replace decimal handling with a single sprintf call and the '*' field width. 2012-03-23 Maxim Kuvyrkov * mips-dis.c (mips_arch_choices): Add entry for Broadcom XLP. 2012-03-16 Alan Modra * ppc-dis.c (PPC_OPC_SEGS, PPC_OP_TO_SEG): Delete. (powerpc_opcd_indices): Bump array size. (disassemble_init_powerpc): Set powerpc_opcd_indices entries corresponding to unused opcodes to following entry. (lookup_powerpc): New function, extracted and optimised from.. (print_insn_powerpc): ..here. 2012-03-15 Alan Modra James Lemke * disassemble.c (disassemble_init_for_target): Handle ppc init. * ppc-dis.c (private): New var. (powerpc_init_dialect): Don't return calloc failure, instead use private. (PPC_OPCD_SEGS, PPC_OP_TO_SEG): Define. (powerpc_opcd_indices): New array. (disassemble_init_powerpc): New function. (print_insn_big_powerpc): Don't init dialect here. (print_insn_little_powerpc): Likewise. (print_insn_powerpc): Start search using powerpc_opcd_indices. 2012-03-10 Edmar Wienskoski * ppc-dis.c (ppc_opts): Add entries for "e5500" and "e6500". * ppc-opc.c (insert_ls, TMR, ESYNC, XSYNCLE_MASK): New. (PPCVEC2, PPCTMR, E6500): New short names. (powerpc_opcodes): Add vabsdub, vabsduh, vabsduw, dni, mvidsplt, mviwsplt, icblq., mftmr, mttmr, dcblq., miso, lvexbx, lvexhx, lvexwx, stvexbx, stvexhx, stvexwx, lvepx, lvepxl, stvepx, stvepxl, lvtrx, lvtrxl, lvtlx, lvtlxl, stvfrx, stvfrxl, stvflx, stvflxl, lvswx, lvswxl, stvswx, stvswxl, lvsm mnemonics. Accept LS, ESYNC optional operands on sync instruction for E6500 target. 2012-03-08 Andreas Krebbel * s390-opc.txt: Set instruction type of pku to SS_L2RDRD. 2012-02-27 Alan Modra * mt-dis.c: Regenerate. 2012-02-27 Alan Modra * v850-opc.c (extract_v8): Rearrange to make it obvious this is the inverse of corresponding insert function. (extract_d22, extract_u9, extract_r4): Likewise. (extract_d9): Correct sign extension. (extract_d16_15): Don't assume "long" is 32 bits, and don't rely on implementation defined behaviour for shift right of signed types. (extract_d16_16, extract_d17_16, extract_i9): Likewise. (extract_d23): Likewise, and correct mask. 2012-02-27 Alan Modra * crx-dis.c (print_arg): Mask constant to 32 bits. * crx-opc.c (cst4_map): Use int array. 2012-02-27 Alan Modra * arc-dis.c (BITS): Don't use shifts to mask off bits. (FIELDD): Sign extend with xor,sub. 2012-02-25 Walter Lee * tilegx-opc.c: Handle TILEGX_OPC_LD4S_TLS and TILEGX_OPC_LD_TLS. * tilepro-opc.c: Handle TILEPRO_OPC_LW_TLS and TILEPRO_OPC_LW_TLS_SN. 2012-02-21 H.J. Lu * i386-opc.h (HLEPrefixNone): New. (HLEPrefixLock): Likewise. (HLEPrefixAny): Likewise. (HLEPrefixRelease): Likewise. 2012-02-08 H.J. Lu * i386-dis.c (HLE_Fixup1): New. (HLE_Fixup2): Likewise. (HLE_Fixup3): Likewise. (Ebh1): Likewise. (Evh1): Likewise. (Ebh2): Likewise. (Evh2): Likewise. (Ebh3): Likewise. (Evh3): Likewise. (MOD_C6_REG_7): Likewise. (MOD_C7_REG_7): Likewise. (RM_C6_REG_7): Likewise. (RM_C7_REG_7): Likewise. (XACQUIRE_PREFIX): Likewise. (XRELEASE_PREFIX): Likewise. (dis386): Use Ebh1/Evh1 on add, adc, and, btc, btr, bts, cmpxchg, dec, inc, neg, not, or, sbb, sub, xor and xadd. Use Ebh2/Evh2 on xchg. Use Ebh3/Evh3 on mov. (reg_table): Use Ebh1/Evh1 on add, adc, and, dec, inc, neg, not, or, sbb, sub and xor. Use Ebh3/Evh3 on mov. Use MOD_C6_REG_7 and MOD_C7_REG_7. (mod_table): Add MOD_C6_REG_7 and MOD_C7_REG_7. (rm_table): Add RM_C6_REG_7 and RM_C7_REG_7. Add xend and xtest. (prefix_name): Handle XACQUIRE_PREFIX and XRELEASE_PREFIX. (CMPXCHG8B_Fixup): Handle HLE prefix on cmpxchg8b. * i386-gen.c (cpu_flag_init): Add CPU_HLE_FLAGS and CPU_RTM_FLAGS. (cpu_flags): Add CpuHLE and CpuRTM. (opcode_modifiers): Add HLEPrefixOk. * i386-opc.h (CpuHLE): New. (CpuRTM): Likewise. (HLEPrefixOk): Likewise. (i386_cpu_flags): Add cpuhle and cpurtm. (i386_opcode_modifier): Add hleprefixok. * i386-opc.tbl: Add HLEPrefixOk=3 to mov. Add HLEPrefixOk to add, adc, and, btc, btr, bts, cmpxchg, dec, inc, neg, not, or, sbb, sub, xor and xadd. Add HLEPrefixOk=2 to xchg with memory operand. Add xacquire, xrelease, xabort, xbegin, xend and xtest. * i386-init.h: Regenerated. * i386-tbl.h: Likewise. 2012-01-24 DJ Delorie * rl78-decode.opc (rl78_decode_opcode): Add NOT1. * rl78-decode.c: Regenerate. 2012-01-17 James Murray PR binutils/10173 * cr16-dis.c (print_arg): Test symtab_size not num_symbols. 2012-01-17 Andreas Schwab * m68k-opc.c (m68k_opcodes): Fix entries for pmove with BADx/BACx register and move them after pmove with PSR/PCSR register. 2012-01-13 H.J. Lu * i386-dis.c (mod_table): Add vmfunc. * i386-gen.c (cpu_flag_init): Add CPU_VMFUNC_FLAGS. (cpu_flags): CpuVMFUNC. * i386-opc.h (CpuVMFUNC): New. (i386_cpu_flags): Add cpuvmfunc. * i386-opc.tbl: Add vmfunc. * i386-init.h: Regenerated. * i386-tbl.h: Likewise. For older changes see ChangeLog-2011 Local Variables: mode: change-log left-margin: 8 fill-column: 74 version-control: never End: