2005-12-22 Laurent Menten * pj-opc.c (jsr, ret, getstatic, putstatic, getfield, putfield, invokevirtual, invokespecial, invokestatic, invokeinterface, goto_w, jsr_w, ldc_quick, ldc_w_quick, ldc2_w_quick, getfield_quick, putfield_quick, getfield2_quick, putfield2_quick, getstatic_quick, putstatic_quick, getstatic2_quick, putstatic2_quick, invokevirtual_quick, invokenonvirtual_quick, invokesuper_quick, invokestatic_quick, invokeinterface_quick, aastore_quick, new_quick, anewarray_quick, multianewarray_quick, checkcast_quick, instanceof_quick, invokevirtiual_quick_w, getfield_quick_w, putfield_quick_w, nonnull_quick, agetfield_quick, aputfield_quick, agetstatic_quick, aputstatic_quick, aldc_quick, aldc_w_quick, exit_sync_method): Fix opcodes. 2005-12-16 Nathan Sidwell Second part of ms1 to mt renaming. * Makefile.am (HFILES, CFILES, ALL_MACHINES): Adjust. (stamp-mt): Adjust rule. (mt-asm.lo, mt-desc.lo, mt-dis.lo, mt-ibld.lo, mt-opc.lo): Rename & adjust. * Makefile.in: Rebuilt. * configure: Rebuilt. * configure.in (bfd_mt_arch): Rename & adjust. * disassemble.c (ARCH_mt): Renamed. (disassembler): Adjust. * mt-asm.c: Renamed, rebuilt. * mt-desc.c: Renamed, rebuilt. * mt-desc.h: Renamed, rebuilt. * mt-dis.c: Renamed, rebuilt. * mt-ibld.c: Renamed, rebuilt. * mt-opc.c: Renamed, rebuilt. * mt-opc.h: Renamed, rebuilt. 2005-12-13 DJ Delorie * m32c-desc.c: Regenerate. * m32c-opc.c: Regenerate. * m32c-opc.h: Regenerate. 2005-12-12 Nathan Sidwell * Makefile.am (CLEANFILES, CGEN_CPUS, MT_DEPS): Replace ms1 with mt. * Makefile.in: Rebuilt. * configure.in: Replace ms1 files with mt files. * configure: Rebuilt. 2005-12-08 Jan Beulich * i386-dis.c (MAXLEN): Reduce to architectural limit. (fetch_data): Check for sufficient buffer size. 2005-12-08 Jan Beulich * i386-dis.c (OP_ST): Remove prefix in Intel mode. 2005-12-08 Daniel Jacobowitz * i386-dis.c (dofloat): Handle %rip-relative floating point addressing. 2005-12-07 Hans-Peter Nilsson * cris-opc.c (cris_opcodes) <"move" "s,P">: Define using MOVE_M_TO_PREG_OPCODE and MOVE_M_TO_PREG_ZBITS instead of constants. 2005-12-06 H.J. Lu PR gas/1874 * i386-dis.c (address_mode): New enum type. (address_mode): New variable. (mode_64bit): Removed. (ckprefix): Updated to check address_mode instead of mode_64bit. (prefix_name): Likewise. (print_insn): Likewise. (putop): Likewise. (print_operand_value): Likewise. (intel_operand_size): Likewise. (OP_E): Likewise. (OP_G): Likewise. (set_op): Likewise. (OP_REG): Likewise. (OP_I): Likewise. (OP_I64): Likewise. (OP_OFF): Likewise. (OP_OFF64): Likewise. (ptr_reg): Likewise. (OP_C): Likewise. (SVME_Fixup): Likewise. (print_insn): Set address_mode. (PNI_Fixup): Add 64bit and address size override support for monitor and mwait. 2005-12-06 Hans-Peter Nilsson * cris-dis.c (bytes_to_skip): Handle new parameter prefix_matchedp. (print_with_operands): Check for prefix when [PC+] is seen. 2005-12-02 Dave Brolley * configure.in (cgen_files): Add cgen-bitset.lo. (ta): Add cgen-bitset.lo when arch==bfd_cris_arch. * Makefile.am (CFILES): Add cgen-bitset.c. (ALL_MACHINES): Add cgen-bitset.lo. (cgen-bitset.lo): New target. * cgen-opc.c (cgen_bitset_create, cgen_bitset_init, cgen_bitset_clear) (cgen_bitset_add, cgen_bitset_set, cgen_bitset_contains) (cgen_bitset_compare, cgen_bitset_intersect_p, cgen_bitset_copy) (cgen_bitset_union): Moved from here ... * cgen-bitset.c: ... to here. New file. * Makefile.in: Regenerated. * configure: Regenerated. 2005-11-22 James E Wilson * ia64-gen.c (_opcode_int64_low, _opcode_int64_high, opcode_fprintf_vma): New. (print_main_table): New opcode_fprintf_vma instead of fprintf_vma. 2005-11-16 Alan Modra * ppc-opc.c (powerpc_opcodes): Add frin,friz,frip,frim. Correct frsqrtes. 2005-11-14 David Ung * mips16-opc.c: Add MIPS16e save/restore opcodes. * mips-dis.c (print_mips16_insn_arg): Handle printing of 'm'/'M' codes for save/restore. 2005-11-10 Andreas Schwab * m68k-dis.c (print_insn_m68k): Only match FPU insns with coprocessor ID 1. 2005-11-08 H.J. Lu * m32c-desc.c: Regenerated. 2005-11-08 Nathan Sidwell Add ms2. * ms1-asm.c, ms1-desc.c, ms1-desc.h, ms1-dis.c, ms1-ibld.c, ms1-opc.c, ms1-opc.h: Regenerated. 2005-11-07 Steve Ellcey * configure: Regenerate after modifying bfd/warning.m4. 2005-11-07 Alan Modra * i386-dis.c (ckprefix): Handle rex on fwait. Don't print ignored rex prefixes here. (print_insn): Instead, handle them similarly to fwait followed by non-fp insns. 2005-11-02 H.J. Lu * iq2000-desc.c: Regenerated. * iq2000-desc.h: Likewise. * iq2000-dis.c: Likewise. * iq2000-opc.c: Likewise. 2005-11-02 Paul Brook * arm-dis.c (print_insn_thumb32): Word align blx target address. 2005-10-31 Alan Modra * arm-dis.c (print_insn): Warning fix. 2005-10-30 H.J. Lu * Makefile.am: Run "make dep-am". * Makefile.in: Regenerated. * dep-in.sed: Replace " ./" with " ". 2005-10-28 Dave Brolley * All CGEN-generated sources: Regenerate. Contribute the following changes: 2005-09-19 Dave Brolley * disassemble.c (disassemble_init_for_target): Add 'break' to case for bfd_arch_tic4x. Use cgen_bitset_create and cgen_bitset_set for bfd_arch_m32c case. 2005-02-16 Dave Brolley * cgen-dis.in: Rename CGEN_ISA_MASK to CGEN_BITSET. Rename cgen_isa_mask_* to cgen_bitset_*. * cgen-opc.c: Likewise. 2003-11-28 Richard Sandiford * cgen-dis.in (print_insn_@arch@): Fix comparison with cached isas. * *-dis.c: Regenerate. 2003-06-05 DJ Delorie * cgen-dis.in (print_insn_@arch@): Copy prev_isas, don't assign it, as it may point to a reused buffer. Set prev_isas when we change cpus. 2002-12-13 Dave Brolley * cgen-opc.c (cgen_isa_mask_create): New support function for CGEN_ISA_MASK. (cgen_isa_mask_init): Ditto. (cgen_isa_mask_clear): Ditto. (cgen_isa_mask_add): Ditto. (cgen_isa_mask_set): Ditto. (cgen_isa_supported): Ditto. (cgen_isa_mask_compare): Ditto. (cgen_isa_mask_intersection): Ditto. (cgen_isa_mask_copy): Ditto. (cgen_isa_mask_combine): Ditto. * cgen-dis.in (libiberty.h): #include it. (isas): Renamed from 'isa' and now (CGEN_ISA_MASK *). (print_insn_@arch@): Use CGEN_ISA_MASK and support functions. * Makefile.am (CGENDEPS): Add utils-cgen.scm and attrs.scm. * Makefile.in: Regenerated. 2005-10-27 DJ Delorie * 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. 2005-10-26 DJ Delorie * 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. 2005-10-26 Paul Brook * arm-dis.c (arm_opcodes): Correct "sel" entry. 2005-10-26 Kazuhiro Inaoka * m32r-asm.c: Regenerate. 2005-10-25 DJ Delorie * 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. 2005-10-25 Arnold Metselaar * configure.in: Add target architecture bfd_arch_z80. * configure: Regenerated. * disassemble.c (disassembler): Add case bfd_arch_z80. * z80-dis.c: New file. 2005-10-25 Alan Modra * po/POTFILES.in: Regenerate. * po/opcodes.pot: Regenerate. 2005-10-24 Jan Beulich * ia64-asmtab.c: Regenerate. 2005-10-21 DJ Delorie * 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. 2005-10-21 Nick Clifton * bfin-dis.c: Tidy up code, removing redundant constructs. 2005-10-19 Martin Schwidefsky * s390-opc.txt: Add unnormalized hfp multiply and multiply-and-add instructions. 2005-10-18 Nick Clifton * m32r-asm.c: Regenerate after updating m32r.opc. 2005-10-18 Jie Zhang * bfin-dis.c (print_insn_bfin): Do proper endian transform when reading instruction from memory. 2005-10-18 Nick Clifton * m32r-asm.c: Regenerate after updating m32r.opc. 2005-10-14 Kazuhiro Inaoka * m32r-asm.c: Regenerate after updating m32r.opc. 2005-10-08 James Lemke * arm-dis.c (coprocessor_opcodes): Fix mask for various Maverick CDP operations. 2005-10-06 Daniel Jacobowitz * ppc-dis.c (struct dis_private): Remove. (powerpc_dialect): Avoid aliasing warnings. (print_insn_big_powerpc, print_insn_little_powerpc): Likewise. 2005-09-30 Nick Clifton * po/ga.po: New Irish translation. * configure.in (ALL_LINGUAS): Add "ga". * configure: Regenerate. 2005-09-30 H.J. Lu * Makefile.am: Run "make dep-am". * Makefile.in: Regenerated. * aclocal.m4: Likewise. * configure: Likewise. 2005-09-30 Catherine Moore * Makefile.am: Bfin support. * Makefile.in: Regenerated. * aclocal.m4: Regenerated. * bfin-dis.c: New file. * configure.in: Bfin support. * configure: Regenerated. * disassemble.c (ARCH_bfin): Define. (disassembler): Add case for bfd_arch_bfin. 2005-09-28 Jan Beulich * i386-dis.c (stack_v_mode): Renamed from branch_v_mode. (indirEv): Use it. (stackEv): New. (Ob64, Ov64): Rename to Ob, Ov. Delete unused original definitions. (dis386): Document and use new 'V' meta character. Use it for single-byte push/pop opcode forms. Use stackEv for mod-r/m push/pop opcode forms. Correct typo in 'pop ss'. Replace Ob64/Ov64 by Ob/Ov. (putop): 'q' suffix for 'T' and 'U' meta depends on DFLAG. Mark data prefix as used whenever DFLAG was examined. Handle 'V'. (intel_operand_size): Use stack_v_mode. (OP_E): Use stack_v_mode, but handle only the special case of 64-bit mode without operand size override here; fall through to v_mode case otherwise. (OP_REG): Special case rAX_reg ... rDI_reg only when 64-bit mode and no operand size override is present. (OP_J): Use get32s for obtaining the displacement also when rex64 is present. 2005-09-08 Paul Brook * arm-dis.c (arm_opcodes, thumb32_opcodes): Rename smi to smc. 2005-09-06 Chao-ying Fu * mips-opc.c (MT32): New define. (mips_builtin_opcodes): Move "bc0f", "bc0fl", "bc0t", "bc0tl" to the bottom to avoid opcode collision with "mftr" and "mttr". Add MT instructions. * mips-dis.c (mips_arch_choices): Enable INSN_MT for mips32r2. (print_insn_args): Add supports for +t, +T, !, $, *, &, g operand formats. 2005-09-02 Paul Brook * arm-dis.c (coprocessor_opcodes): Add null terminator. 2005-09-02 Paul Brook * arm-dis.c (coprocessor_opcodes): New. (arm_opcodes, thumb32_opcodes): Remove coprocessor insns. (print_insn_coprocessor): New function. (print_insn_arm): Use print_insn_coprocessor. Remove coprocessor format characters. (print_insn_thumb32): Use print_insn_coprocessor. 2005-08-30 Paul Brook * arm-dis.c (thumb_opcodes): Disassemble sub(3) as subs. 2005-08-26 Jan Beulich * i386-dis.c (intel_operand_size): New, broken out from OP_E for re-use. (OP_E): Call intel_operand_size, move call site out of mode dependent code. (OP_OFF): Call intel_operand_size if suffix_always. Remove ATTRIBUTE_UNUSED from parameters. (OP_OFF64): Likewise. (OP_ESreg): Call intel_operand_size. (OP_DSreg): Likewise. (OP_DIR): Use colon rather than semicolon as separator of far jump/call operands. 2005-08-25 Chao-ying Fu * mips-opc.c (WR_a, RD_a, MOD_a, DSP_VOLA, D32): New define. (mips_builtin_opcodes): Add DSP instructions. * mips-dis.c (mips_arch_choices): Enable INSN_DSP for mips32, mips32r2, mips64, mips64r2. (print_insn_args): Add supports for 3, 4, 5, 6, 7, 8, 9, 0, :, ', @ operand formats. 2005-08-23 David Ung * mips16-opc.c (mips16_opcodes): Add the MIPS16e jalrc/jrc instructions to the table. 2005-08-18 Alan Modra * a29k-dis.c: Delete. * Makefile.am: Remove a29k support. * configure.in: Likewise. * disassemble.c: Likewise. * Makefile.in: Regenerate. * configure: Regenerate. * po/POTFILES.in: Regenerate. 2005-08-15 Daniel Jacobowitz * ppc-dis.c (powerpc_dialect): Handle e300. (print_ppc_disassembler_options): Likewise. * ppc-opc.c (PPCE300): Define. (powerpc_opcodes): Mark icbt as available for the e300. 2005-08-13 John David Anglin * hppa-dis.c (print_insn_hppa): Don't print '%' before register names. Use "rp" instead of "%r2" in "b,l" insns. 2005-08-12 Martin Schwidefsky * s390-dis.c (print_insn_s390): Print unsigned operands with %u. * s390-mkopc.c (s390_opcode_cpu_val): Add support for cpu type z9-109. (main): Likewise. * s390-opc.c (I32_16, U32_16, M_16): Add defines 32 bit immediates and 4 bit optional masks. (INSTR_RIL_RI, INSTR_RIL_RU, INSTR_RRF_M0RR, INSTR_RSE_CCRD, INSTR_RSY_CCRD, INSTR_SSF_RRDRD): Add new instruction formats. (MASK_RIL_RI, MASK_RIL_RU, MASK_RRF_M0RR, MASK_RSE_CCRD, MASK_RSY_CCRD, MASK_SSF_RRDRD): Likewise. (s390_opformats): Likewise. * s390-opc.txt: Add new instructions for cpu type z9-109. 2005-08-05 John David Anglin * hppa-dis.c (print_insn_hppa): Prefix 21-bit values with "L%". 2005-07-29 Paul Brook * arm-dis.c: Fix disassebly of thumb2 writeback addressing modes. 2005-07-29 Paul Brook * arm-dis.c (thumb32_opc): Fix addressing mode for tbh. (print_insn_thumb32): Fix decoding of thumb2 'I' operands. 2005-07-25 DJ Delorie * m32c-asm.c Regenerate. * m32c-dis.c Regenerate. 2005-07-20 DJ Delorie * disassemble.c (disassemble_init_for_target): M32C ISAs are enums, so convert them to bit masks, which attributes are. 2005-07-18 Nick Clifton * configure.in: Restore alpha ordering to list of arches. * configure: Regenerate. * disassemble.c: Restore alpha ordering to list of arches. 2005-07-18 Nick Clifton * m32c-asm.c: Regenerate. * m32c-desc.c: Regenerate. * m32c-desc.h: Regenerate. * m32c-dis.c: Regenerate. * m32c-ibld.h: Regenerate. * m32c-opc.c: Regenerate. * m32c-opc.h: Regenerate. 2005-07-18 H.J. Lu * i386-dis.c (PNI_Fixup): Update comment. (VMX_Fixup): Properly handle the suffix check. 2005-07-16 John David Anglin * hppa-dis.c (print_insn_hppa): Add space after 'w' in wide-mode mfctl disassembly. 2005-07-16 Alan Modra * Makefile.am: Run "make dep-am". (stamp-m32c): Fix cpu dependencies. * Makefile.in: Regenerate. * ip2k-dis.c: Regenerate. 2007-07-15 H.J. Lu * i386-dis.c (OP_VMX): New. Handle Intel VMX Instructions. (VMX_Fixup): New. Fix up Intel VMX Instructions. (Em): New. (Gm): New. (VM): New. (dis386_twobyte): Updated entries 0x78 and 0x79. (twobyte_has_modrm): Likewise. (grps): Use OP_VMX in the "sgdtIQ" entry. Updated GRP9. (OP_G): Handle m_mode. 2005-07-14 Jim Blandy Add support for the Renesas M32C and M16C. * m32c-asm.c, m32c-desc.c, m32c-dis.c, m32c-ibld.c, m32c-opc.c: New. * m32c-desc.h, m32c-opc.h: New. * Makefile.am (HFILES): List m32c-desc.h and m32c-opc.h. (CFILES): List m32c-asm.c, m32c-desc.c, m32c-dis.c, m32c-ibld.c, m32c-opc.c. (ALL_MACHINES): List m32c-asm.lo, m32c-desc.lo, m32c-dis.lo, m32c-ibld.lo, m32c-opc.lo. (CLEANFILES): List stamp-m32c. (M32C_DEPS): List stamp-m32c, if CGEN_MAINT. (CGEN_CPUS): Add m32c. (m32c-asm.c, m32c-desc.c, m32c-dis.c, m32c-ibld.c, m32c-opc.c) (m32c-desc.h, m32c-opc.h): Depend on M32C_DEPS. (m32c_opc_h): New variable. (stamp-m32c, m32c-asm.lo, m32c-desc.lo, m32c-dis.lo, m32c-ibld.lo) (m32c-opc.lo): New rules. * Makefile.in: Regenerated. * configure.in: Add case for bfd_m32c_arch. * configure: Regenerated. * disassemble.c (ARCH_m32c): New. [ARCH_m32c]: #include "m32c-desc.h". (disassembler) [ARCH_m32c]: Add case for bfd_arch_m32c. (disassemble_init_for_target) [ARCH_m32c]: Same. * cgen-ops.h, cgen-types.h: New files. * Makefile.am (HFILES): List them. * Makefile.in: Regenerated. 2005-07-07 Kaveh R. Ghazi * arc-dis.c, arm-dis.c, cris-dis.c, crx-dis.c, d10v-dis.c, d30v-dis.c, fr30-dis.c, h8300-dis.c, h8500-dis.c, i860-dis.c, ia64-dis.c, ip2k-dis.c, m10200-dis.c, m10300-dis.c, m88k-dis.c, mcore-dis.c, mips-dis.c, ms1-dis.c, or32-dis.c, ppc-dis.c, sh64-dis.c, sparc-dis.c, tic4x-dis.c, tic80-dis.c, v850-dis.c: Fix format bugs. * ia64-gen.c (fail, warn): Add format attribute. * or32-opc.c (debug): Likewise. 2005-07-07 Khem Raj * arm-dis.c (opcode32 arm_opcodes): Fix ARM VFP fadds instruction disassembly pattern. 2005-07-06 Alan Modra * Makefile.am (stamp-m32r): Fix path to cpu files. (stamp-m32r, stamp-iq2000): Likewise. * Makefile.in: Regenerate. * m32r-asm.c: Regenerate. * po/POTFILES.in: Remove arm-opc.h. Add ms1-asm.c, ms1-desc.c, ms1-desc.h, ms1-dis.c, ms1-ibld.c, ms1-opc.c, ms1-opc.h. 2005-07-05 Nick Clifton * iq2000-asm.c: Regenerate. * ms1-asm.c: Regenerate. 2005-07-05 Jan Beulich * i386-dis.c (SVME_Fixup): New. (grps): Use it for the lidt entry. (PNI_Fixup): Call OP_M rather than OP_E. (INVLPG_Fixup): Likewise. 2005-07-04 H.J. Lu * tic30-dis.c (cnvt_tmsfloat_ieee): Use HUGE_VALF if defined. 2005-07-01 Nick Clifton * a29k-dis.c: Update to ISO C90 style function declarations and fix formatting. * alpha-opc.c: Likewise. * arc-dis.c: Likewise. * arc-opc.c: Likewise. * avr-dis.c: Likewise. * cgen-asm.in: Likewise. * cgen-dis.in: Likewise. * cgen-ibld.in: Likewise. * cgen-opc.c: Likewise. * cris-dis.c: Likewise. * d10v-dis.c: Likewise. * d30v-dis.c: Likewise. * d30v-opc.c: Likewise. * dis-buf.c: Likewise. * dlx-dis.c: Likewise. * h8300-dis.c: Likewise. * h8500-dis.c: Likewise. * hppa-dis.c: Likewise. * i370-dis.c: Likewise. * i370-opc.c: Likewise. * m10200-dis.c: Likewise. * m10300-dis.c: Likewise. * m68k-dis.c: Likewise. * m88k-dis.c: Likewise. * mips-dis.c: Likewise. * mmix-dis.c: Likewise. * msp430-dis.c: Likewise. * ns32k-dis.c: Likewise. * or32-dis.c: Likewise. * or32-opc.c: Likewise. * pdp11-dis.c: Likewise. * pj-dis.c: Likewise. * s390-dis.c: Likewise. * sh-dis.c: Likewise. * sh64-dis.c: Likewise. * sparc-dis.c: Likewise. * sparc-opc.c: Likewise. * sysdep.h: Likewise. * tic30-dis.c: Likewise. * tic4x-dis.c: Likewise. * tic80-dis.c: Likewise. * v850-dis.c: Likewise. * v850-opc.c: Likewise. * vax-dis.c: Likewise. * w65-dis.c: Likewise. * z8kgen.c: Likewise. * fr30-*: Regenerate. * frv-*: Regenerate. * ip2k-*: Regenerate. * iq2000-*: Regenerate. * m32r-*: Regenerate. * ms1-*: Regenerate. * openrisc-*: Regenerate. * xstormy16-*: Regenerate. 2005-06-23 Ben Elliston * m68k-dis.c: Use ISC C90. * m68k-opc.c: Formatting fixes. 2005-06-16 David Ung * mips16-opc.c (mips16_opcodes): Add the following MIPS16e instructions to the table; seb/seh/sew/zeb/zeh/zew. 2005-06-15 Dave Brolley Contribute Morpho ms1 on behalf of Red Hat * ms1-asm.c, ms1-desc.c, ms1-dis.c, ms1-ibld.c, ms1-opc.c, ms1-opc.h: New files, Morpho ms1 target. 2004-05-14 Stan Cox * disassemble.c (ARCH_ms1): Define. (disassembler): Handle bfd_arch_ms1 2004-05-13 Michael Snyder * Makefile.am, Makefile.in: Add ms1 target. * configure.in: Ditto. 2005-06-08 Zack Weinberg * arm-opc.h: Delete; fold contents into ... * arm-dis.c: ... here. Move includes of internal COFF headers next to includes of internal ELF headers. (streq, WORD_ADDRESS, BDISP, BDISP23): Delete, unused. (struct arm_opcode): Rename struct opcode32. Make 'assembler' const. (struct thumb_opcode): Rename struct opcode16. Make 'assembler' const. (arm_conditional, arm_fp_const, arm_shift, arm_regname, regnames) (iwmmxt_wwnames, iwmmxt_wwssnames): Make const. (regnames): Remove iWMMXt coprocessor register sets. (iwmmxt_regnames, iwmmxt_cregnames): New statics. (get_arm_regnames): Adjust fourth argument to match above changes. (set_iwmmxt_regnames): Delete. (print_insn_arm): Constify 'c'. Use ISO syntax for function pointer calls. Expand sole use of BDISP. Use iwmmxt_regnames and iwmmxt_cregnames, not set_iwmmxt_regnames. (print_insn_thumb16, print_insn_thumb32): Constify 'c'. Use ISO syntax for function pointer calls. 2005-06-07 Zack Weinberg * arm-dis.c: Split up the comments describing the format codes, so that the ARM and 16-bit Thumb opcode tables each have comments preceding them that describe all the codes, and only the codes, valid in those tables. (32-bit Thumb table is already like this.) Reorder the lists in all three comments to match the order in which the codes are implemented. Remove all forward declarations of static functions. Convert all function definitions to ISO C format. (print_insn_arm, print_insn_thumb16, print_insn_thumb32): Return nothing. (print_insn_thumb16): Remove unused case 'I'. (print_insn): Update for changed calling convention of subroutines. 2005-05-25 Jan Beulich * i386-dis.c (OP_E): In Intel mode, display 32-bit displacements in hex (but retain it being displayed as signed). Remove redundant checks. Add handling of displacements for 16-bit addressing in Intel mode. 2005-05-25 Jan Beulich * i386-dis.c (prefix_name): Remove pointless mode_64bit check. (OP_E): Remove redundant REX_EXTZ handling. Remove pointless masking of 'rm' in 16-bit memory address handling. 2005-05-19 Anton Blanchard * ppc-dis.c (powerpc_dialect): Handle "-Mpower5". (print_ppc_disassembler_options): Document it. * ppc-opc.c (SVC_LEV): Define. (LEV): Allow optional operand. (POWER5): Define. (powerpc_opcodes): Extend "sc". Adjust "svc" and "svcl". Add "hrfid", "popcntb", "fsqrtes", "fsqrtes.", "fre" and "fre.". 2005-05-19 Kelley Cook * Makefile.in: Regenerate. 2005-05-17 Zack Weinberg * arm-dis.c (thumb_opcodes): Add disassembly for V6T2 16-bit instructions. Adjust disassembly of some opcodes to match unified syntax. (thumb32_opcodes): New table. (print_insn_thumb): Rename print_insn_thumb16; don't handle two-halfword branches here. (print_insn_thumb32): New function. (print_insn): Choose among print_insn_arm, print_insn_thumb16, and print_insn_thumb32. Be consistent about order of halfwords when printing 32-bit instructions. 2005-05-07 H.J. Lu PR 843 * i386-dis.c (branch_v_mode): New. (indirEv): Use branch_v_mode instead of v_mode. (OP_E): Handle branch_v_mode. 2005-05-07 H.J. Lu * d10v-dis.c (dis_2_short): Support 64bit host. 2005-05-07 Nick Clifton * po/nl.po: Updated translation. 2005-05-07 Nick Clifton * Update the address and phone number of the FSF organization in the GPL notices in the following files: a29k-dis.c, aclocal.m4, alpha-dis.c, alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h, arc-opc.c, arm-dis.c, arm-opc.h, avr-dis.c, cgen-asm.c, cgen-asm.in, cgen-dis.c, cgen-dis.in, cgen-ibld.in, cgen-opc.c, cgen.sh, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c, d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, dis-buf.c, dis-init.c, disassemble.c, dlx-dis.c, fr30-asm.c, fr30-desc.c, fr30-desc.h, fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c, frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c, frv-opc.h, h8300-dis.c, h8500-dis.c, h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c, i860-dis.c, i960-dis.c, ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc-i.c, ia64-opc-m.c, ia64-opc-x.c, ia64-opc.c, ia64-opc.h, ip2k-asm.c, ip2k-desc.c, ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h, iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c, iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m10200-dis.c, m10200-opc.c, m10300-dis.c, m10300-opc.c, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c, m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, m68hc11-dis.c, m68hc11-opc.c, m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c, mcore-opc.h, mips-dis.c, mips-opc.c, mips16-opc.c, mmix-dis.c, mmix-opc.c, msp430-dis.c, ns32k-dis.c, openrisc-asm.c, openrisc-desc.c, openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c, openrisc-opc.h, opintl.h, or32-dis.c, or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c, ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c, sh-dis.c, sh-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h, sparc-dis.c, sparc-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c, tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c, vax-dis.c, w65-dis.c, w65-opc.h, xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h, xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c, xstormy16-opc.h, xtensa-dis.c, z8k-dis.c, z8kgen.c 2005-05-05 James E Wilson * ia64-opc.c: Include sysdep.h before libiberty.h. 2005-05-05 Nick Clifton * configure.in (ALL_LINGUAS): Add vi. * configure: Regenerate. * po/vi.po: New. 2005-04-26 Jerome Guitton * configure.in: Fix the check for basename declaration. * configure: Regenerate. 2005-04-19 Alan Modra * ppc-opc.c (RTO): Define. (powerpc_opcodes ): Combine PPC403 and BOOKE entries to suit PPC440. 2005-04-18 Mark Kettenis * i386-dis.c: Insert hyphens into selected VIA PadLock extensions. Add xcrypt-ctr. 2005-04-14 Nick Clifton * po/fi.po: New translation: Finnish. * configure.in (ALL_LINGUAS): Add fi. * configure: Regenerate. 2005-04-14 Alan Modra * Makefile.am (NO_WERROR): Define. * configure.in: Invoke AM_BINUTILS_WARNINGS. * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * configure: Regenerate. 2005-04-04 Nick Clifton * fr30-asm.c: Regenerate. * frv-asm.c: Regenerate. * iq2000-asm.c: Regenerate. * m32r-asm.c: Regenerate. * openrisc-asm.c: Regenerate. 2005-04-01 Jan Beulich * i386-dis.c (PNI_Fixup): Neither mwait nor monitor have any visible operands in Intel mode. The first operand of monitor is %rax in 64-bit mode. 2005-04-01 Jan Beulich * i386-dis.c (INVLPG_Fixup): Decode rdtscp; change code to allow for easier future additions. 2005-03-31 Jerome Guitton * configure.in: Check for basename. * configure: Regenerate. * config.in: Ditto. 2005-03-29 H.J. Lu * i386-dis.c (SEG_Fixup): New. (Sv): New. (dis386): Use "Sv" for 0x8c and 0x8e. 2005-03-21 Jan-Benedict Glaw Nick Clifton * vax-dis.c: (entry_addr): New varible: An array of user supplied function entry mask addresses. (entry_addr_occupied_slots): New variable: The number of occupied elements in entry_addr. (entry_addr_total_slots): New variable: The total number of elements in entry_addr. (parse_disassembler_options): New function. Fills in the entry_addr array. (free_entry_array): New function. Release the memory used by the entry addr array. Suppressed because there is no way to call it. (is_function_entry): Check if a given address is a function's start address by looking at supplied entry mask addresses and symbol information, if available. (print_insn_vax): Use parse_disassembler_options and is_function_entry. 2005-03-23 H.J. Lu * cris-dis.c (print_with_operands): Use ~31L for long instead of ~31. 2005-03-20 H.J. Lu * mmix-opc.c (O): Revert the last change. (Z): Likewise. 2005-03-19 H.J. Lu * mmix-opc.c (O): Use 24UL instead of 24 for unsigned long. (Z): Likewise. 2005-03-19 Hans-Peter Nilsson * mmix-opc.c (O, Z): Force expression as unsigned long. 2005-03-18 Nick Clifton * ip2k-asm.c: Regenerate. * op/opcodes.pot: Regenerate. 2005-03-16 Nick Clifton Ben Elliston * configure.in (werror): New switch: Add -Werror to the compiler command line. Enabled by default. Disable via --disable-werror. * configure: Regenerate. 2005-03-16 Alan Modra * ppc-dis.c (powerpc_dialect): Don't set PPC_OPCODE_ALTIVEC when BOOKE. 2005-03-15 Alan Modra * po/es.po: Commit new Spanish translation. * po/fr.po: Commit new French translation. 2005-03-14 Jan-Benedict Glaw * vax-dis.c: Fix spelling error (print_insn_vax): Use ".word 0x0012 # Entry mask: r1 r2 >" instead of just "Entry mask: < r1 ... >" 2005-03-12 Zack Weinberg * arm-dis.c (arm_opcodes): Document %E and %V. Add entries for v6T2 ARM instructions: bfc bfi mls strht ldrht ldrsht ldrsbt movw movt rbit ubfx sbfx. (print_insn_arm): Add support for %E and %V. (thumb_opcodes): Add ARMv6K instructions nop, sev, wfe, wfi, yield. 2005-03-10 Jeff Baker Alan Modra * ppc-opc.c (insert_sprg, extract_sprg): New Functions. (powerpc_operands ): Call the above. Bit field is 5 bits. (SPRG_MASK): Delete. (XSPRG_MASK): Mask off extra bits now part of sprg field. (powerpc_opcodes): Asjust mfsprg and mtsprg to suit new mask. Move mfsprg4..7 after msprg and consolidate. 2005-03-09 Jan-Benedict Glaw * vax-dis.c (entry_mask_bit): New array. (print_insn_vax): Decode function entry mask. 2005-03-07 Aldy Hernandez * ppc-opc.c (powerpc_opcodes): Fix encoding of efscfd. 2005-03-05 Alan Modra * po/opcodes.pot: Regenerate. 2005-03-03 Ramana Radhakrishnan * arc-dis.c (a4_decoding_class): New enum. (dsmOneArcInst): Use the enum values for the decoding class. Remove redundant case in the switch for decodingClass value 11. 2005-03-02 Jan Beulich * i386-dis.c (print_insn): Suppress lock prefix printing for cr8...15 accesses. (OP_C): Consider lock prefix in non-64-bit modes. 2005-02-24 Alan Modra * cris-dis.c (format_hex): Remove ineffective warning fix. * crx-dis.c (make_instruction): Warning fix. * frv-asm.c: Regenerate. 2005-02-23 Nick Clifton * cgen-dis.in: Use bfd_byte for buffers that are passed to read_memory. * ia64-opc.c (locate_opcode_ent): Initialise opval array. * crx-dis.c (make_instruction): Move argument structure into inner scope and ensure that all of its fields are initialised before they are used. * fr30-asm.c: Regenerate. * fr30-dis.c: Regenerate. * frv-asm.c: Regenerate. * frv-dis.c: Regenerate. * ip2k-asm.c: Regenerate. * ip2k-dis.c: Regenerate. * iq2000-asm.c: Regenerate. * iq2000-dis.c: Regenerate. * m32r-asm.c: Regenerate. * m32r-dis.c: Regenerate. * openrisc-asm.c: Regenerate. * openrisc-dis.c: Regenerate. * xstormy16-asm.c: Regenerate. * xstormy16-dis.c: Regenerate. 2005-02-22 Alan Modra * arc-ext.c: Warning fixes. * arc-ext.h: Likewise. * cgen-opc.c: Likewise. * ia64-gen.c: Likewise. * maxq-dis.c: Likewise. * ns32k-dis.c: Likewise. * w65-dis.c: Likewise. * ia64-asmtab.c: Regenerate. 2005-02-22 Alan Modra * fr30-desc.c: Regenerate. * fr30-desc.h: Regenerate. * fr30-opc.c: Regenerate. * fr30-opc.h: Regenerate. * frv-desc.c: Regenerate. * frv-desc.h: Regenerate. * frv-opc.c: Regenerate. * frv-opc.h: Regenerate. * ip2k-desc.c: Regenerate. * ip2k-desc.h: Regenerate. * ip2k-opc.c: Regenerate. * ip2k-opc.h: Regenerate. * iq2000-desc.c: Regenerate. * iq2000-desc.h: Regenerate. * iq2000-opc.c: Regenerate. * iq2000-opc.h: Regenerate. * m32r-desc.c: Regenerate. * m32r-desc.h: Regenerate. * m32r-opc.c: Regenerate. * m32r-opc.h: Regenerate. * m32r-opinst.c: Regenerate. * openrisc-desc.c: Regenerate. * openrisc-desc.h: Regenerate. * openrisc-opc.c: Regenerate. * openrisc-opc.h: Regenerate. * xstormy16-desc.c: Regenerate. * xstormy16-desc.h: Regenerate. * xstormy16-opc.c: Regenerate. * xstormy16-opc.h: Regenerate. 2005-02-21 Alan Modra * Makefile.am: Run "make dep-am" * Makefile.in: Regenerate. 2005-02-15 Nick Clifton * cgen-dis.in (print_address): Add an ATTRIBUTE_UNUSED to prevent compile time warnings. (print_keyword): Likewise. (default_print_insn): Likewise. * fr30-desc.c: Regenerated. * fr30-desc.h: Regenerated. * fr30-dis.c: Regenerated. * fr30-opc.c: Regenerated. * fr30-opc.h: Regenerated. * frv-desc.c: Regenerated. * frv-dis.c: Regenerated. * frv-opc.c: Regenerated. * ip2k-asm.c: Regenerated. * ip2k-desc.c: Regenerated. * ip2k-desc.h: Regenerated. * ip2k-dis.c: Regenerated. * ip2k-opc.c: Regenerated. * ip2k-opc.h: Regenerated. * iq2000-desc.c: Regenerated. * iq2000-dis.c: Regenerated. * iq2000-opc.c: Regenerated. * m32r-asm.c: Regenerated. * m32r-desc.c: Regenerated. * m32r-desc.h: Regenerated. * m32r-dis.c: Regenerated. * m32r-opc.c: Regenerated. * m32r-opc.h: Regenerated. * m32r-opinst.c: Regenerated. * openrisc-desc.c: Regenerated. * openrisc-desc.h: Regenerated. * openrisc-dis.c: Regenerated. * openrisc-opc.c: Regenerated. * openrisc-opc.h: Regenerated. * xstormy16-desc.c: Regenerated. * xstormy16-desc.h: Regenerated. * xstormy16-dis.c: Regenerated. * xstormy16-opc.c: Regenerated. * xstormy16-opc.h: Regenerated. 2005-02-14 H.J. Lu * dis-buf.c (perror_memory): Use sprintf_vma to print out address. 2005-02-11 Nick Clifton * iq2000-asm.c: Regenerate. * frv-dis.c: Regenerate. 2005-02-07 Jim Blandy * Makefile.am (CGEN): Load guile.scm before calling the main application script. * Makefile.in: Regenerated. * cgen.sh: Be prepared for the 'cgen' argument to contain spaces. Simply pass the cgen-opc.scm path to ${cgen} as its first argument; ${cgen} itself now contains the '-s', or whatever is appropriate for the Scheme being used. 2005-01-31 Andrew Cagney * configure: Regenerate to track ../gettext.m4. 2005-01-31 Jan Beulich * ia64-gen.c (NELEMS): Define. (shrink): Generate alias with missing second predicate register when opcode has two outputs and these are both predicates. * ia64-opc-i.c (FULL17): Define. (ia64_opcodes_i): Add mov-to-pr alias without second input. Use FULL17 here to generate output template. (TBITCM, TNATCM): Undefine after use. * ia64-opc-m.c (ia64_opcodes_i): Add alloc alias without ar.pfs as first input. Add ld16 aliases without ar.csd as second output. Add st16 aliases without ar.csd as second input. Add cmpxchg aliases without ar.ccv as third input. Add cmp8xchg16 aliases without ar.csd/ ar.ccv as third/fourth inputs. Consolidate through... (CMPXCHG_acq, CMPXCHG_rel, CMPXCHG_1, CMPXCHG_2, CMPXCHG_4, CMPXCHG_8, CMPXCHGn, CMP8XCHG16, CMPXCHG_ALL): Define. * ia64-asmtab.c: Regenerate. 2005-01-27 Andrew Cagney * configure: Regenerate to track ../gettext.m4 change. 2005-01-25 Alexandre Oliva 2004-11-10 Alexandre Oliva * frv-asm.c: Rebuilt. * frv-desc.c: Rebuilt. * frv-desc.h: Rebuilt. * frv-dis.c: Rebuilt. * frv-ibld.c: Rebuilt. * frv-opc.c: Rebuilt. * frv-opc.h: Rebuilt. 2005-01-24 Andrew Cagney * configure: Regenerate, ../gettext.m4 was updated. 2005-01-21 Fred Fish * mips-opc.c: Change INSN_ALIAS to INSN2_ALIAS. Change INSN_WRITE_MDMX_ACC to INSN2_WRITE_MDMX_ACC. Change INSN_READ_MDMX_ACC to INSN2_READ_MDMX_ACC. * mips-dis.c: Ditto. 2005-01-20 Alan Modra * ppc-opc.c (powerpc_opcodes): Add optional 'l' arg to tlbiel. 2005-01-19 Fred Fish * mips-dis.c (no_aliases): New disassembly option flag. (set_default_mips_dis_options): Init no_aliases to zero. (parse_mips_dis_option): Handle no-aliases option. (print_insn_mips): Ignore table entries that are aliases if no_aliases is set. (print_insn_mips16): Ditto. * mips-opc.c (mips_builtin_opcodes): Add initializer column for new pinfo2 member and add INSN_ALIAS initializers as needed. Also move WR_MACC and RD_MACC initializers from pinfo to pinfo2. * mips16-opc.c (mips16_opcodes): Ditto. 2005-01-17 Andrew Stubbs * sh-opc.h (arch_sh2a_or_sh3e,arch_sh2a_or_sh4): Correct definition. (inheritance diagram): Add missing edge. (arch_sh1_up): Rename arch_sh_up to match external name to make life easier for the testsuite. (arch_sh4_nofp_up): Likewise, rename arch_sh4_nofpu_up. (arch_sh4a_nofp_up): Likewise, rename arch_sh4a_nofpu_up. (arch_sh2a_nofpu_or_sh4_nommu_nofpu_up): Add missing arch_sh2a_or_sh4_up child. (sh_table): Do renaming as above. Correct comment for ldc.l for gas testsuite to read. Remove rogue mul.l from sh1 (duplicate of the one for sh2). Correct comments for movy.w and movy.l for gas testsuite to read. Correct comments for fmov.d and fmov.s for gas testsuite to read. 2005-01-12 H.J. Lu * i386-dis.c (OP_E): Don't ignore scale in SIB for 64 bit mode. 2005-01-12 H.J. Lu * i386-dis.c (OP_E): Ignore scale when index == 0x4 in SIB. 2005-01-10 Andreas Schwab * disassemble.c (disassemble_init_for_target) : Set skip_zeroes to 16. : Set skip_zeroes to 32. 2004-12-23 Tomer Levi * crx-opc.c: Mark 'bcop' instruction as RELAXABLE. 2004-12-14 Svein E. Seldal * avr-dis.c: Prettyprint. Added printing of symbol names in all memory references. Convert avr_operand() to C90 formatting. 2004-12-05 Tomer Levi * crx-dis.c (print_arg): Use 'info->print_address_func' for address printing. 2004-11-29 Tomer Levi * crx-opc.c (crx_optab): Mark all rbase_disps* operands as signed. (no_op_insn): Initialize array with instructions that have no operands. * crx-dis.c (make_instruction): Get rid of COP_BRANCH_INS operand swapping. 2004-11-29 Richard Earnshaw * arm-dis.c: Correct top-level comment. 2004-11-27 Richard Earnshaw * arm-opc.h (arm_opcode, thumb_opcode): Add extra field for the architecuture defining the insn. (arm_opcodes, thumb_opcodes): Delete. Move to ... * arm-dis.c (arm_opcodes, thumb_opcodes): Here. Add architecutre field. Also include opcode/arm.h. * Makefile.am (arm-dis.lo): Update dependency list. * Makefile.in: Regenerate. 2004-11-22 Ravi Ramaseshan * opcode/arc-opc.c (insert_base): Modify ls_operand[LS_OFFSET] to reflect the change to the short immediate syntax. 2004-11-19 Alan Modra * or32-opc.c (debug): Warning fix. * po/POTFILES.in: Regenerate. * maxq-dis.c: Formatting. (print_insn): Warning fix. 2004-11-17 Daniel Jacobowitz * arm-dis.c (WORD_ADDRESS): Define. (print_insn): Use it. Correct big-endian end-of-section handling. 2004-11-08 Inderpreet Singh Vineet Sharma * maxq-dis.c: New file. * disassemble.c (ARCH_maxq): Define. (disassembler): Add 'print_insn_maxq_little' for handling maxq instructions.. * configure.in: Add case for bfd_maxq_arch. * configure: Regenerate. * Makefile.am: Add support for maxq-dis.c * Makefile.in: Regenerate. * aclocal.m4: Regenerate. 2004-11-05 Tomer Levi * crx-opc.c (crx_optab): Rename 'arg_icr' to 'arg_idxr' for Index register mode. * crx-dis.c: Likewise. 2004-11-04 Hans-Peter Nilsson Generally, handle CRISv32. * cris-dis.c (TRACE_CASE): Define as (disdata->trace_case). (struct cris_disasm_data): New type. (format_reg, format_hex, cris_constraint, print_flags) (get_opcode_entry): Add struct cris_disasm_data * parameter. All callers changed. (format_sup_reg, print_insn_crisv32_with_register_prefix) (print_insn_crisv32_without_register_prefix) (print_insn_crisv10_v32_with_register_prefix) (print_insn_crisv10_v32_without_register_prefix) (cris_parse_disassembler_options): New functions. (bytes_to_skip, cris_spec_reg): Add enum cris_disass_family parameter. All callers changed. (get_opcode_entry): Call malloc, not xmalloc. Return NULL on failure. (cris_constraint) : New cases. (bytes_to_skip): Handle 'Y' and 'N' as 's'. Skip size is 4 bytes for constraint 'n'. (print_with_operands) : New case. (print_with_operands) : New cases. (print_insn_cris_generic): Emit "bcc ." for zero and CRISv32. (print_insn_cris_with_register_prefix) (print_insn_cris_without_register_prefix): Call cris_parse_disassembler_options. * cris-opc.c (cris_spec_regs): Mention that this table isn't used for CRISv32 and the size of immediate operands. New v32-only entries for bz, pid, srs, wz, exs, eda, dz, ebp, erp, nrp, ccs and spc. Add v32-only 4-byte entries for p2, p3, p5 and p6. Change ccr, ibr, irp to be v0..v10. Change bar, dccr to be v8..v10. Change brp to be v3..v10. (cris_support_regs): New vector. (cris_opcodes): Update head comment. New format characters '[', ']', space, 'A', 'd', 'N', 'n', 'Q', 'T', 'u', 'U', 'Y'. Add new opcodes for v32 and adjust existing opcodes to accommodate differences to earlier variants. (cris_cond15s): New vector. 2004-11-04 Jan Beulich * i386-dis.c (Eq, Edqw, indirEp, Gdq, I1): Define. (indirEb): Remove. (Mp): Use f_mode rather than none at all. (t_mode, dq_mode, dqw_mode, f_mode, const_1_mode): Define. t_mode replaces what previously was x_mode; x_mode now means 128-bit SSE operands. (dis386): Make far jumps and calls have an 'l' prefix only in AT&T mode. movmskpX's, pextrw's, and pmovmskb's first operands are Gdq. pinsrw's second operand is Edqw. (grps): 1-bit shifts' and rotates' second operands are I1. cmpxchg8b's operand is Eq. movntq's and movntdq's first operands are EM. s[gi]dt, fldenv, frstor, fsave, fstenv all should also have suffixes in Intel mode when an operand size override is present or always suffixing. More instructions will need to be added to this group. (putop): Handle new macro chars 'C' (short/long suffix selector), 'I' (Intel mode override for following macro char), and 'J' (for adding the 'l' prefix to far branches in AT&T mode). When an alternative was specified in the template, honor macro character when specified for Intel mode. (OP_E): Handle new *_mode values. Correct pointer specifications for memory operands. Consolidate output of index register. (OP_G): Handle new *_mode values. (OP_I): Handle const_1_mode. (OP_ESreg, OP_DSreg): Generate pointer specifications. Indicate respective opcode prefix bits have been consumed. (OP_EM, OP_EX): Provide some default handling for generating pointer specifications. 2004-10-28 Tomer Levi * crx-opc.c (REV_COP_INST): New macro, reverse operand order of COP_INST macro. 2004-10-27 Tomer Levi * crx-dis.c (enum REG_ARG_TYPE): New, replacing COP_ARG_TYPE. (getregliststring): Support HI/LO and user registers. * crx-opc.c (crx_instruction): Update data structure according to the rearrangement done in CRX opcode header file. (crx_regtab): Likewise. (crx_optab): Likewise. (crx_instruction): Reorder load/stor instructions, remove unsupported formats. support new Co-Processor instruction 'cpi'. 2004-10-27 Nick Clifton * opcodes/iq2000-asm.c: Regenerate. * opcodes/iq2000-desc.c: Regenerate. * opcodes/iq2000-desc.h: Regenerate. * opcodes/iq2000-dis.c: Regenerate. * opcodes/iq2000-ibld.c: Regenerate. * opcodes/iq2000-opc.c: Regenerate. * opcodes/iq2000-opc.h: Regenerate. 2004-10-21 Tomer Levi * crx-opc.c (crx_instruction): Replace i3, i4, i5 with us3, us4, us5 (respectively). Remove unsupported 'popa' instruction. Reverse operands order in store co-processor instructions. 2004-10-15 Alan Modra * Makefile.am: Run "make dep-am" * Makefile.in: Regenerate. 2004-10-12 Bob Wilson * xtensa-dis.c: Use ISO C90 formatting. 2004-10-09 Alan Modra * ppc-opc.c: Revert 2004-09-09 change. 2004-10-07 Bob Wilson * xtensa-dis.c (state_names): Delete. (fetch_data): Use xtensa_isa_maxlength. (print_xtensa_operand): Replace operand parameter with opcode/operand pair. Remove print_sr_name parameter. Use new xtensa-isa.h functions. (print_insn_xtensa): Use new xtensa-isa.h functions. Handle multislot instruction bundles. Use xmalloc instead of malloc. 2004-10-07 David Gibson * ppc-opc.c: Replace literal "0"s with NULLs in pointer initializers. 2004-10-07 Tomer Levi * crx-opc.c (crx_instruction): Support Co-processor insns. * crx-dis.c (COP_ARG_TYPE): New enum for CO-Processor arguments. (getregliststring): Change function to use the above enum. (print_arg): Handle CO-Processor insns. (crx_cinvs): Add 'b' option to invalidate the branch-target cache. 2004-10-06 Aldy Hernandez * ppc-opc.c (powerpc_opcodes): Add efscfd, efdabs, efdnabs, efdneg, efdadd, efdsub, efdmul, efddiv, efdcmpgt, efdcmplt, efdcmpeq, efdtstgt, efdtstlt, efdtsteq, efdcfsi, efdcfsid, efdcfui, efdcfuid, efdcfsf, efdcfuf, efdctsi, efdctsidz, efdctsiz, efdctui, efdctuidz, efdctuiz, efdctsf, efdctuf, efdctuf, efdcfs. 2004-10-01 Bill Farmer * pdp11-dis.c (print_insn_pdp11): Subtract the SOB's displacement rather than add it. 2004-09-30 Paul Brook * arm-dis.c (print_insn_arm): Handle 'e' for SMI instruction. * arm-opc.h: Document %e. Add ARMv6ZK instructions. 2004-09-17 H.J. Lu * Makefile.am (AUTOMAKE_OPTIONS): Require 1.9. (CONFIG_STATUS_DEPENDENCIES): New. (Makefile): Removed. (config.status): Likewise. * Makefile.in: Regenerated. 2004-09-17 Alan Modra * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * configure: Regenerate. * po/POTFILES.in: Regenerate. * po/opcodes.pot: Regenerate. 2004-09-11 Andreas Schwab * configure: Rebuild. 2004-09-09 Segher Boessenkool * ppc-opc.c (L): Make this field not optional. 2004-09-03 Tomer Levi * opc-crx.c: Rename 'popma' to 'popa', remove 'pushma'. Fix parameter to 'm[t|f]csr' insns. 2004-08-30 Nathanael Nerode * configure.in: Autoupdate to autoconf 2.59. * aclocal.m4: Rebuild with aclocal 1.4p6. * configure: Rebuild with autoconf 2.59. * Makefile.in: Rebuild with automake 1.4p6 (picking up bfd changes for autoconf 2.59 on the way). * config.in: Rebuild with autoheader 2.59. 2004-08-27 Richard Sandiford * frv-desc.[ch], frv-opc.[ch]: Regenerated. 2004-07-30 Michal Ludvig * i386-dis.c (GRPPADLCK): Renamed to GRPPADLCK1 (GRPPADLCK2): New define. (twobyte_has_modrm): True for 0xA6. (grps): GRPPADLCK2 for opcode 0xA6. 2004-07-29 Alexandre Oliva Introduce SH2a support. * sh-opc.h (arch_sh2a_base): Renumber. (arch_sh2a_nofpu_base): Remove. (arch_sh_base_mask): Adjust. (arch_opann_mask): New. (arch_sh2a, arch_sh2a_nofpu): Adjust. (arch_sh2a_up, arch_sh2a_nofpu_up): Likewise. (sh_table): Adjust whitespace. 2004-02-24 Corinna Vinschen * sh-opc.h (arch_sh2a_nofpu_up): New. Use instead of arch_sh2a_up in instruction list throughout. (arch_sh2a_up): Redefine to include fpu instruction set. Use instead of arch_sh2a in instruction list throughout. (arch_sh2e_up): Accomodate above changes. (arch_sh2_up): Ditto. 2004-02-20 Corinna Vinschen * sh-opc.h: Add arch_sh2a_nofpu to arch_sh2_up. 2004-02-18 Corinna Vinschen * sh-dis.c (print_insn_sh): Add bfd_mach_sh2a_nofpu handling. * sh-opc.h (arch_sh2a_nofpu): New. (arch_sh2a_up): New, defines sh2a and sh2a_nofpu. (sh_table): Change all arch_sh2a to arch_sh2a_up unless FPU instruction. 2004-01-20 DJ Delorie * sh-dis.c (print_insn_sh): SH2A does not have 'X' fp regs. 2003-12-29 DJ Delorie * sh-opc.c (sh_nibble_type, sh_arg_type, arch_2a, arch_2e_up, sh_opcode_info, sh_table): Add sh2a support. (arch_op32): New, to tag 32-bit opcodes. * sh-dis.c (print_insn_sh): Support sh2a opcodes. 2003-12-02 Michael Snyder * sh-opc.h (arch_sh2a): Add. * sh-dis.c (arch_sh2a): Handle. * sh-opc.h (arch_sh2_up): Fix up to include arch_sh2a. 2004-07-27 Tomer Levi * crx-opc.c: Add popx,pushx insns. Indent code, fix comments. 2004-07-22 Nick Clifton PR/280 * h8300-dis.c (bfd_h8_disassemble): Do not dump raw bytes for the insns - this is done by objdump itself. * h8500-dis.c (print_insn_h8500): Likewise. 2004-07-21 Jan Beulich * i386-dis.c (OP_E): Show rip-relative addressing in 64-bit mode regardless of address size prefix in effect. (ptr_reg): Size or address registers does not depend on rex64, but on the presence of an address size override. (OP_MMX): Use rex.x only for xmm registers. (OP_EM): Use rex.z only for xmm registers. 2004-07-20 Maciej W. Rozycki * mips-opc.c (mips_builtin_opcodes): Move coprocessor 2 move/branch operations to the bottom so that VR5400 multimedia instructions take precedence in disassembly. 2004-07-20 Maciej W. Rozycki * mips-opc.c (mips_builtin_opcodes): Remove the MIPS32 ISA-specific "break" encoding. 2004-07-13 Elvis Chiang * arm-opc.h: Fix typo in comment. 2004-07-11 Andreas Schwab * m68k-dis.c (m68k_valid_ea): Fix typos in last change. 2004-07-09 Andreas Schwab * m68k-dis.c (m68k_valid_ea): Check validity of all codes. 2004-07-07 Tomer Levi * Makefile.am (CFILES): Add crx-dis.c, crx-opc.c. (ALL_MACHINES): Add crx-dis.lo, crx-opc.lo. (crx-dis.lo): New target. (crx-opc.lo): Likewise. * Makefile.in: Regenerate. * configure.in: Handle bfd_crx_arch. * configure: Regenerate. * crx-dis.c: New file. * crx-opc.c: New file. * disassemble.c (ARCH_crx): Define. (disassembler): Handle ARCH_crx. 2004-06-29 James E Wilson * ia64-opc-a.c (ia64_opcodes_a): Delete mov immediate pseudo for adds. * ia64-asmtab.c: Regnerate. 2004-06-28 Alan Modra * ppc-opc.c (insert_fxm): Handle mfocrf and mtocrf. (extract_fxm): Don't test dialect. (XFXFXM_MASK): Include the power4 bit. (XFXM): Add p4 param. (powerpc_opcodes): Add mfocrf and mtocrf. Adjust mtcr. 2004-06-27 Alexandre Oliva 2003-07-21 Richard Sandiford * disassemble.c (disassembler): Handle bfd_mach_h8300sxn. 2004-06-26 Alan Modra * ppc-opc.c (BH, XLBH_MASK): Define. (powerpc_opcodes): Allow BH field on bclr, bclrl, bcctr, bcctrl. 2004-06-24 Alan Modra * i386-dis.c (x_mode): Comment. (two_source_ops): File scope. (float_mem): Correct fisttpll and fistpll. (float_mem_mode): New table. (dofloat): Use it. (OP_E): Correct intel mode PTR output. (ptr_reg): Use open_char and close_char. (PNI_Fixup): Handle possible suffix on sidt. Use op1out etc. for operands. Set two_source_ops. 2004-06-15 Alan Modra * arc-ext.c (build_ARC_extmap): Use bfd_get_section_size instead of _raw_size. 2004-06-08 Jakub Jelinek * ia64-gen.c (in_iclass): Handle more postinc st and ld variants. * ia64-asmtab.c: Rebuilt. 2004-06-01 Martin Schwidefsky * s390-opc.txt: Correct architecture mask for some opcodes. lrv, lrvh, strv, ml, dl, alc, slb rll and mvclu are available in the esa mode as well. 2004-05-28 Andrew Stubbs * sh-dis.c (target_arch): Make unsigned. (print_insn_sh): Replace (most of) switch with a call to sh_get_arch_from_bfd_mach(). Also use new architecture flags system. * sh-opc.h: Redefine architecture flags values. Add sh3-nommu architecture. Reorganise _up macros so they make more visual sense. (SH_MERGE_ARCH_SET): Define new macro. (SH_VALID_BASE_ARCH_SET): Likewise. (SH_VALID_MMU_ARCH_SET): Likewise. (SH_VALID_CO_ARCH_SET): Likewise. (SH_VALID_ARCH_SET): Likewise. (SH_MERGE_ARCH_SET_VALID): Likewise. (SH_ARCH_SET_HAS_FPU): Likewise. (SH_ARCH_SET_HAS_DSP): Likewise. (SH_ARCH_UNKNOWN_ARCH): Likewise. (sh_get_arch_from_bfd_mach): Add prototype. (sh_get_arch_up_from_bfd_mach): Likewise. (sh_get_bfd_mach_from_arch_set): Likewise. (sh_merge_bfd_arc): Likewise. 2004-05-24 Peter Barada * m68k-dis.c(print_insn_m68k): Strip body of diassembly out into new match_insn_m68k function. Loop over canidate matches and select first that completely matches. * m68k-dis.c(print_insn_arg): Fix 'g' case to only extract 1 bit. * m68k-dis.c(print_insn_arg): Call new function m68k_valid_ea to verify addressing for MAC/EMAC. * m68k-dis.c(print_insn_arg): Use reg_half_names for MAC/EMAC reigster halves since 'fpu' and 'spl' look misleading. * m68k-dis.c(fetch_arg): Fix 'G', 'H', 'I', 'f', 'M', 'N' cases. * m68k-opc.c: Rearragne mac/emac cases to use longest for first, tighten up match masks. * m68k-opc.c: Add 'size' field to struct m68k_opcode. Produce 'size' from special case code in print_insn_m68k to determine decode size of insns. 2004-05-19 Alan Modra * ppc-opc.c (insert_fxm): Enable two operand mfcr when -many as well as when -mpower4. 2004-05-13 Nick Clifton * po/fr.po: Updated French translation. 2004-05-05 Peter Barada * m68k-dis.c(print_insn_m68k): Add new chips, use core variants in arch_mask. Only set m68881/68851 for 68k chips. * m68k-op.c: Switch from ColdFire chips to core variants. 2004-05-05 Alan Modra PR 147. * ppc-opc.c (PPCVEC): Remove PPC_OPCODE_PPC. 2004-04-29 Ben Elliston * ppc-opc.c (XCMPL): Renmame to XOPL. Update users. (powerpc_opcodes): Add "dbczl" instruction for PPC970. 2004-04-22 Kaz Kojima * sh-dis.c (print_insn_sh): Print the value in constant pool as a symbol if it looks like a symbol. 2004-04-22 Peter Barada * m68k-dis.c(print_insn_m68k): Set mfcmac/mcfemac on appropriate ColdFire architectures. (print_insn_m68k): Handle EMAC, MAC/EMAC scalefactor, and MAC/EMAC mask addressing. Add EMAC instructions, fix MAC instructions. Remove macmw/macml/msacmw/msacml instructions since mask addressing now supported. 2004-04-20 Jakub Jelinek * sparc-opc.c (fmoviccx, fmovfccx, fmovccx): Define. (fmovicc, fmovfcc, fmovcc): Remove fpsize argument, change opcode to suffix. Use fmov*x macros, create all 3 fpsize variants in one macro. Adjust all users. 2004-04-15 Anil Paranjpe * h8300-dis.c (bfd_h8_disassemble) : Treat "adds" & "subs" separately. 2004-03-30 Kazuhiro Inaoka * m32r-asm.c: Regenerate. 2004-03-29 Stan Shebs * mpw-config.in, mpw-make.sed: Remove MPW support files, no longer used. 2004-03-19 Alan Modra * aclocal.m4: Regenerate. * config.in: Regenerate. * configure: Regenerate. * po/POTFILES.in: Regenerate. * po/opcodes.pot: Regenerate. 2004-03-16 Alan Modra * ppc-dis.c (print_insn_powerpc): Don't print tabs. Handle PPC_OPERANDS_GPR_0. * ppc-opc.c (RA0): Define. (RAQ, RAL, RAM, RAS, RSQ, RTQ, RSO): Use PPC_OPERAND_GPR_0. (RAOPT): Rename from RAO. Update all uses. (powerpc_opcodes): Use RA0 as appropriate. 2004-03-15 Aldy Hernandez * ppc-opc.c (powerpc_opcodes): Add BOOKE versions of mfsprg. 2004-03-15 Alan Modra * sparc-dis.c (print_insn_sparc): Update getword prototype. 2004-03-12 Michal Ludvig * i386-dis.c (GRPPLOCK): Delete. (grps): Delete GRPPLOCK entry. 2004-03-12 Alan Modra * i386-dis.c (OP_M, OP_0f0e, OP_0fae, NOP_Fixup): New functions. (M, Mp): Use OP_M. (None, PADLOCK_SPECIAL, PADLOCK_0): Delete. (GRPPADLCK): Define. (dis386): Use NOP_Fixup on "nop". (dis386_twobyte): Use GRPPADLCK on opcode 0xa7. (twobyte_has_modrm): Set for 0xa7. (padlock_table): Delete. Move to.. (grps): ..here, using OP_0f07. Use OP_Ofae on lfence, mfence and clflush. (print_insn): Revert PADLOCK_SPECIAL code. (OP_E): Delete sfence, lfence, mfence checks. 2004-03-12 Jakub Jelinek * i386-dis.c (grps): Use INVLPG_Fixup instead of OP_E for invlpg. (INVLPG_Fixup): New function. (PNI_Fixup): Remove ATTRIBUTE_UNUSED from sizeflag. 2004-03-12 Michal Ludvig * i386-dis.c (PADLOCK_SPECIAL, PADLOCK_0): New defines. (dis386_twobyte): Opcode 0xa7 is PADLOCK_0. (padlock_table): New struct with PadLock instructions. (print_insn): Handle PADLOCK_SPECIAL. 2004-03-12 Alan Modra * i386-dis.c (grps): Use clflush by default for 0x0fae/7. (OP_E): Twiddle clflush to sfence here. 2004-03-08 Nick Clifton * po/de.po: Updated German translation. 2003-03-03 Andrew Stubbs * sh-dis.c (print_insn_sh): Don't disassemble fp instructions in nofpu mode. Add BFD type bfd_mach_sh4_nommu_nofpu. * sh-opc.h: Add sh4_nommu_nofpu architecture and adjust instructions accordingly. 2004-03-01 Richard Sandiford * 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. 2004-03-01 Richard Sandiford * frv-desc.c, frv-opc.c: Regenerate. 2004-03-01 Richard Sandiford * frv-desc.c, frv-opc.c, frv-opc.h: Regenerate. 2004-02-26 Andrew Stubbs * sh-opc.h: Move fsca and fsrra instructions from sh4a to sh4. Also correct mistake in the comment. 2004-02-26 Andrew Stubbs * sh-dis.c (print_insn_sh): Add REG_N_D nibble type to ensure that double registers have even numbers. Add REG_N_B01 for nn01 (binary 01) nibble to ensure that reserved instruction 0xfffd does not decode the same as 0xfdfd (ftrv). * sh-opc.h: Add REG_N_D nibble type and use it whereever REG_N refers to a double register. Add REG_N_B01 nibble type and use it instead of REG_NM in ftrv. Adjust the bit patterns in a few comments. 2004-02-25 Aldy Hernandez * ppc-opc.c (powerpc_opcodes): Change mask for dcbt and dcbtst. 2004-02-20 Aldy Hernandez * ppc-opc.c (powerpc_opcodes): Move mfmcsrr0 before mfdc_dat. 2004-02-20 Aldy Hernandez * ppc-opc.c (powerpc_opcodes): Add m*ivor35. 2004-02-20 Aldy Hernandez * ppc-opc.c (powerpc_opcodes): Add mfivor32, mfivor33, mfivor34, mtivor32, mtivor33, mtivor34. 2004-02-19 Aldy Hernandez * ppc-opc.c (powerpc_opcodes): Add mfmcar. 2004-02-10 Petko Manolov * arm-opc.h Maverick accumulator register opcode fixes. 2004-02-13 Ben Elliston * m32r-dis.c: Regenerate. 2004-01-27 Michael Snyder * sh-opc.h (sh_table): "fsrra", not "fssra". 2004-01-23 Andrew Over * sparc-opc.c (fdtox, fstox, fqtox, fxtod, fxtos, fxtoq): Tighten contraints. 2004-01-19 Andrew Over * sparc-opc.c (sparc_opcodes) : Fix args. 2004-01-19 Alan Modra * i386-dis.c (OP_E): Print scale factor on intel mode sib when not 1. Don't print scale factor on AT&T mode when index missing. 2004-01-16 Alexandre Oliva * m10300-opc.c (mov): 8- and 24-bit immediates are zero-extended when loaded into XR registers. 2004-01-14 Richard Sandiford * frv-desc.h: Regenerate. * frv-desc.c: Regenerate. * frv-opc.c: Regenerate. 2004-01-13 Michael Snyder * sh-dis.c (print_insn_sh): Allocate 4 bytes for insn. 2004-01-09 Paul Brook * arm-opc.h (arm_opcodes): Move generic mcrr after known specific opcodes. 2004-01-07 Daniel Jacobowitz * Makefile.am (libopcodes_la_DEPENDENCIES) (libopcodes_la_LIBADD): Revert 2003-05-17 change. Add explanatory comment about the problem. * Makefile.in: Regenerate. 2004-01-06 Alexandre Oliva 2003-12-19 Alexandre Oliva * frv-asm.c (parse_ulo16, parse_uhi16, parse_d12): Fix some cut&paste errors in shifting/truncating numerical operands. 2003-08-04 Alexandre Oliva * frv-asm.c (parse_ulo16): Parse gotofflo and gotofffuncdesclo. (parse_uslo16): Likewise. (parse_uhi16): Parse gotoffhi and gotofffuncdeschi. (parse_d12): Parse gotoff12 and gotofffuncdesc12. (parse_s12): Likewise. 2003-08-04 Alexandre Oliva * frv-asm.c (parse_ulo16): Parse gotlo and gotfuncdesclo. (parse_uslo16): Likewise. (parse_uhi16): Parse gothi and gotfuncdeschi. (parse_d12): Parse got12 and gotfuncdesc12. (parse_s12): Likewise. 2004-01-02 Albert Bartoszko * msp430-dis.c (msp430_doubleoperand): Check for an 'add' instruction which looks similar to an 'rla' instruction. For older changes see ChangeLog-0203 Local Variables: mode: change-log left-margin: 8 fill-column: 74 version-control: never End: