1 2007-12-23 H.J. Lu <hongjiu.lu@intel.com>
3 * i386-gen.c (opcode_modifiers): Add OldGcc, ATTMnemonic and
6 * i386-opc.h (OldGcc): New.
7 (ATTMnemonic): Likewise.
8 (IntelMnemonic): Likewise.
9 (Opcode_Modifier_Max): Updated.
10 (i386_opcode_modifier): Add oldgcc, attmnemonic and
13 * i386-opc.tbl: Update fadd, fdiv, fdivp, fdivr, fdivrp, fmul,
14 fsub, fsubp, fsubr and fsubrp with OldGcc, ATTMnemonic and
16 * i386-tbl.h: Regeneratd.
18 2007-12-22 H.J. Lu <hongjiu.lu@intel.com>
20 * i386-dis.c (intel_mnemonic): New.
21 (print_i386_disassembler_options): Display att-mnemonic and
22 intel-mnemonic options.
23 (print_insn): Handle att-mnemonic and intel-mnemonic.
24 (float_reg): Replace SYSV386_COMPAT with "!M" and "M".
25 (putop): Handle "!M" and "M".
27 2007-12-21 H.J. Lu <hongjiu.lu@intel.com>
29 * Makefile.am (i386-gen.o): Also depend on
30 $(srcdir)/../include/opcode/i386.h.
31 * Makefile.in: Regenerated.
33 2007-11-29 Mark Shinwell <shinwell@codesourcery.com>
35 * mips-dis.c (mips_arch_choices): Add Loongson-2E and -2F
37 * mips-opc.c (IL2E): New.
39 (mips_builtin_opcodes): Add Loongson-2E and -2F instructions.
40 Allow movz and movn for Loongson-2E and -2F. Add movnz entry.
41 Move coprocessor encodings to the end of the table. Allow
42 certain MIPS V .ps instructions on the Loongson-2E and -2F.
44 2007-11-29 Mark Shinwell <shinwell@codesourcery.com>
46 * mips-opc.c (I3_32, I3_33, I4_32, I4_33, I5_33): New.
47 (mips_builtin_opcodes): Use these new I* values.
49 2007-11-27 Andreas Krebbel <krebbel1@de.ibm.com>
51 * s390-opc.txt ("tcet", "tcdt", "tcxt", "tget", "tgdt",
53 ("tdcet", "tdcdt", "tdcxt", "tdget", "tdgdt", "tdgxt"): Added.
55 2007-11-14 H.J. Lu <hongjiu.lu@intel.com>
57 * ia64-ic.tbl: Updated for Itanium 9100 series.
58 * ia64-raw.tbl: Likewise.
59 * ia64-waw.tbl: Likewise.
60 * ia64-asmtab.c: Regenerated.
62 2007-11-14 Tristan Gingold <gingold@adacore.com>
64 * ia64-dis.c (print_insn_ia64): Handle ar.ruc.
65 * ia64-gen.c (lookup_regindex): Likewise.
67 2007-11-07 Jens Arnold <jens@jens-arnold.net>
70 * m68k-opc.c (m68k_opcodes): Fix coldfire msac.w instructions with
73 2007-11-07 Tristan Gingold <gingold@adacore.com>
75 * ia64-dis.c (print_insn_ia64): Generate symbolic names for cr
76 registers instead of register number.
78 2007-11-07 David O'Brien <obrien@FreeBSD.org>
80 * arm-dis.c (arm_opcodes): Remove superflous escapes of percent
83 2007-11-06 Peter Bergner <bergner@vnet.ibm.com>
85 * ppc-opc.c (powerpc_opcodes): Remove the dcffix and dcffix. opcodes
86 which are not included in the "Preliminary Decimal Floating-Point
87 Architecture" document.
89 2007-11-01 H.J. Lu <hongjiu.lu@intel.com>
91 * i386-gen.c (opcode_modifiers): Replace No_xSuf with
93 * i386-opc.tbl: Likewise.
95 * i386-opc.h (No_xSuf): Renamed to ...
99 2007-11-01 H.J. Lu <hongjiu.lu@intel.com>
101 * i386-gen.c (opcode_modifiers): Add ByteOkIntel, ToDword,
102 ToQword and AddrPrefixOp0.
104 * i386-opc.h (ByteOkIntel): New.
107 (AddrPrefixOp0): Likewise.
109 (i386_opcode_modifier): Add byteokintel, todword, toqword
112 * i386-opc.tbl (cvtss2si): Add ToQword.
113 (cvttss2si): Likewise.
114 (cvtsd2si): Add ToDword.
115 (cvttsd2si): Likewise.
116 (monitor): Add AddrPrefixOp0.
121 (pextrb): Add ByteOkIntel.
123 * i386-tbl.h: Regenerated.
125 2007-10-31 H.J. Lu <hongjiu.lu@intel.com>
127 * i386-dis.c (USE_REG_TABLE): Defined as the previous one + 1.
128 (USE_REG_TABLE): Likewise.
129 (USE_MOD_TABLE): Likewise.
130 (USE_RM_TABLE): Likewise.
131 (USE_PREFIX_TABLE): Likewise.
132 (USE_X86_64_TABLE): Likewise.
133 (USE_3BYTE_TABLE): Likewise.
135 2007-10-26 H.J. Lu <hongjiu.lu@intel.com>
137 * i386-dis.c (MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3): New.
138 (MOD_0F51): Likewise.
139 (MOD_0FD7): Likewise.
140 (MOD_0FE7_PREFIX_2): Likewise.
141 (MOD_0F382A_PREFIX_2): Likewise.
142 (MOD_0F71_REG_2): Updated.
143 (MOD_0FF0_PREFIX_3): Likewise.
144 (MOD_62_32BIT): Likewise.
145 (dis386_twobyte): Use MOD_0F51 and MOD_0FD7.
146 (prefix_table): Use MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
147 MOD_0FE7_PREFIX_2 and MOD_0F382A_PREFIX_2.
148 (mod_table): Add MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
149 MOD_0F51, MOD_0FD7 and MOD_0F382A_PREFIX_2.
151 2007-10-26 Nick Clifton <nickc@redhat.com>
153 * arm-dis.c (print_insn): Check for a symtab that exists but is
156 2007-10-24 Alan Modra <amodra@bigpond.net.au>
158 * po/POTFILES.in: Regenerate.
160 2007-10-23 H.J. Lu <hongjiu.lu@intel.com>
162 * i386-dis.c (OP_SIMD_Suffix): Renamed to ...
163 (CMP_Fixup): This. Rewrite.
164 (OPSIMD): Renamed to ...
165 (CMP): This. Updated.
166 (prefix_table): Update PREFIX_0FC2 entry.
168 2007-10-22 H.J. Lu <hongjiu.lu@intel.com>
170 * i386-dis.c (prefix_table): Reordered by opcode.
171 (mod_table): Likewise.
173 2007-10-19 H.J. Lu <hongjiu.lu@intel.com>
175 * i386-dis.c (prefix_table): Use XS on psrldq and pslldq.
177 2007-10-17 Nathan Sidwell <nathan@codesourcery.com>
179 * m68k-opc.c (m68k_opcodes): Correct move sr and ccr masks for
182 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
184 * ppc-opc.c (powerpc_opcodes): Fix the first two operands of
185 dquaiq. to use the TE and FRT macros.
187 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
189 * ppc-opc.c (TE): Correct signedness.
190 (powerpc_opcodes): Sort psq_st and psq_stu according to major
193 2007-10-15 H.J. Lu <hongjiu.lu@intel.com>
195 * i386-dis.c (dis386_twobyte): Reformat.
196 (prefix_table): Likewise.
197 (three_byte_table): Likewise.
199 2007-10-15 Alan Modra <amodra@bigpond.net.au>
201 * mcore-dis.c (print_insn_mcore): Protect "fprintf" var against
204 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
206 * i386-gen.c (opcode_modifiers): Add FirstXmm0.
208 * i386-opc.h (FirstXmm0): New.
210 (i386_opcode_modifier): Add firstxmm0.
212 * i386-opc.tbl (blendvpd): Replace RegKludge with FirstXmm0.
213 (blendvps): Likewise.
214 (pblendvb): Likewise.
215 * i386-tbl.h: Regenerated.
217 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
219 * i386-dis.c (prefix_table): Reformat pblendvb and blendvps.
221 2007-10-10 H.J. Lu <hongjiu.lu@intel.com>
223 * i386-dis.c (v_mode): Defined as previous one + 1.
230 (cond_jump_mode): Likewise.
231 (loop_jcxz_mode): Likewise.
233 (dqw_mode): Likewise.
235 (const_1_mode): Likewise.
236 (stack_v_mode): Likewise.
239 (dqb_mode): Likewise.
240 (dqd_mode): Likewise.
279 (z_mode_ax_reg): Likewise.
280 (indir_dx_reg): Likewise.
282 (DREX_NO_OC0): Likewise.
283 (DREX_MASK): Likewise.
284 (MAX_BYTEMODE): New. Issue an error if MAX_BYTEMODE is not
287 2007-10-08 H.J. Lu <hongjiu.lu@intel.com>
289 * i386-dis.c: Updated comments for 'Y'.
290 (putop): Don't add 'q' for 'Y' if suffix_always isn't true.
292 2007-10-08 Maciej W. Rozycki <macro@linux-mips.org>
294 * opcodes/mips-dis.c (mips_cp0_names_r3000): New definition.
295 (mips_cp0_names_r4000): Likewise.
296 (mips_arch_choices): Link to the above as appropriate.
298 2007-10-08 Nick Clifton <nickc@redhat.com>
300 * configure.in (SHARED_DEPENDENCIES): Change non-cygwin dependency
301 to be ../bfd/libbfd.la.
302 * configure: Regenerate.
304 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
306 * i386-dis.c (dis386_twobyte): Add getsec.
308 * i386-gen.c (cpu_flags): Add CpuSMX.
310 * i386-opc.h (CpuSMX): New.
312 (i386_cpu_flags): Add cpusmx.
314 * i386-opc.tbl: Add getsec.
315 * i386-init.h: Regenerated.
316 * i386-tbl.h: Likewise.
318 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
320 * i386-dis.c (reg_table): Use "{ XX }" on "(bad)".
321 (prefix_table): Likewise.
323 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
325 * i386-dis.c (dis386_twobyte): Use EXx instead of EXq on
326 unpckhpX and unpckhpX.
328 2007-10-04 David Daney <ddaney@avtrex.com>
330 * mips-opc.c (mips_builtin_opcodes): Mark lwxc1 as working on FP_S
333 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
335 * i386-dis.c (MOD_0F12_PREFIX_0): Use "movlps" and "movhlps"
336 instead of "movlpX" and "movhlpX", respectively.
337 (MOD_0F16_PREFIX_0): Use "movhps" and "movlhps" instead of
338 "movhpX" and "movlhpX", respectively.
340 2007-10-04 Nick Clifton <nickc@redhat.com>
342 * configure.in (WIN32LDFLAGS): Rename to SHARED_LDFLAGS.
343 (WIN32LIBADD): Rename to SHARED_LIBADD
344 (SHARED_DEPENDENCIES): New exported variable.
345 (enable_shared): Add dependency upon libbfd.la for non-cygwin
346 based shared library builds.
347 * Makefile.am (libopcodes_la_DEPENDENCIES): Append
349 (libopcodes_la_LIBADD): Rename WIN32LIBADD to SHARED_LIBADD.
350 (libopcodes_la_LDFLAGS): Rename WIN32LDFLAGS to SHARED_LDFLAGS.
351 * configure: Regenerate.
352 * Makefile.in: Regenerate.
355 * arc-opc.c (insert_offset): Fix spelling mistake in error
358 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
360 * i386-dis.c (OP_REG): Set add to 0 only when needed.
369 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
371 * i386-opc.tbl: Update SSE comments.
373 2007-10-01 H.J. Lu <hongjiu.lu@intel.com>
375 * i386-dis.c (THREE_BYTE_0FBA): Renamed to ...
376 (THREE_BYTE_0F7B): This.
377 (dis386_twobyte): Updated.
378 (three_byte_table): Updated comments.
380 2007-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
382 * cr16-opc.c: Updated the branch on condition instructions with
385 2007-09-30 H.J. Lu <hongjiu.lu@intel.com>
387 * 386-dis.c (prefix_table): Reformat comment.
389 2007-09-29 H.J. Lu <hongjiu.lu@intel.com>
391 * 386-dis.c (USE_GROUPS): Renamed to ...
392 (USE_REG_TABLE): This.
393 (USE_OPC_EXT_TABLE): Renamed to ...
394 (USE_MOD_TABLE): This.
395 (USE_OPC_EXT_RM_TABLE): Renamed to ...
396 (USE_RM_TABLE): This.
397 (USE_XXX_TABLE): Reordered.
398 (GRP): Renamed to ...
400 (OPC_EXT_TABLE): Renamed to ...
402 (OPC_EXT_RM_TABLE): Renamed to ...
404 (GRP_XXX): Renamed to ...
406 (PREGRP_XXX): Renamed to ...
408 (OPC_EXT_XXX): Renamed to ...
410 (OPC_EXT_RM_XXX): Renamed to ...
412 (grps): Renamed to ...
414 (prefix_user_table): Renamed to ...
416 (opc_ext_table): Renamed to ...
418 (opc_ext_rm_table): Renamed to ...
420 (OPC_EXT_RM_XXX): Likewise.
422 (dis386_twobyte): Likewise.
423 (reg_table): Likewise.
424 (prefix_table): Likewise.
425 (x86_64_table): Likewise.
426 (three_byte_table): Likewise.
427 (mod_table): Likewise.
428 (rm_table): Likewise.
429 (get_valid_dis386): Likewise.
431 2007-09-28 H.J. Lu <hongjiu.lu@intel.com>
433 * 386-dis.c (USE_PREFIX_USER_TABLE): Renamed to ...
434 (USE_PREFIX_TABLE): This.
435 (X86_64_SPECIAL): Renamed to ...
436 (USE_X86_64_TABLE): This.
437 (IS_3BYTE_OPCODE): Renamed to ...
438 (USE_3BYTE_TABLE): This.
440 (PREGRPXXX): Likewise.
441 (X86_64_XXX): Likewise.
442 (THREE_BYTE_XXX): Likewise.
443 (OPC_EXT_XXX): Likewise.
444 (OPC_EXT_RM_XXX): Likewise.
448 (X86_64_TABLE): Likewise.
449 (THREE_BYTE_TABLE): Likewise.
450 (OPC_EXT_TABLE): Likewise.
451 (OPC_EXT_RM_TABLE): Likewise.
453 (PREGRP_XXX): Likewise.
454 (X86_64_XXX): Likewise.
455 (THREE_BYTE_XXX): Likewise.
456 (OPC_EXT_XXX): Likewise.
457 (OPC_EXT_RM_XXX): Likewise.
459 (dis386_twobyte): Likewise.
461 (prefix_user_table): Likewise.
462 (x86_64_table): Likewise.
463 (three_byte_table): Likewise.
464 (opc_ext_table): Likewise.
465 (opc_ext_rm_table): Likewise.
466 (get_valid_dis386): Likewise.
468 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
470 * i386-dis.c (dis386): Swap X86_64_27 with OPC_EXT_2.
471 (x86_64_table): Likewise.
472 (opc_ext_table): Likewise.
474 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
477 * i386-dis.c: Update comments on '{', '}' and '|' to support
478 only AT&T and Intel modes.
479 (X86_64_4...X86_64_27): New.
480 (dis386): Updated. Use X86_64_4...X86_64_21.
481 (dis386_twobyte): Updated.
482 (float_mem): Likewise.
483 (x86_64_table): Add X86_64_4...X86_64_27.
484 (opc_ext_table): Updated. Use X86_64_22...X86_64_27.
485 (putop): Updated handling of '{', '}' and '|' to support only
486 AT&T and Intel modes.
488 2007-09-27 Kazu Hirata <kazu@codesourcery.com>
490 * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb.
492 2007-09-26 James E. Wilson <wilson@specifix.com>
494 * ia64-gen.c (print_dependency_table): Fix typo in last patch.
496 2007-09-26 Nick Clifton <nickc@redhat.com>
498 * mt-asm.c (parse_imm16): Reword error message in order to allow
499 it to be translated properly.
500 * ia64-gen.c (print_dependency_table): Likewise.
501 * mips-dis.c (print_insn_args): Likewise.
503 2007-09-26 Jan Beulich <jbeulich@novell.com>
505 * i386-dis.c (OP_E_extended): Distinguish rip- and eip-
506 relative addressing. Update used_prefixes based on whether any
507 base or index register was printed.
509 2007-09-26 Jan Beulich <jbeulich@novell.com>
511 * i386-opc.h (RegEip): Define.
513 * i386-reg.tbl: Add eip. Mark rip and eip with RegRex64.
514 * i386-tbl.h: Re-generate.
516 2007-09-25 H.J. Lu <hongjiu.lu@intel.com>
518 * i386-gen.c (process_i386_opcodes): Process opcode_length.
520 * i386-opc.h (template): Add opcode_length.
521 * 386-opc.tbl: Likewise.
522 * i386-tbl.h: Regenerated.
524 2007-09-21 H.J. Lu <hongjiu.lu@intel.com>
526 * i386-opc.h: Adjust whitespaces.
528 2007-09-21 Dave Brolley <brolley@redhat.com>
530 * mep-desc.c: Regenerated.
532 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
534 * i386-dis.c (OP_E_extended): Display eiz for [eiz*1 + offset].
536 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
539 * 386-dis.c (index64): New.
541 (intel_index64): Likewise.
542 (intel_index32): Likewise.
543 (att_index64): Likewise.
544 (att_index32): Likewise.
545 (print_insn): Set index64 and index32.
546 (OP_E_extended): Use index64/index32 for index register for
549 * i386-opc.h (RegEiz): New.
552 * i386-reg.tbl: Add eiz and riz.
553 * i386-tbl.h: Regenerated.
555 2007-09-19 H.J. Lu <hongjiu.lu@intel.com>
557 * i386-dis.c (OP_E_extended): Always display scale for memory.
559 2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
561 * i386-opc.h (RegRip): New.
563 * i386-reg.tbl (rip): Use RegRip for reg_num.
564 * i386-tbl.h: Regenerated.
566 2007-09-17 Nick Clifton <nickc@redhat.com>
568 * po/es.po: Updated Spanish translation.
570 2007-09-14 H.J. Lu <hongjiu.lu@intel.com>
572 * Makefile.am: Run "make dep-am".
573 * Makefile.in: Regenerate.
575 2007-09-14 Michael Meissner <michael.meissner@amd.com>
576 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
577 Tony Linthicum <tony.linthicum@amd.com>
579 * i386-opc.h (CpuSSE5): New macro.
580 (i386_cpu_flags): Add Drex, Drexv and Drexc.
582 * i386-gen.c (cpu_flag_init): Add CPU_SSE5_FLAGS.
583 (operand_type_init): Add CpuSSE5.
584 (opcode_modifiers): Add Drex, Drexv and Drexc.
585 (i386_opcode_modifier): Ditto.
587 * i386-opc.tbl (fmaddps,fmaddpd,fmaddss,fmaddsd): Define SSE5
589 (fmsubps,fmsubpd,fmsubss,fmsubsd): Ditto.
590 (fnmaddps,fnmaddpd,fnmaddss,fnmaddsd): Ditto.
591 (fnmsubps,fnmsubpd,fnmsubss,fnmsubsd): Ditto.
592 (pmacssww,pmacsww,pmacsswd,pmacswd): Ditto.
593 (pmacssdd,pmacsdd,pmacssdql,pmacssdqh): Ditto.
594 (pmacsdql,pmacsdqh,pmadcsswd,pmadcswd): Ditto.
595 (phaddbw,phaddbd,phaddbq,phaddwd): Ditto.
596 (phaddwq,phadddq,phaddubw,phaddubd): Ditto.
597 (phaddubq,phadduwd,phadduwq,phaddudq): Ditto.
598 (phsubbw,phsubwd,phsubdq): Ditto.
599 (pcmov,pperm,permps,permpd): Ditto.
600 (protb,protw,protd,protq): Ditto.
601 (pshlb,pshlw,pshld,pshlq): Ditto.
602 (pshab,pshaw,pshad,pshaq): Ditto.
603 (comps,comeqps,comltps,comungeps,comleps,comungtps): Ditto.
604 (comunordps,comneps,comneqps,comnltps,comugeps): Ditto.
605 (comnleps,comugtps,comordps,comueqps,comultps): Ditto.
606 (comngeps,comuleps,comngtps,comfalseps,comuneps): Ditto.
607 (comuneqps,comunltps,comgeps,comunleps,comgtps,comtrueps): Ditto.
608 (compd,comeqpd,comltpd,comungepd,comlepd,comungtpd,comunordpd): Ditto.
609 (comnepd,comneqpd,comnltpd,comugepd,comnlepd,comugtpd): Ditto.
610 (comordpd,comueqpd,comultpd,comngepd,comulepd,comngtpd): Ditto.
611 (comfalsepd,comunepd,comuneqpd,comunltpd,comgepd): Ditto.
612 (comunlepd,comgtpd,comtruepd): Ditto.
613 (comss,comeqss,comltss,comungess,comless,comungtss,comunordss): Ditto.
614 (comness,comneqss,comnltss,comugess,comnless,comugtss): Ditto.
615 (comordss,comueqss,comultss,comngess,comuless,comngtss): Ditto.
616 (comfalsess,comuness,comuneqss,comunltss,comgess): Ditto.
617 (comunless,comgtss,comtruess): Ditto.
618 (comsd,comeqsd,comltsd,comungesd,comlesd,comungtsd,comunordsd): Ditto.
619 (comnesd,comneqsd,comnltsd,comugesd,comnlesd,comugtsd): Ditto.
620 (comordsd,comueqsd,comultsd,comngesd,comulesd,comngtsd): Ditto.
621 (comfalsesd,comunesd,comuneqsd,comunltsd,comgesd): Ditto.
622 (comunlesd,comgtsd,comtruesd): Ditto.
623 (pcomub,pcomltub,pcomleub,pcomgtub,pcomgeub,pcomequb): Ditto.
624 (pcomnequb,pcomneub): Ditto.
625 (pcomuw,pcomltuw,pcomleuw,pcomgtuw,pcomgeuw,pcomequw): Ditto.
626 (pcomnequw,pcomneuw): Ditto.
627 (pcomud,pcomltud,pcomleud,pcomgtud,pcomgeud,pcomequd): Ditto.
628 (pcomnequd,pcomneud): Ditto.
629 (pcomuq,pcomltuq,pcomleuq,pcomgtuq,pcomgeuq,pcomequq): Ditto.
630 (pcomnequq,pcomneuq): Ditto.
631 (pcomb,pcomltb,pcomleb,pcomgtb,pcomgeb,pcomeqb): Ditto.
632 (pcomneqb,pcomneb): Ditto.
633 (pcomw,pcomltw,pcomlew,pcomgtw,pcomgew,pcomeqw): Ditto.
634 (pcomneqw,pcomnew): Ditto.
635 (pcomd,pcomltd,pcomled,pcomgtd,pcomged,pcomeqd): Ditto.
636 (pcomneqd,pcomned): Ditto.
637 (pcomq,pcomltq,pcomleq,pcomgtq,pcomgeq): Ditto.
638 (pcomeqq,pcomneqq,pcomneq): Ditto.
639 (pcomtrueb, pcomtruew, pcomtrued, pcomtrueq): Ditto.
640 (pcomtrueub, pcomtrueuw, pcomtrueud, pcomtrueuq): Ditto.
641 (pcomfalseb, pcomfalsew, pcomfalsed, pcomfalseq): Ditto.
642 (pcomfalseub, pcomfalseuw, pcomfalseud, pcomfalseuq): Ditto.
643 (frczps,frczpd,frczss,frczsd): Ditto.
644 (cvtph2ps,cvtps2ph): Ditto.
646 * i386-tbl.h: Regenerate from i386-opc.tbl.
647 * i386-init.h: Likewise.
649 * i386-dis.c (libiberty.h): Include to get ARRAY_SIZE.
650 (dis386_move_test): New disassembly support for move from test
651 register instruction that overlaps with SSE5 instructions.
652 (print_insn): Add support for special casing the i386/i486 move
653 from test register instruction that overlaps with the SSE5
654 0x0f24 4 operand instructions.
655 (OP_DREX_ICMP): New macros for SSE5 DREX handling.
656 (OP_DREX_FCMP): Ditto.
657 (OP_E_extended): Rename from OP_E, add additional argument to skip
659 (OP_E): Call OP_E_extended.
660 (DREX_REG_MEMORY): New macros for drex handling.
661 (DREX_REG_UNKNOWN): Ditto.
663 (DREX4_NO_OC0): Ditto.
665 (three_byte_table): Add SSE5 instructions.
666 (print_drex_arg): New function to print a DREX register or memory
668 (OP_DREX4): New function for handling DREX 4 argument ops.
669 (OP_DREX3): New function for handling DREX 3 argument ops.
670 (twobyte_has_modrm): 0f{25,7a,7b} all use the modrm byte.
671 (THREE_BYTE_SSE5_0F{24,25,7A,7B}): New macros for initializing 3
672 byte opcode support for SSE5 instructions.
673 (dis386_twobyte): Add SSE5 24/25/7a/7b support.
674 (three_byte_table): Add rows for describing SSE5 instructions.
676 2007-09-13 H.J. Lu <hongjiu.lu@intel.com>
678 * i386-dis.c (get_valid_dis386): Take a pointer to
679 disassemble_info. Handle IS_3BYTE_OPCODE.
680 (print_insn): Updated. Don't handle IS_3BYTE_OPCODE here.
682 2007-09-12 H.J. Lu <hongjiu.lu@intel.com>
684 * i386-opc.h (CpuUnused): Defined with CpuMax.
685 (OTUnused): Defined with OTMax.
687 2007-09-12 Jan Beulich <jbeulich@novell.com>
689 * i386-opc.tbl: Add two-operand forms of blendvps, blendvpd, and
691 * i386-tbl.h: Regenerate.
693 2007-09-09 H.J. Lu <hongjiu.lu@intel.com>
695 * i386-gen.c (main): Remove the local variable, unused.
697 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
699 * Makefile.am: Run "make dep-am".
700 * Makefile.in: Regenerate.
702 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
704 * configure.in (AC_CHECK_HEADERS): Add limits.h.
705 * configure: Regenerated.
706 * config.in: Likewise.
708 * i386-gen.c: Include "sysdep.h" instead of <stdlib.h> and
709 <string.h>. Use xstrerror instead of strerror.
711 (cpu_flag_init): Likewise.
712 (bitfield): Likewise.
714 (cpu_flags): Likewise.
715 (opcode_modifiers): Likewise.
716 (operand_types): Likewise.
718 (set_cpu_flags): Likewise.
719 (output_cpu_flags): Likewise.
720 (process_i386_cpu_flags): Likewise.
721 (output_opcode_modifier): Likewise.
722 (process_i386_opcode_modifier): Likewise.
723 (output_operand_type): Likewise.
724 (process_i386_operand_type): Likewise.
725 (set_bitfield): Likewise.
726 (operand_type_init): Likewise.
727 (process_i386_initializers): Likewise.
728 (process_i386_opcodes): Call process_i386_opcode_modifier to
729 process opcode_modifier. Call process_i386_operand_type to
730 process operand_types.
731 (process_i386_registers): Call process_i386_operand_type to
733 (main): Check unused bits in i386_cpu_flags and i386_operand_type.
734 Sort cpu_flags, opcode_modifiers and operand_types. Call
735 process_i386_initializers.
738 * i386-tbl.h: Regenerated.
740 * i386-opc.h: Include <limits.h>.
741 (CHAR_BIT): Define as 8 if not defined.
742 (Cpu186): Changed to position of bitfiled.
755 (Cpu3dnow): Likewise.
756 (Cpu3dnowA): Likewise.
758 (CpuPadLock): Likewise.
761 (CpuSSSE3): Likewise.
762 (CpuSSE4a): Likewise.
764 (CpuSSE4_1): Likewise.
765 (CpuSSE4_2): Likewise.
771 (ShortForm): Likewise.
773 (JumpDword): Likewise.
774 (JumpByte): Likewise.
775 (JumpInterSegment): Likewise.
782 (IgnoreSize): Likewise.
783 (DefaultSize): Likewise.
791 (IsString): Likewise.
792 (RegKludge): Likewise.
793 (IsPrefix): Likewise.
802 (FloatReg): Likewise.
812 (BaseIndex): Likewise.
818 (InOutPortReg): Likewise.
819 (ShiftCount): Likewise.
826 (FloatAcc): Likewise.
827 (JumpAbsolute): Likewise.
831 (Reg): Commented out.
833 (ImplicitRegister): Likewise.
838 (LLongMem): Likewise.
840 (ShortMem): Likewise.
845 (CpuNumOfUints): Likewise.
846 (CpuNumOfBits): Likewise.
847 (CpuUnused): Likewise.
848 (OTNumOfUints): Likewise.
849 (OTNumOfBits): Likewise.
850 (OTUnused): Likewise.
851 (i386_cpu_flags): New type.
852 (i386_operand_type): Likewise.
853 (i386_opcode_modifier): Likewise.
854 (CpuSledgehammer): Removed.
856 (CpuUnknownFlags): Likewise.
859 (ImplicitRegister): Likewise.
864 (LLongMem): Likewise.
866 (ShortMem): Likewise.
869 (template): Use i386_cpu_flags for cpu_flags, use
870 i386_opcode_modifier for opcode_modifier, use
871 i386_operand_type for operand_types.
872 (reg_entry): Use i386_operand_type for reg_type.
874 * Makefile.am (HFILES): Add i386-init.h.
875 ($(srcdir)/i386-init.h): New rule.
876 ($(srcdir)/i386-tbl.h): Depend on $(srcdir)/i386-init.h
878 * Makefile.in: Regenerated.
880 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
882 * i386-gen.c (next_field): Updated to take a separator.
883 (process_i386_opcodes): Updated.
884 (process_i386_registers): Likewise.
886 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
888 * i386-gen.c (table): Moved ...
889 (main): Here. Call process_copyright to output copyright.
890 (process_copyright): New.
891 (process_i386_opcodes): Take FILE *table.
892 (process_i386_registers): Likewise.
894 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
896 * i386-gen.c (table): New.
897 (process_i386_opcodes): Report errno when faied to open
898 i386-opc.tbl. Output opcodes to table. Close i386-opc.tbl
900 (process_i386_registers): Report errno when faied to open
901 i386-reg.tbl. Output opcodes to table. Close i386-reg.tbl
903 (main): Open i386-tbl.h for output.
905 * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@".
906 * Makefile.in: Regenerated.
908 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
910 * i386-opc.tbl: Correct SVME instructions to allow 32bit register
911 operand in 64bit mode.
912 * i386-tbl.h: Regenerated.
914 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
916 * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
917 (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
918 (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
920 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
922 * i386-dis.c (SVME_Fixup): Removed.
924 (OPC_EXT_RM_6): Likewise.
925 (grps): Use OPC_EXT_39.
926 (opc_ext_table): Add OPC_EXT_39.
927 (opc_ext_rm_table): Add OPC_EXT_RM_6.
929 * i386-opc.tbl: Correct SVME instructions to take register
931 * i386-tbl.h: Regenerated.
933 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
935 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
936 * Makefile.in: Regenerated.
938 * configure.in (AC_GNU_SOURCE): Added.
939 (AC_PROG_CC): Moved before AC_GNU_SOURCE.
940 (AC_CHECK_DECLS): Add stpcpy.
941 * configure: Regenerated.
942 * config.in: Likewise.
944 * i386-dis.c: Include "sysdep.h" before "dis-asm.h".
946 * sysdep.h (stpcpy): New.
948 2007-08-30 H.J. Lu <hongjiu.lu@intel.com>
950 * i386-dis.c (INVLPG_Fixup): Removed.
952 (OPC_EXT_RM_5): Likewise.
953 (grps): Use OPC_EXT_38.
954 (opc_ext_table): Add OPC_EXT_38.
955 (opc_ext_rm_table): Add OPC_EXT_RM_5.
957 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
959 * i386-dis.c (SIMD_Fixup): Removed.
960 (OPC_EXT_34...OPC_EXT_37): New.
961 (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
962 (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
963 (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
965 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
967 * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
968 (dis386): Use OPC_EXT_0...OPC_EXT_2.
969 (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
970 (grps): Updated to use OPC_EXT_6...OPC_EXT_31.
971 (prefix_user_table): Use OPC_EXT_32.
972 (x86_64_table): Use OPC_EXT_33.
973 (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
975 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
977 * i386-dis.c (prefix_user_table): Fix comment.
979 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
981 * i386-dis.c (OP_Skip_MODRM): New.
982 (OP_Monitor): Likewise.
983 (OP_Mwait): Likewise.
985 (Skip_MODRM): Likewise.
986 (USE_OPC_EXT_TABLE): Likewise.
987 (USE_OPC_EXT_RM_TABLE): Likewise.
988 (PREGRP98...PREGRP100): Likewise.
989 (OPC_EXT_0...OPC_EXT_24): Likewise.
990 (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
991 (lock_prefix): Likewise.
992 (data_prefix): Likewise.
993 (addr_prefix): Likewise.
994 (repz_prefix): Likewise.
995 (repnz_prefix): Likewise.
996 (opc_ext_table): Likewise.
997 (opc_ext_rm_table): Likewise.
998 (get_valid_dis386): Likewise.
1000 (OP_0fae): Likewise.
1001 (PNI_Fixup): Likewise.
1002 (VMX_Fixup): Likewise.
1004 (twobyte_uses_DATA_prefix): Likewise.
1005 (twobyte_uses_REPNZ_prefix): Likewise.
1006 (twobyte_uses_REPZ_prefix): Likewise.
1007 (threebyte_0x38_uses_DATA_prefix): Likewise.
1008 (threebyte_0x38_uses_REPNZ_prefix): Likewise.
1009 (threebyte_0x38_uses_REPZ_prefix): Likewise.
1010 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1011 (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
1012 (threebyte_0x3a_uses_REPZ_prefix): Likewise.
1013 (grps): Use OPC_EXT_0...OPC_EXT_24.
1014 (prefix_user_table): Add PREGRP98...PREGRP100.
1015 (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
1016 uses_REPNZ_prefix and uses_REPZ_prefix. Initialize
1017 repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
1018 data_prefix based on prefixes. Call get_valid_dis386 to
1019 get a pointer to the valid dis386. Print out prefixes if
1021 (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
1022 (REP_Fixup): Set repz_prefix to "rep " when seeing
1025 2007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
1027 * po/nl.po: Updated translation.
1029 2007-08-28 H.J. Lu <hongjiu.lu@intel.com>
1031 * i386-dis.c (Md): New.
1032 (grps): Use 0 on invlpg. Use M on fxsave and fxrstor. Use
1033 Md on ldmxcsr and stmxcsr. Use b_mode on clflush.
1034 (OP_0fae): Clear bytemode for sfence.
1036 2007-08-22 Ben Elliston <bje@au.ibm.com>
1038 * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
1039 (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
1041 (powerpc_opcodes): Add all pair singles instructions.
1042 * ppc-dis.c (powerpc_dialect): Handle "ppcps".
1043 (print_ppc_disassembler_options): Document -Mppcps.
1045 2007-08-21 Andreas Krebbel <krebbel1@de.ibm.com>
1047 * s390-mkopc.c (struct s390_cond_ext_format): New global struct.
1048 (s390_cond_ext_format): New global variable.
1049 (expandConditionalJump): New function.
1050 (main): Invoke expandConditionalJump for mnemonics containing '*'.
1051 * s390-opc.txt: Replace mnemonics with conditional
1052 mask extensions with instructions using the newly introduced '*' tag.
1054 2007-08-17 Alan Modra <amodra@bigpond.net.au>
1056 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
1058 2007-08-10 Nick Clifton <nickc@redhat.com>
1060 * po/fi.po: Updated Finnish translation.
1061 * po/ga.po: Updated Irish translation.
1062 * po/vi.po: Updated Vietnamese translation.
1064 2007-08-09 H.J. Lu <hongjiu.lu@intel.com>
1066 * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
1067 pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
1068 * i386-tbl.h: Regenerated.
1070 2007-08-03 James E. Wilson <wilson@specifix.com>
1072 * ia64-gen.c: (main): Add missing newline to copyright message.
1073 * ia64-ic.tbl (fp-non-arith): Add xmpy.
1074 * ia64-asmtab.c: Regenerate.
1076 2007-08-01 Michael Snyder <msnyder@access-company.com>
1078 * i386-dis.c (print_insn): Guard against NULL.
1080 2007-07-29 H.J. Lu <hongjiu.lu@intel.com>
1083 * i386-dis.c (EXw): New.
1084 (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
1085 instructions when appropriated.
1087 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
1090 * i386-dis.c (Eq): New.
1091 (EMC): Renamed to ...
1092 (EMCq): This. Use q_mode instead of v_mode.
1093 (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
1096 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
1098 * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
1099 (prefix_user_table): Likewise. Use EXq instead of EXx on
1102 2007-07-27 Nathan Sidwell <nathan@codesourcery.com>
1104 * ppc-opc (PPC7450): New.
1105 (powerpc_opcodes): Use it in dcba.
1107 2007-07-24 H.J. Lu <hongjiu.lu@intel.com>
1109 * i386-gen.c (main): Print a newline after copyright notice.
1111 2007-07-19 Nick Clifton <nickc@redhat.com>
1114 * maxq-dis.c (get_reg_name): Fix the scan of the
1115 mem_access_syntax_table.
1117 2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
1119 * i386-dis.c (EMq): Removed.
1121 (prefix_user_table): Replace EMq with EMx.
1123 2007-07-16 Nick Clifton <nickc@redhat.com>
1125 * po/nl.po: Updated translation.
1127 2007-07-12 Nick Clifton <nickc@redhat.com>
1129 * po/vi.po: Updated translation.
1130 * po/nl.po: Updated translation.
1132 2007-07-06 Mark Kettenis <kettenis@gnu.org>
1133 H.J. Lu <hongjiu.lu@intel.com>
1135 * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
1136 (ia64-asmtab.c): Likewise.
1137 * Makefile.in: Regenerate.
1139 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
1141 * aclocal.m4: Regenerated.
1143 2007-07-04 Nick Clifton <nickc@redhat.com>
1145 * alpha-dis.c: Update copyright notice to refer to GPLv3.
1146 * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h,
1147 arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c,
1148 cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in,
1149 cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c,
1150 cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c,
1151 d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c,
1152 dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c,
1153 h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c,
1154 i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c,
1155 ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c,
1156 ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c,
1157 ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c,
1158 m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c,
1159 m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c,
1160 mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c,
1161 mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c,
1162 or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c,
1163 ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c,
1164 score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h,
1165 sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c,
1166 spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c,
1167 tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c,
1168 vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c,
1169 z8k-dis.c, z8kgen.c: Likewise.
1170 * i386-opc.tbl, i386-reg.tbl: Add copyright notice.
1171 * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h,
1172 fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c,
1173 frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c,
1174 frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c,
1175 ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h,
1176 iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c,
1177 iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c,
1178 m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c,
1179 m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
1180 m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c,
1181 mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c,
1182 mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c,
1183 mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c,
1184 openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c,
1185 openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h,
1186 xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h,
1187 xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h,
1188 xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c,
1189 xstormy16-opc.h, z8k-opc.h: Regenerated
1191 2007-07-04 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1193 * cr16-dis.c (getcinvstring): Add const qualifier to char *
1195 (print_insn_cr16): Remove cast to char *.
1197 2007-07-03 Nathan Sidwell <nathan@codesourcery.com>
1199 * m68k-dis.c (fetch_arg): Add E. Replace length switch with
1201 (print_ins_arg): Add j & K operand types.
1202 (match_insn_m68k): Check and skip initial '.' arg character.
1203 (m68k_scan_mask): Likewise.
1204 * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
1206 2007-07-02 Alan Modra <amodra@bigpond.net.au>
1208 * Makefile.am: Run "make dep-am".
1209 * Makefile.in: Regenerate.
1210 * aclocal.m4: Regenerate.
1211 * config.in: Regenerate.
1212 * po/POTFILES.in: Regenerate.
1213 * po/opcodes.pot: Regenerate.
1215 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
1217 * aclocal.m4: Regenerated.
1218 * Makefile.in: Likewise.
1220 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
1222 * i386-reg.tbl: Remove spaces before comments.
1224 2007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1226 * cr16-opc.c: New file.
1227 * cr16-dis.c: New file.
1228 * Makefile.am: Entries for cr16.
1229 * Makefile.in: Regenerate.
1230 * cofigure.in: Add cr16 target information.
1231 * configure : Regenerate.
1232 * disassemble.c: Add cr16 target information.
1234 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
1236 * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
1237 (CFILES): Add i386-gen.c.
1238 (i386-gen): New rule.
1239 (i386-gen.o): Likewise.
1240 (i386-tbl.h): Likewise.
1242 * Makefile.in: Regenerated.
1244 * i386-gen.c: New file.
1245 * i386-opc.tbl: Likewise.
1246 * i386-reg.tbl: Likewise.
1247 * i386-tbl.h: Likewise.
1249 * i386-opc.c: Include "i386-tbl.h".
1250 (i386_optab): Removed.
1251 (i386_regtab): Likewise.
1252 (i386_regtab_size): Likewise.
1254 2007-06-26 Paul Brook <paul@codesourcery.com>
1256 * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
1258 2007-06-25 H.J. Lu <hongjiu.lu@intel.com>
1260 * i386-opc.h (regKludge): Renamed to ...
1263 * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
1265 2007-06-23 H.J. Lu <hongjiu.lu@intel.com>
1268 * i386-dis.c (EX): Removed.
1274 (PREGRP93...PREGRP97): Likewise.
1275 (dis386_twobyte): Updated.
1276 (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
1277 (OP_EX): Remove Intel syntax handling.
1279 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
1281 * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
1283 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
1285 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
1287 * acinclude.m4: Removed.
1289 * Makefile.in: Regenerated.
1290 * doc/Makefile.in: Likewise.
1291 * aclocal.m4: Likewise.
1292 * configure: Likewise.
1294 2007-06-05 Paul Brook <paul@codesourcery.com>
1296 * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
1298 2007-05-24 Steve Ellcey <sje@cup.hp.com>
1300 * Makefile.in: Regnerate.
1301 * configure: Regenerate.
1302 * aclocal.m4: Regenerate.
1304 2007-05-18 Alan Modra <amodra@bigpond.net.au>
1306 * ppc-dis.c (print_insn_powerpc): Don't skip all operands
1307 after setting skip_optional.
1309 2007-05-16 Peter Bergner <bergner@vnet.ibm.com>
1311 * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
1312 (print_insn_powerpc): Use the new operand_value_powerpc and
1313 skip_optional_operands functions to omit or print all optional
1314 operands as a group.
1315 * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
1316 (XFL_MASK): Delete L and W bits from the mask.
1317 (mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK
1318 with XWRA_MASK. Use W.
1319 (mtfsf, mtfsf.): Use XFL_L and W.
1321 2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
1324 * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
1326 2007-05-10 H.J. Lu <hongjiu.lu@intel.com>
1328 * i386-opc.h (ShortForm): Redefined.
1330 (JumpDword): Likewise.
1331 (JumpByte): Likewise.
1332 (JumpInterSegment): Likewise.
1333 (FloatMF): Likewise.
1339 (IgnoreSize): Likewise.
1340 (DefaultSize): Likewise.
1341 (No_bSuf): Likewise.
1342 (No_wSuf): Likewise.
1343 (No_lSuf): Likewise.
1344 (No_sSuf): Likewise.
1345 (No_qSuf): Likewise.
1346 (No_xSuf): Likewise.
1348 (IsString): Likewise.
1349 (regKludge): Likewise.
1350 (IsPrefix): Likewise.
1352 (NoRex64): Likewise.
1356 2007-05-07 H.J. Lu <hongjiu.lu@intel.com>
1358 * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
1359 for some SSE4 instructions.
1360 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1362 2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
1364 * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
1366 * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
1369 2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
1371 * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
1372 check data size prefix in 16bit mode.
1374 * i386-opc.c (i386_optab): Default crc32 to non-8bit and
1377 2007-04-30 Mark Salter <msalter@redhat.com>
1379 * frv-desc.c: Regenerate.
1380 * frv-desc.h: Regenerate.
1382 2007-04-30 Alan Modra <amodra@bigpond.net.au>
1385 * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
1387 2007-04-27 H.J. Lu <hongjiu.lu@intel.com>
1389 * i386-dis.c (modrm): Put reg before rm.
1391 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1394 * i386-dis.c (print_displacement): New.
1395 (OP_E): Call print_displacement instead of print_operand_value
1396 to output displacement when either base or index exist. Print
1397 the explicit zero displacement in 16bit mode.
1399 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1402 * i386-dis.c (print_insn): Also swap the order of op_riprel
1403 when swapping op_index. Break when the RIP relative address
1405 (OP_E): Properly handle RIP relative addressing and print the
1406 explicit zero displacement for Intel mode.
1408 2007-04-27 Alan Modra <amodra@bigpond.net.au>
1410 * Makefile.am: Run "make dep-am".
1411 * Makefile.in: Regenerate.
1412 * ns32k-dis.c: Include sysdep.h first.
1414 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
1416 * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
1418 * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
1420 2007-04-24 Nick Clifton <nickc@redhat.com>
1422 * arm-dis.c (print_insn): Initialise type.
1424 2007-04-24 Alan Modra <amodra@bigpond.net.au>
1426 * cgen-types.h: Include bfd_stdint.h, not stdint.h.
1427 * Makefile.am: Run "make dep-am".
1428 * Makefile.in: Regenerate.
1430 2007-04-23 Nathan Sidwell <nathan@codesourcery.com>
1432 * m68k-opc.c: Mark mcfisa_c instructions.
1434 2007-04-21 Richard Earnshaw <rearnsha@arm.com>
1436 * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
1437 (thumb_opcodes): Add missing white space in adr.
1438 (arm_decode_shift): New parameter, print_shift. Only decode the
1439 shift parameter if set. Adjust callers.
1440 (print_insn_arm): Support for operand type q with no shift decode.
1442 2007-04-21 Alan Modra <amodra@bigpond.net.au>
1444 * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
1446 (i386_regtab): ..here.
1447 * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
1449 * ppc-opc.c (powerpc_operands): Delete duplicate entries.
1450 (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
1451 (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
1452 (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
1454 2007-04-20 Nathan Sidwell <nathan@codesourcery.com>
1456 * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
1459 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1461 * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
1463 * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
1464 in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove
1465 references to following deleted functions.
1466 (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
1467 (insert_ds, extract_ds, insert_de, extract_de): Delete.
1468 (insert_des, extract_des, insert_li, extract_li): Delete.
1469 (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
1470 (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
1471 (num_powerpc_operands): New constant.
1472 (XSPRG_MASK): Remove entire SPRG field.
1473 (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
1475 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1477 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
1479 (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
1481 2007-04-20 Richard Earnshaw <rearnsha@arm.com>
1483 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
1486 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1488 * Makefile.am: Run "make dep-am".
1489 * Makefile.in: Regenerate.
1490 * po/POTFILES.in: Regenerate.
1492 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1494 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
1495 db10cyc, db12cyc, db16cyc.
1497 2007-04-19 Nathan Froyd <froydnj@codesourcery.com>
1499 * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
1501 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1503 * i386-dis.c (CRC32_Fixup): New.
1504 (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
1506 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
1507 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1508 (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
1509 PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
1510 (three_byte_table): Likewise.
1512 * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
1514 * i386-opc.h (CpuSSE4_2): New.
1515 (CpuSSE4): Likewise.
1516 (CpuUnknownFlags): Add CpuSSE4_2.
1518 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1520 * i386-dis.c (XMM_Fixup): New.
1526 (PREGRP39 ... PREGRP85): New.
1527 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
1528 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1529 (prefix_user_table): Add PREGRP39 ... PREGRP85.
1530 (three_byte_table): Likewise.
1531 (putop): Handle 'K'.
1532 (intel_operand_size): Handle dqb_mode, dqd_mode):
1536 * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
1538 * i386-opc.h (CpuSSE4_1): New.
1539 (CpuUnknownFlags): Add CpuSSE4_1.
1540 (regKludge): Update comment.
1542 2007-04-18 Matthias Klose <doko@ubuntu.com>
1544 * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
1545 * Makefile.in: Regenerate.
1547 2007-04-14 Steve Ellcey <sje@cup.hp.com>
1549 * Makefile.am: Add ACLOCAL_AMFLAGS.
1550 * Makefile.in: Regenerate.
1552 2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
1554 * i386-dis.c: Remove trailing white spaces.
1555 * i386-opc.c: Likewise.
1556 * i386-opc.h: Likewise.
1558 2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
1561 * i386-dis.c (GRP1a): New.
1562 (GRP1b ... GRPPADLCK2): Update index.
1563 (dis386): Use GRP1a for entry 0x8f.
1564 (mod, rm, reg): Removed. Replaced by ...
1568 2007-04-09 Kazu Hirata <kazu@codesourcery.com>
1570 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
1571 info->print_address_func if longjmp is called.
1573 2007-03-29 DJ Delorie <dj@redhat.com>
1575 * m32c-desc.c: Regenerate.
1576 * m32c-dis.c: Regenerate.
1577 * m32c-opc.c: Regenerate.
1579 2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
1581 * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
1582 movq. Remove InvMem from sldt, smsw and str.
1584 * i386-opc.h (InvMem): Renamed to ...
1585 (RegMem): Update comments.
1586 (AnyMem): Remove InvMem.
1588 2007-03-27 Paul Brook <paul@codesourcery.com>
1590 * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
1592 2007-03-24 Paul Brook <paul@codesourcery.com>
1594 * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
1595 (print_insn_coprocessor): Handle %<bitfield>x.
1597 2007-03-24 Paul Brook <paul@codesourcery.com>
1598 Mark Shinwell <shinwell@codesourcery.com>
1600 * arm-dis.c (arm_opcodes): Print SRS base register.
1602 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
1604 * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
1606 * i386-opc.c (i386_optab): Add rex.wrxb.
1608 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1610 * i386-dis.c (REX_MODE64): Remove definition.
1611 (REX_EXTX): Likewise.
1612 (REX_EXTY): Likewise.
1613 (REX_EXTZ): Likewise.
1614 (USED_REX): Use REX_OPCODE instead of 0x40.
1615 Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
1616 REX_R, REX_X and REX_B respectively.
1618 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1621 * i386-dis.c (PREGRP38): New.
1622 (dis386): Use PREGRP38 for 0x90.
1623 (prefix_user_table): Add PREGRP38.
1624 (print_insn): Set uses_REPZ_prefix to 1 for pause.
1625 (NOP_Fixup1): Properly handle REX bits.
1626 (NOP_Fixup2): Likewise.
1628 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
1629 Allow register with nop.
1631 2007-03-20 DJ Delorie <dj@redhat.com>
1633 * m32c-asm.c: Regenerate.
1634 * m32c-desc.c: Regenerate.
1635 * m32c-desc.h: Regenerate.
1636 * m32c-dis.h: Regenerate.
1637 * m32c-ibld.c: Regenerate.
1638 * m32c-opc.c: Regenerate.
1639 * m32c-opc.h: Regenerate.
1641 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1643 * i386-opc.c: Include "libiberty.h".
1644 (i386_regtab): Remove the last entry.
1645 (i386_regtab_size): New.
1646 (i386_float_regtab_size): Likewise.
1648 * i386-opc.h (i386_regtab_size): New.
1649 (i386_float_regtab_size): Likewise.
1651 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1653 * Makefile.am (CFILES): Add i386-opc.c.
1654 (ALL_MACHINES): Add i386-opc.lo.
1656 * Makefile.in: Regenerated.
1658 * configure.in: Add i386-opc.lo for bfd_i386_arch.
1659 * configure: Regenerated.
1661 * i386-dis.c: Include "opcode/i386.h".
1662 (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
1663 (FWAIT_OPCODE): Remove definition.
1664 (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
1665 (MAX_OPERANDS): Remove definition.
1667 * i386-opc.c: New file.
1668 * i386-opc.h: Likewise.
1670 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1672 * Makefile.in: Regenerated.
1674 2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
1676 * i386-dis.c (OP_Rd): Renamed to ...
1681 2007-03-08 Alan Modra <amodra@bigpond.net.au>
1683 * fr30-asm.c: Regenerate.
1684 * frv-asm.c: Regenerate.
1685 * ip2k-asm.c: Regenerate.
1686 * iq2000-asm.c: Regenerate.
1687 * m32c-asm.c: Regenerate.
1688 * m32r-asm.c: Regenerate.
1689 * m32r-dis.c: Regenerate.
1690 * mt-asm.c: Regenerate.
1691 * mt-ibld.c: Regenerate.
1692 * mt-opc.c: Regenerate.
1693 * openrisc-asm.c: Regenerate.
1694 * xc16x-asm.c: Regenerate.
1695 * xstormy16-asm.c: Regenerate.
1697 * Makefile.am: Run "make dep-am".
1698 * Makefile.in: Regenerate.
1699 * po/POTFILES.in: Regenerate.
1701 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
1703 * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
1704 INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
1705 instruction formats added.
1706 (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
1707 MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
1709 * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
1711 * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1712 (main): z9-ec cpu type option added.
1713 * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1715 2007-02-22 DJ Delorie <dj@redhat.com>
1717 * s390-opc.c (INSTR_SS_L2RDRD): New.
1718 (MASK_SS_L2RDRD): New.
1719 * s390-opc.txt (pka): Use it.
1721 2007-02-20 Thiemo Seufer <ths@mips.com>
1722 Chao-Ying Fu <fu@mips.com>
1724 * mips-dis.c (mips_arch_choices): Add DSP R2 support.
1725 (print_insn_args): Add support for balign instruction.
1726 * mips-opc.c (D33): New shortcut for DSP R2 instructions.
1727 (mips_builtin_opcodes): Add DSP R2 instructions.
1729 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1731 * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
1732 (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
1733 * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
1734 cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
1736 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1738 * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
1739 * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
1740 (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
1743 2007-02-16 Nick Clifton <nickc@redhat.com>
1746 * avr-dis.c (comment_start): New variable, contains the prefix to
1747 use when printing addresses in comments.
1748 (print_insn_avr): Set comment_start to an empty space if there is
1749 no symbol table available as the generic address printing code
1750 will prefix the numeric value of the address with 0x.
1752 2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
1754 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
1757 2007-02-05 Dave Brolley <brolley@redhat.com>
1758 Richard Sandiford <rsandifo@redhat.com>
1759 DJ Delorie <dj@redhat.com>
1760 Graydon Hoare <graydon@redhat.com>
1761 Frank Ch. Eigler <fche@redhat.com>
1762 Ben Elliston <bje@redhat.com>
1764 * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
1765 (CFILES): Add mep-*.c
1766 (ALL_MACHINES): Add mep-*.lo.
1767 (CLEANFILES): Add stamp-mep.
1768 (CGEN_CPUS): Add mep.
1769 (MEP_DEPS): New variable.
1770 (mep-*): New targets.
1771 * configure.in: Handle bfd_mep_arch.
1772 * disassemble.c (ARCH_mep): New macro.
1773 (disassembler): Handle bfd_arch_mep.
1774 (disassemble_init_for_target): Likewise.
1775 * mep-*: New files for Toshiba Media Processor (MeP).
1776 * Makefile.in: Regenerated.
1777 * configure: Regenerated.
1779 2007-02-05 H.J. Lu <hongjiu.lu@intel.com>
1781 * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
1782 wrap around within the same segment in 16bit mode.
1784 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1786 * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
1789 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1791 * avr-dis.c (avr_operand): Correct PR number in comment.
1793 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1795 * disassemble.c (disassembler_usage): Call
1796 print_i386_disassembler_options for i386 disassembler.
1798 * i386-dis.c (print_i386_disassembler_options): New.
1799 (print_insn): Support the new addr64 option.
1801 2007-02-02 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
1803 * ppc-dis.c (powerpc_dialect): Handle ppc440.
1804 * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
1807 2007-02-02 Alan Modra <amodra@bigpond.net.au>
1809 * ppc-opc.c (insert_bdm): -Many comment.
1810 (valid_bo): Add "extract" param. Accept both powerpc and power4
1811 BO fields when disassembling with -Many.
1812 (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
1814 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
1816 * m68k-opc.c (m68k_opcodes): Replace cpu32 with
1817 cpu32 | fido_a except on tbl instructions.
1819 2007-01-04 Paul Brook <paul@codesourcery.com>
1821 * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
1823 2007-01-04 Andreas Schwab <schwab@suse.de>
1825 * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
1827 2007-01-04 Julian Brown <julian@codesourcery.com>
1829 * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
1830 vqrshl instructions.
1832 For older changes see ChangeLog-2006
1838 version-control: never