X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=opcodes%2FChangeLog;h=9ca117e483ddc0a5e6f18fcb1bd159391e837db2;hb=92fddf8e3d3a4e5012c19063bd69b2f38eb2ecec;hp=64d7e1e7ce874b1755e755f73f0c702e7ed1b90f;hpb=b8deab3780678d3d2113fdc360462899a476be7d;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 64d7e1e7ce..9ca117e483 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,905 @@ +2007-10-22 H.J. Lu + + * i386-dis.c (prefix_table): Reordered by opcode. + (mod_table): Likewise. + +2007-10-19 H.J. Lu + + * i386-dis.c (prefix_table): Use XS on psrldq and pslldq. + +2007-10-17 Nathan Sidwell + + * m68k-opc.c (m68k_opcodes): Correct move sr and ccr masks for + coldfire. + +2007-10-15 Peter Bergner + + * ppc-opc.c (powerpc_opcodes): Fix the first two operands of + dquaiq. to use the TE and FRT macros. + +2007-10-15 Peter Bergner + + * ppc-opc.c (TE): Correct signedness. + (powerpc_opcodes): Sort psq_st and psq_stu according to major + opcode number. + +2007-10-15 H.J. Lu + + * i386-dis.c (dis386_twobyte): Reformat. + (prefix_table): Likewise. + (three_byte_table): Likewise. + +2007-10-15 Alan Modra + + * mcore-dis.c (print_insn_mcore): Protect "fprintf" var against + macro expansion. + +2007-10-12 H.J. Lu + + * i386-gen.c (opcode_modifiers): Add FirstXmm0. + + * i386-opc.h (FirstXmm0): New. + (IsPrefix): Updated. + (i386_opcode_modifier): Add firstxmm0. + + * i386-opc.tbl (blendvpd): Replace RegKludge with FirstXmm0. + (blendvps): Likewise. + (pblendvb): Likewise. + * i386-tbl.h: Regenerated. + +2007-10-12 H.J. Lu + + * i386-dis.c (prefix_table): Reformat pblendvb and blendvps. + +2007-10-10 H.J. Lu + + * i386-dis.c (v_mode): Defined as previous one + 1. + (w_mode): Likewise. + (d_mode): Likewise. + (q_mode): Likewise. + (t_mode): Likewise. + (x_mode): Likewise. + (m_mode): Likewise. + (cond_jump_mode): Likewise. + (loop_jcxz_mode): Likewise. + (dq_mode): Likewise. + (dqw_mode): Likewise. + (f_mode): Likewise. + (const_1_mode): Likewise. + (stack_v_mode): Likewise. + (z_mode): Likewise. + (o_mode): Likewise. + (dqb_mode): Likewise. + (dqd_mode): Likewise. + (es_reg): Likewise. + (cs_reg): Likewise. + (ss_reg): Likewise. + (ds_reg): Likewise. + (fs_reg): Likewise. + (gs_reg): Likewise. + (eAX_reg): Likewise. + (eCX_reg): Likewise. + (eDX_reg): Likewise. + (eBX_reg): Likewise. + (eSP_reg): Likewise. + (eBP_reg): Likewise. + (eSI_reg): Likewise. + (eDI_reg): Likewise. + (al_reg): Likewise. + (cl_reg): Likewise. + (dl_reg): Likewise. + (bl_reg): Likewise. + (ah_reg): Likewise. + (ch_reg): Likewise. + (dh_reg): Likewise. + (bh_reg): Likewise. + (ax_reg): Likewise. + (cx_reg): Likewise. + (dx_reg): Likewise. + (bx_reg): Likewise. + (sp_reg): Likewise. + (bp_reg): Likewise. + (si_reg): Likewise. + (di_reg): Likewise. + (rAX_reg): Likewise. + (rCX_reg): Likewise. + (rDX_reg): Likewise. + (rBX_reg): Likewise. + (rSP_reg): Likewise. + (rBP_reg): Likewise. + (rSI_reg): Likewise. + (rDI_reg): Likewise. + (z_mode_ax_reg): Likewise. + (indir_dx_reg): Likewise. + (DREX_OC1): Updated. + (DREX_NO_OC0): Likewise. + (DREX_MASK): Likewise. + (MAX_BYTEMODE): New. Issue an error if MAX_BYTEMODE is not + less than DREX_OC1. + +2007-10-08 H.J. Lu + + * i386-dis.c: Updated comments for 'Y'. + (putop): Don't add 'q' for 'Y' if suffix_always isn't true. + +2007-10-08 Maciej W. Rozycki + + * opcodes/mips-dis.c (mips_cp0_names_r3000): New definition. + (mips_cp0_names_r4000): Likewise. + (mips_arch_choices): Link to the above as appropriate. + +2007-10-08 Nick Clifton + + * configure.in (SHARED_DEPENDENCIES): Change non-cygwin dependency + to be ../bfd/libbfd.la. + * configure: Regenerate. + +2007-10-05 H.J. Lu + + * i386-dis.c (dis386_twobyte): Add getsec. + + * i386-gen.c (cpu_flags): Add CpuSMX. + + * i386-opc.h (CpuSMX): New. + (CpuSSSE3): Updated. + (i386_cpu_flags): Add cpusmx. + + * i386-opc.tbl: Add getsec. + * i386-init.h: Regenerated. + * i386-tbl.h: Likewise. + +2007-10-05 H.J. Lu + + * i386-dis.c (reg_table): Use "{ XX }" on "(bad)". + (prefix_table): Likewise. + +2007-10-04 H.J. Lu + + * i386-dis.c (dis386_twobyte): Use EXx instead of EXq on + unpckhpX and unpckhpX. + +2007-10-04 David Daney + + * mips-opc.c (mips_builtin_opcodes): Mark lwxc1 as working on FP_S + registers. + +2007-10-04 H.J. Lu + + * i386-dis.c (MOD_0F12_PREFIX_0): Use "movlps" and "movhlps" + instead of "movlpX" and "movhlpX", respectively. + (MOD_0F16_PREFIX_0): Use "movhps" and "movlhps" instead of + "movhpX" and "movlhpX", respectively. + +2007-10-04 Nick Clifton + + * configure.in (WIN32LDFLAGS): Rename to SHARED_LDFLAGS. + (WIN32LIBADD): Rename to SHARED_LIBADD + (SHARED_DEPENDENCIES): New exported variable. + (enable_shared): Add dependency upon libbfd.la for non-cygwin + based shared library builds. + * Makefile.am (libopcodes_la_DEPENDENCIES): Append + SHARED_DEPENDENCIES. + (libopcodes_la_LIBADD): Rename WIN32LIBADD to SHARED_LIBADD. + (libopcodes_la_LDFLAGS): Rename WIN32LDFLAGS to SHARED_LDFLAGS. + * configure: Regenerate. + * Makefile.in: Regenerate. + + PR gas/5100 + * arc-opc.c (insert_offset): Fix spelling mistake in error + message. + +2007-10-03 H.J. Lu + + * i386-dis.c (OP_REG): Set add to 0 only when needed. + (OP_C): Likewise. + (OP_D): Likewise. + (OP_MMX): Likewise. + (OP_XMM): Likewise. + (OP_EM): Likewise. + (OP_MXC): Likewise. + (OP_EX): Likewise. + +2007-10-03 H.J. Lu + + * i386-opc.tbl: Update SSE comments. + +2007-10-01 H.J. Lu + + * i386-dis.c (THREE_BYTE_0FBA): Renamed to ... + (THREE_BYTE_0F7B): This. + (dis386_twobyte): Updated. + (three_byte_table): Updated comments. + +2007-10-01 M R Swami Reddy + + * cr16-opc.c: Updated the branch on condition instructions with + RELAXABLE flag. + +2007-09-30 H.J. Lu + + * 386-dis.c (prefix_table): Reformat comment. + +2007-09-29 H.J. Lu + + * 386-dis.c (USE_GROUPS): Renamed to ... + (USE_REG_TABLE): This. + (USE_OPC_EXT_TABLE): Renamed to ... + (USE_MOD_TABLE): This. + (USE_OPC_EXT_RM_TABLE): Renamed to ... + (USE_RM_TABLE): This. + (USE_XXX_TABLE): Reordered. + (GRP): Renamed to ... + (REG_TABLE): This. + (OPC_EXT_TABLE): Renamed to ... + (MOD_TABLE): This. + (OPC_EXT_RM_TABLE): Renamed to ... + (RM_TABLE): This. + (GRP_XXX): Renamed to ... + (REG_XXX): This. + (PREGRP_XXX): Renamed to ... + (PREFIX_XXX): This. + (OPC_EXT_XXX): Renamed to ... + (MOD_XXX): This. + (OPC_EXT_RM_XXX): Renamed to ... + (RM_XXX): This. + (grps): Renamed to ... + (reg_table): This + (prefix_user_table): Renamed to ... + (prefix_table): This + (opc_ext_table): Renamed to ... + (mod_table): This + (opc_ext_rm_table): Renamed to ... + (rm_table): This + (OPC_EXT_RM_XXX): Likewise. + (dis386): Updated. + (dis386_twobyte): Likewise. + (reg_table): Likewise. + (prefix_table): Likewise. + (x86_64_table): Likewise. + (three_byte_table): Likewise. + (mod_table): Likewise. + (rm_table): Likewise. + (get_valid_dis386): Likewise. + +2007-09-28 H.J. Lu + + * 386-dis.c (USE_PREFIX_USER_TABLE): Renamed to ... + (USE_PREFIX_TABLE): This. + (X86_64_SPECIAL): Renamed to ... + (USE_X86_64_TABLE): This. + (IS_3BYTE_OPCODE): Renamed to ... + (USE_3BYTE_TABLE): This. + (GRPXXX): Removed. + (PREGRPXXX): Likewise. + (X86_64_XXX): Likewise. + (THREE_BYTE_XXX): Likewise. + (OPC_EXT_XXX): Likewise. + (OPC_EXT_RM_XXX): Likewise. + (DIS386): New. + (GRP): Likewise. + (PREGRP): Likewise. + (X86_64_TABLE): Likewise. + (THREE_BYTE_TABLE): Likewise. + (OPC_EXT_TABLE): Likewise. + (OPC_EXT_RM_TABLE): Likewise. + (GRP_XXX): Likewise. + (PREGRP_XXX): Likewise. + (X86_64_XXX): Likewise. + (THREE_BYTE_XXX): Likewise. + (OPC_EXT_XXX): Likewise. + (OPC_EXT_RM_XXX): Likewise. + (dis386): Updated. + (dis386_twobyte): Likewise. + (grps): Likewise. + (prefix_user_table): Likewise. + (x86_64_table): Likewise. + (three_byte_table): Likewise. + (opc_ext_table): Likewise. + (opc_ext_rm_table): Likewise. + (get_valid_dis386): Likewise. + +2007-09-27 H.J. Lu + + * i386-dis.c (dis386): Swap X86_64_27 with OPC_EXT_2. + (x86_64_table): Likewise. + (opc_ext_table): Likewise. + +2007-09-27 H.J. Lu + + PR binutils/5072 + * i386-dis.c: Update comments on '{', '}' and '|' to support + only AT&T and Intel modes. + (X86_64_4...X86_64_27): New. + (dis386): Updated. Use X86_64_4...X86_64_21. + (dis386_twobyte): Updated. + (float_mem): Likewise. + (x86_64_table): Add X86_64_4...X86_64_27. + (opc_ext_table): Updated. Use X86_64_22...X86_64_27. + (putop): Updated handling of '{', '}' and '|' to support only + AT&T and Intel modes. + +2007-09-27 Kazu Hirata + + * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb. + +2007-09-26 James E. Wilson + + * ia64-gen.c (print_dependency_table): Fix typo in last patch. + +2007-09-26 Nick Clifton + + * mt-asm.c (parse_imm16): Reword error message in order to allow + it to be translated properly. + * ia64-gen.c (print_dependency_table): Likewise. + * mips-dis.c (print_insn_args): Likewise. + +2007-09-26 Jan Beulich + + * i386-dis.c (OP_E_extended): Distinguish rip- and eip- + relative addressing. Update used_prefixes based on whether any + base or index register was printed. + +2007-09-26 Jan Beulich + + * i386-opc.h (RegEip): Define. + (RegEiz): Adjust. + * i386-reg.tbl: Add eip. Mark rip and eip with RegRex64. + * i386-tbl.h: Re-generate. + +2007-09-25 H.J. Lu + + * i386-gen.c (process_i386_opcodes): Process opcode_length. + + * i386-opc.h (template): Add opcode_length. + * 386-opc.tbl: Likewise. + * i386-tbl.h: Regenerated. + +2007-09-21 H.J. Lu + + * i386-opc.h: Adjust whitespaces. + +2007-09-21 Dave Brolley + + * mep-desc.c: Regenerated. + +2007-09-20 H.J. Lu + + * i386-dis.c (OP_E_extended): Display eiz for [eiz*1 + offset]. + +2007-09-20 H.J. Lu + + PR 658 + * 386-dis.c (index64): New. + (index32): Likewise. + (intel_index64): Likewise. + (intel_index32): Likewise. + (att_index64): Likewise. + (att_index32): Likewise. + (print_insn): Set index64 and index32. + (OP_E_extended): Use index64/index32 for index register for + SIB with INDEX == 4. + + * i386-opc.h (RegEiz): New. + (RegRiz): Likewise. + + * i386-reg.tbl: Add eiz and riz. + * i386-tbl.h: Regenerated. + +2007-09-19 H.J. Lu + + * i386-dis.c (OP_E_extended): Always display scale for memory. + +2007-09-17 H.J. Lu + + * i386-opc.h (RegRip): New. + + * i386-reg.tbl (rip): Use RegRip for reg_num. + * i386-tbl.h: Regenerated. + +2007-09-17 Nick Clifton + + * po/es.po: Updated Spanish translation. + +2007-09-14 H.J. Lu + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2007-09-14 Michael Meissner + Dwarakanath Rajagopal + Tony Linthicum + + * i386-opc.h (CpuSSE5): New macro. + (i386_cpu_flags): Add Drex, Drexv and Drexc. + + * i386-gen.c (cpu_flag_init): Add CPU_SSE5_FLAGS. + (operand_type_init): Add CpuSSE5. + (opcode_modifiers): Add Drex, Drexv and Drexc. + (i386_opcode_modifier): Ditto. + + * i386-opc.tbl (fmaddps,fmaddpd,fmaddss,fmaddsd): Define SSE5 + instructions here. + (fmsubps,fmsubpd,fmsubss,fmsubsd): Ditto. + (fnmaddps,fnmaddpd,fnmaddss,fnmaddsd): Ditto. + (fnmsubps,fnmsubpd,fnmsubss,fnmsubsd): Ditto. + (pmacssww,pmacsww,pmacsswd,pmacswd): Ditto. + (pmacssdd,pmacsdd,pmacssdql,pmacssdqh): Ditto. + (pmacsdql,pmacsdqh,pmadcsswd,pmadcswd): Ditto. + (phaddbw,phaddbd,phaddbq,phaddwd): Ditto. + (phaddwq,phadddq,phaddubw,phaddubd): Ditto. + (phaddubq,phadduwd,phadduwq,phaddudq): Ditto. + (phsubbw,phsubwd,phsubdq): Ditto. + (pcmov,pperm,permps,permpd): Ditto. + (protb,protw,protd,protq): Ditto. + (pshlb,pshlw,pshld,pshlq): Ditto. + (pshab,pshaw,pshad,pshaq): Ditto. + (comps,comeqps,comltps,comungeps,comleps,comungtps): Ditto. + (comunordps,comneps,comneqps,comnltps,comugeps): Ditto. + (comnleps,comugtps,comordps,comueqps,comultps): Ditto. + (comngeps,comuleps,comngtps,comfalseps,comuneps): Ditto. + (comuneqps,comunltps,comgeps,comunleps,comgtps,comtrueps): Ditto. + (compd,comeqpd,comltpd,comungepd,comlepd,comungtpd,comunordpd): Ditto. + (comnepd,comneqpd,comnltpd,comugepd,comnlepd,comugtpd): Ditto. + (comordpd,comueqpd,comultpd,comngepd,comulepd,comngtpd): Ditto. + (comfalsepd,comunepd,comuneqpd,comunltpd,comgepd): Ditto. + (comunlepd,comgtpd,comtruepd): Ditto. + (comss,comeqss,comltss,comungess,comless,comungtss,comunordss): Ditto. + (comness,comneqss,comnltss,comugess,comnless,comugtss): Ditto. + (comordss,comueqss,comultss,comngess,comuless,comngtss): Ditto. + (comfalsess,comuness,comuneqss,comunltss,comgess): Ditto. + (comunless,comgtss,comtruess): Ditto. + (comsd,comeqsd,comltsd,comungesd,comlesd,comungtsd,comunordsd): Ditto. + (comnesd,comneqsd,comnltsd,comugesd,comnlesd,comugtsd): Ditto. + (comordsd,comueqsd,comultsd,comngesd,comulesd,comngtsd): Ditto. + (comfalsesd,comunesd,comuneqsd,comunltsd,comgesd): Ditto. + (comunlesd,comgtsd,comtruesd): Ditto. + (pcomub,pcomltub,pcomleub,pcomgtub,pcomgeub,pcomequb): Ditto. + (pcomnequb,pcomneub): Ditto. + (pcomuw,pcomltuw,pcomleuw,pcomgtuw,pcomgeuw,pcomequw): Ditto. + (pcomnequw,pcomneuw): Ditto. + (pcomud,pcomltud,pcomleud,pcomgtud,pcomgeud,pcomequd): Ditto. + (pcomnequd,pcomneud): Ditto. + (pcomuq,pcomltuq,pcomleuq,pcomgtuq,pcomgeuq,pcomequq): Ditto. + (pcomnequq,pcomneuq): Ditto. + (pcomb,pcomltb,pcomleb,pcomgtb,pcomgeb,pcomeqb): Ditto. + (pcomneqb,pcomneb): Ditto. + (pcomw,pcomltw,pcomlew,pcomgtw,pcomgew,pcomeqw): Ditto. + (pcomneqw,pcomnew): Ditto. + (pcomd,pcomltd,pcomled,pcomgtd,pcomged,pcomeqd): Ditto. + (pcomneqd,pcomned): Ditto. + (pcomq,pcomltq,pcomleq,pcomgtq,pcomgeq): Ditto. + (pcomeqq,pcomneqq,pcomneq): Ditto. + (pcomtrueb, pcomtruew, pcomtrued, pcomtrueq): Ditto. + (pcomtrueub, pcomtrueuw, pcomtrueud, pcomtrueuq): Ditto. + (pcomfalseb, pcomfalsew, pcomfalsed, pcomfalseq): Ditto. + (pcomfalseub, pcomfalseuw, pcomfalseud, pcomfalseuq): Ditto. + (frczps,frczpd,frczss,frczsd): Ditto. + (cvtph2ps,cvtps2ph): Ditto. + + * i386-tbl.h: Regenerate from i386-opc.tbl. + * i386-init.h: Likewise. + + * i386-dis.c (libiberty.h): Include to get ARRAY_SIZE. + (dis386_move_test): New disassembly support for move from test + register instruction that overlaps with SSE5 instructions. + (print_insn): Add support for special casing the i386/i486 move + from test register instruction that overlaps with the SSE5 + 0x0f24 4 operand instructions. + (OP_DREX_ICMP): New macros for SSE5 DREX handling. + (OP_DREX_FCMP): Ditto. + (OP_E_extended): Rename from OP_E, add additional argument to skip + the DREX byte. + (OP_E): Call OP_E_extended. + (DREX_REG_MEMORY): New macros for drex handling. + (DREX_REG_UNKNOWN): Ditto. + (DREX4_OC1): Ditto. + (DREX4_NO_OC0): Ditto. + (DREX4_MASK): Ditto. + (three_byte_table): Add SSE5 instructions. + (print_drex_arg): New function to print a DREX register or memory + reference. + (OP_DREX4): New function for handling DREX 4 argument ops. + (OP_DREX3): New function for handling DREX 3 argument ops. + (twobyte_has_modrm): 0f{25,7a,7b} all use the modrm byte. + (THREE_BYTE_SSE5_0F{24,25,7A,7B}): New macros for initializing 3 + byte opcode support for SSE5 instructions. + (dis386_twobyte): Add SSE5 24/25/7a/7b support. + (three_byte_table): Add rows for describing SSE5 instructions. + +2007-09-13 H.J. Lu + + * i386-dis.c (get_valid_dis386): Take a pointer to + disassemble_info. Handle IS_3BYTE_OPCODE. + (print_insn): Updated. Don't handle IS_3BYTE_OPCODE here. + +2007-09-12 H.J. Lu + + * i386-opc.h (CpuUnused): Defined with CpuMax. + (OTUnused): Defined with OTMax. + +2007-09-12 Jan Beulich + + * i386-opc.tbl: Add two-operand forms of blendvps, blendvpd, and + pblendvb. + * i386-tbl.h: Regenerate. + +2007-09-09 H.J. Lu + + * i386-gen.c (main): Remove the local variable, unused. + +2007-09-08 H.J. Lu + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2007-09-08 H.J. Lu + + * configure.in (AC_CHECK_HEADERS): Add limits.h. + * configure: Regenerated. + * config.in: Likewise. + + * i386-gen.c: Include "sysdep.h" instead of and + . Use xstrerror instead of strerror. + (initializer): New. + (cpu_flag_init): Likewise. + (bitfield): Likewise. + (BITFIELD): New. + (cpu_flags): Likewise. + (opcode_modifiers): Likewise. + (operand_types): Likewise. + (compare): Likewise. + (set_cpu_flags): Likewise. + (output_cpu_flags): Likewise. + (process_i386_cpu_flags): Likewise. + (output_opcode_modifier): Likewise. + (process_i386_opcode_modifier): Likewise. + (output_operand_type): Likewise. + (process_i386_operand_type): Likewise. + (set_bitfield): Likewise. + (operand_type_init): Likewise. + (process_i386_initializers): Likewise. + (process_i386_opcodes): Call process_i386_opcode_modifier to + process opcode_modifier. Call process_i386_operand_type to + process operand_types. + (process_i386_registers): Call process_i386_operand_type to + process reg_type. + (main): Check unused bits in i386_cpu_flags and i386_operand_type. + Sort cpu_flags, opcode_modifiers and operand_types. Call + process_i386_initializers. + + * i386-init.h: New. + * i386-tbl.h: Regenerated. + + * i386-opc.h: Include . + (CHAR_BIT): Define as 8 if not defined. + (Cpu186): Changed to position of bitfiled. + (Cpu286): Likewise. + (Cpu386): Likewise. + (Cpu486): Likewise. + (Cpu586): Likewise. + (Cpu686): Likewise. + (CpuP4): Likewise. + (CpuK6): Likewise. + (CpuK8): Likewise. + (CpuMMX): Likewise. + (CpuMMX2): Likewise. + (CpuSSE): Likewise. + (CpuSSE2): Likewise. + (Cpu3dnow): Likewise. + (Cpu3dnowA): Likewise. + (CpuSSE3): Likewise. + (CpuPadLock): Likewise. + (CpuSVME): Likewise. + (CpuVMX): Likewise. + (CpuSSSE3): Likewise. + (CpuSSE4a): Likewise. + (CpuABM): Likewise. + (CpuSSE4_1): Likewise. + (CpuSSE4_2): Likewise. + (Cpu64): Likewise. + (CpuNo64): Likewise. + (D): Likewise. + (W): Likewise. + (Modrm): Likewise. + (ShortForm): Likewise. + (Jump): Likewise. + (JumpDword): Likewise. + (JumpByte): Likewise. + (JumpInterSegment): Likewise. + (FloatMF): Likewise. + (FloatR): Likewise. + (FloatD): Likewise. + (Size16): Likewise. + (Size32): Likewise. + (Size64): Likewise. + (IgnoreSize): Likewise. + (DefaultSize): Likewise. + (No_bSuf): Likewise. + (No_wSuf): Likewise. + (No_lSuf): Likewise. + (No_sSuf): Likewise. + (No_qSuf): Likewise. + (No_xSuf): Likewise. + (FWait): Likewise. + (IsString): Likewise. + (RegKludge): Likewise. + (IsPrefix): Likewise. + (ImmExt): Likewise. + (NoRex64): Likewise. + (Rex64): Likewise. + (Ugh): Likewise. + (Reg8): Likewise. + (Reg16): Likewise. + (Reg32): Likewise. + (Reg64): Likewise. + (FloatReg): Likewise. + (RegMMX): Likewise. + (RegXMM): Likewise. + (Imm8): Likewise. + (Imm8S): Likewise. + (Imm16): Likewise. + (Imm32): Likewise. + (Imm32S): Likewise. + (Imm64): Likewise. + (Imm1): Likewise. + (BaseIndex): Likewise. + (Disp8): Likewise. + (Disp16): Likewise. + (Disp32): Likewise. + (Disp32S): Likewise. + (Disp64): Likewise. + (InOutPortReg): Likewise. + (ShiftCount): Likewise. + (Control): Likewise. + (Debug): Likewise. + (Test): Likewise. + (SReg2): Likewise. + (SReg3): Likewise. + (Acc): Likewise. + (FloatAcc): Likewise. + (JumpAbsolute): Likewise. + (EsSeg): Likewise. + (RegMem): Likewise. + (OTMax): Likewise. + (Reg): Commented out. + (WordReg): Likewise. + (ImplicitRegister): Likewise. + (Imm): Likewise. + (EncImm): Likewise. + (Disp): Likewise. + (AnyMem): Likewise. + (LLongMem): Likewise. + (LongMem): Likewise. + (ShortMem): Likewise. + (WordMem): Likewise. + (ByteMem): Likewise. + (CpuMax): New + (CpuLM): Likewise. + (CpuNumOfUints): Likewise. + (CpuNumOfBits): Likewise. + (CpuUnused): Likewise. + (OTNumOfUints): Likewise. + (OTNumOfBits): Likewise. + (OTUnused): Likewise. + (i386_cpu_flags): New type. + (i386_operand_type): Likewise. + (i386_opcode_modifier): Likewise. + (CpuSledgehammer): Removed. + (CpuSSE4): Likewise. + (CpuUnknownFlags): Likewise. + (Reg): Likewise. + (WordReg): Likewise. + (ImplicitRegister): Likewise. + (Imm): Likewise. + (EncImm): Likewise. + (Disp): Likewise. + (AnyMem): Likewise. + (LLongMem): Likewise. + (LongMem): Likewise. + (ShortMem): Likewise. + (WordMem): Likewise. + (ByteMem): Likewise. + (template): Use i386_cpu_flags for cpu_flags, use + i386_opcode_modifier for opcode_modifier, use + i386_operand_type for operand_types. + (reg_entry): Use i386_operand_type for reg_type. + + * Makefile.am (HFILES): Add i386-init.h. + ($(srcdir)/i386-init.h): New rule. + ($(srcdir)/i386-tbl.h): Depend on $(srcdir)/i386-init.h + instead. + * Makefile.in: Regenerated. + +2007-09-06 H.J. Lu + + * i386-gen.c (next_field): Updated to take a separator. + (process_i386_opcodes): Updated. + (process_i386_registers): Likewise. + +2007-09-06 H.J. Lu + + * i386-gen.c (table): Moved ... + (main): Here. Call process_copyright to output copyright. + (process_copyright): New. + (process_i386_opcodes): Take FILE *table. + (process_i386_registers): Likewise. + +2007-09-06 H.J. Lu + + * i386-gen.c (table): New. + (process_i386_opcodes): Report errno when faied to open + i386-opc.tbl. Output opcodes to table. Close i386-opc.tbl + before return. + (process_i386_registers): Report errno when faied to open + i386-reg.tbl. Output opcodes to table. Close i386-reg.tbl + before return. + (main): Open i386-tbl.h for output. + + * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@". + * Makefile.in: Regenerated. + +2007-09-06 H.J. Lu + + * i386-opc.tbl: Correct SVME instructions to allow 32bit register + operand in 64bit mode. + * i386-tbl.h: Regenerated. + +2007-08-31 H.J. Lu + + * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New. + (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45. + (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45. + +2007-08-31 H.J. Lu + + * i386-dis.c (SVME_Fixup): Removed. + (OPC_EXT_39): New. + (OPC_EXT_RM_6): Likewise. + (grps): Use OPC_EXT_39. + (opc_ext_table): Add OPC_EXT_39. + (opc_ext_rm_table): Add OPC_EXT_RM_6. + + * i386-opc.tbl: Correct SVME instructions to take register + operand only. + * i386-tbl.h: Regenerated. + +2007-08-31 H.J. Lu + + * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE. + * Makefile.in: Regenerated. + + * configure.in (AC_GNU_SOURCE): Added. + (AC_PROG_CC): Moved before AC_GNU_SOURCE. + (AC_CHECK_DECLS): Add stpcpy. + * configure: Regenerated. + * config.in: Likewise. + + * i386-dis.c: Include "sysdep.h" before "dis-asm.h". + + * sysdep.h (stpcpy): New. + +2007-08-30 H.J. Lu + + * i386-dis.c (INVLPG_Fixup): Removed. + (OPC_EXT_38): New. + (OPC_EXT_RM_5): Likewise. + (grps): Use OPC_EXT_38. + (opc_ext_table): Add OPC_EXT_38. + (opc_ext_rm_table): Add OPC_EXT_RM_5. + +2007-08-29 H.J. Lu + + * i386-dis.c (SIMD_Fixup): Removed. + (OPC_EXT_34...OPC_EXT_37): New. + (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35. + (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37. + (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37. + +2007-08-29 H.J. Lu + + * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New. + (dis386): Use OPC_EXT_0...OPC_EXT_2. + (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5. + (grps): Updated to use OPC_EXT_6...OPC_EXT_31. + (prefix_user_table): Use OPC_EXT_32. + (x86_64_table): Use OPC_EXT_33. + (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33. + +2007-08-29 H.J. Lu + + * i386-dis.c (prefix_user_table): Fix comment. + +2007-08-29 H.J. Lu + + * i386-dis.c (OP_Skip_MODRM): New. + (OP_Monitor): Likewise. + (OP_Mwait): Likewise. + (Mb): Likewise. + (Skip_MODRM): Likewise. + (USE_OPC_EXT_TABLE): Likewise. + (USE_OPC_EXT_RM_TABLE): Likewise. + (PREGRP98...PREGRP100): Likewise. + (OPC_EXT_0...OPC_EXT_24): Likewise. + (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise. + (lock_prefix): Likewise. + (data_prefix): Likewise. + (addr_prefix): Likewise. + (repz_prefix): Likewise. + (repnz_prefix): Likewise. + (opc_ext_table): Likewise. + (opc_ext_rm_table): Likewise. + (get_valid_dis386): Likewise. + (OP_VMX): Removed. + (OP_0fae): Likewise. + (PNI_Fixup): Likewise. + (VMX_Fixup): Likewise. + (VM): Likewise. + (twobyte_uses_DATA_prefix): Likewise. + (twobyte_uses_REPNZ_prefix): Likewise. + (twobyte_uses_REPZ_prefix): Likewise. + (threebyte_0x38_uses_DATA_prefix): Likewise. + (threebyte_0x38_uses_REPNZ_prefix): Likewise. + (threebyte_0x38_uses_REPZ_prefix): Likewise. + (threebyte_0x3a_uses_DATA_prefix): Likewise. + (threebyte_0x3a_uses_REPNZ_prefix): Likewise. + (threebyte_0x3a_uses_REPZ_prefix): Likewise. + (grps): Use OPC_EXT_0...OPC_EXT_24. + (prefix_user_table): Add PREGRP98...PREGRP100. + (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix, + uses_REPNZ_prefix and uses_REPZ_prefix. Initialize + repz_prefix, repnz_prefix, lock_prefix, addr_prefix and + data_prefix based on prefixes. Call get_valid_dis386 to + get a pointer to the valid dis386. Print out prefixes if + they aren't NULL. + (OP_C): Clear lock_prefix if PREFIX_LOCK is used. + (REP_Fixup): Set repz_prefix to "rep " when seeing + PREFIX_REPZ. + +2007-08-28 Daniel Jacobowitz + + * po/nl.po: Updated translation. + +2007-08-28 H.J. Lu + + * i386-dis.c (Md): New. + (grps): Use 0 on invlpg. Use M on fxsave and fxrstor. Use + Md on ldmxcsr and stmxcsr. Use b_mode on clflush. + (OP_0fae): Clear bytemode for sfence. + +2007-08-22 Ben Elliston + + * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New. + (XOPS, XOPS_MASK, XW, XW_MASK): Likewise. + (PPCPS): Likewise. + (powerpc_opcodes): Add all pair singles instructions. + * ppc-dis.c (powerpc_dialect): Handle "ppcps". + (print_ppc_disassembler_options): Document -Mppcps. + +2007-08-21 Andreas Krebbel + + * s390-mkopc.c (struct s390_cond_ext_format): New global struct. + (s390_cond_ext_format): New global variable. + (expandConditionalJump): New function. + (main): Invoke expandConditionalJump for mnemonics containing '*'. + * s390-opc.txt: Replace mnemonics with conditional + mask extensions with instructions using the newly introduced '*' tag. + +2007-08-17 Alan Modra + + * po/Make-in: Add --msgid-bugs-address to xgettext invocation. + +2007-08-10 Nick Clifton + + * po/fi.po: Updated Finnish translation. + * po/ga.po: Updated Irish translation. + * po/vi.po: Updated Vietnamese translation. + +2007-08-09 H.J. Lu + + * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq, + pmovzxbw, pmovzxwd, pmovzxdq and roundsd. + * i386-tbl.h: Regenerated. + 2007-08-03 James E. Wilson * ia64-gen.c: (main): Add missing newline to copyright message.