1 2007-12-22 H.J. Lu <hongjiu.lu@intel.com>
3 * i386-dis.c (intel_mnemonic): New.
4 (print_i386_disassembler_options): Display att-mnemonic and
5 intel-mnemonic options.
6 (print_insn): Handle att-mnemonic and intel-mnemonic.
7 (float_reg): Replace SYSV386_COMPAT with "!M" and "M".
8 (putop): Handle "!M" and "M".
10 2007-12-21 H.J. Lu <hongjiu.lu@intel.com>
12 * Makefile.am (i386-gen.o): Also depend on
13 $(srcdir)/../include/opcode/i386.h.
14 * Makefile.in: Regenerated.
16 2007-11-29 Mark Shinwell <shinwell@codesourcery.com>
18 * mips-dis.c (mips_arch_choices): Add Loongson-2E and -2F
20 * mips-opc.c (IL2E): New.
22 (mips_builtin_opcodes): Add Loongson-2E and -2F instructions.
23 Allow movz and movn for Loongson-2E and -2F. Add movnz entry.
24 Move coprocessor encodings to the end of the table. Allow
25 certain MIPS V .ps instructions on the Loongson-2E and -2F.
27 2007-11-29 Mark Shinwell <shinwell@codesourcery.com>
29 * mips-opc.c (I3_32, I3_33, I4_32, I4_33, I5_33): New.
30 (mips_builtin_opcodes): Use these new I* values.
32 2007-11-27 Andreas Krebbel <krebbel1@de.ibm.com>
34 * s390-opc.txt ("tcet", "tcdt", "tcxt", "tget", "tgdt",
36 ("tdcet", "tdcdt", "tdcxt", "tdget", "tdgdt", "tdgxt"): Added.
38 2007-11-14 H.J. Lu <hongjiu.lu@intel.com>
40 * ia64-ic.tbl: Updated for Itanium 9100 series.
41 * ia64-raw.tbl: Likewise.
42 * ia64-waw.tbl: Likewise.
43 * ia64-asmtab.c: Regenerated.
45 2007-11-14 Tristan Gingold <gingold@adacore.com>
47 * ia64-dis.c (print_insn_ia64): Handle ar.ruc.
48 * ia64-gen.c (lookup_regindex): Likewise.
50 2007-11-07 Jens Arnold <jens@jens-arnold.net>
53 * m68k-opc.c (m68k_opcodes): Fix coldfire msac.w instructions with
56 2007-11-07 Tristan Gingold <gingold@adacore.com>
58 * ia64-dis.c (print_insn_ia64): Generate symbolic names for cr
59 registers instead of register number.
61 2007-11-07 David O'Brien <obrien@FreeBSD.org>
63 * arm-dis.c (arm_opcodes): Remove superflous escapes of percent
66 2007-11-06 Peter Bergner <bergner@vnet.ibm.com>
68 * ppc-opc.c (powerpc_opcodes): Remove the dcffix and dcffix. opcodes
69 which are not included in the "Preliminary Decimal Floating-Point
70 Architecture" document.
72 2007-11-01 H.J. Lu <hongjiu.lu@intel.com>
74 * i386-gen.c (opcode_modifiers): Replace No_xSuf with
76 * i386-opc.tbl: Likewise.
78 * i386-opc.h (No_xSuf): Renamed to ...
82 2007-11-01 H.J. Lu <hongjiu.lu@intel.com>
84 * i386-gen.c (opcode_modifiers): Add ByteOkIntel, ToDword,
85 ToQword and AddrPrefixOp0.
87 * i386-opc.h (ByteOkIntel): New.
90 (AddrPrefixOp0): Likewise.
92 (i386_opcode_modifier): Add byteokintel, todword, toqword
95 * i386-opc.tbl (cvtss2si): Add ToQword.
96 (cvttss2si): Likewise.
97 (cvtsd2si): Add ToDword.
98 (cvttsd2si): Likewise.
99 (monitor): Add AddrPrefixOp0.
104 (pextrb): Add ByteOkIntel.
106 * i386-tbl.h: Regenerated.
108 2007-10-31 H.J. Lu <hongjiu.lu@intel.com>
110 * i386-dis.c (USE_REG_TABLE): Defined as the previous one + 1.
111 (USE_REG_TABLE): Likewise.
112 (USE_MOD_TABLE): Likewise.
113 (USE_RM_TABLE): Likewise.
114 (USE_PREFIX_TABLE): Likewise.
115 (USE_X86_64_TABLE): Likewise.
116 (USE_3BYTE_TABLE): Likewise.
118 2007-10-26 H.J. Lu <hongjiu.lu@intel.com>
120 * i386-dis.c (MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3): New.
121 (MOD_0F51): Likewise.
122 (MOD_0FD7): Likewise.
123 (MOD_0FE7_PREFIX_2): Likewise.
124 (MOD_0F382A_PREFIX_2): Likewise.
125 (MOD_0F71_REG_2): Updated.
126 (MOD_0FF0_PREFIX_3): Likewise.
127 (MOD_62_32BIT): Likewise.
128 (dis386_twobyte): Use MOD_0F51 and MOD_0FD7.
129 (prefix_table): Use MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
130 MOD_0FE7_PREFIX_2 and MOD_0F382A_PREFIX_2.
131 (mod_table): Add MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
132 MOD_0F51, MOD_0FD7 and MOD_0F382A_PREFIX_2.
134 2007-10-26 Nick Clifton <nickc@redhat.com>
136 * arm-dis.c (print_insn): Check for a symtab that exists but is
139 2007-10-24 Alan Modra <amodra@bigpond.net.au>
141 * po/POTFILES.in: Regenerate.
143 2007-10-23 H.J. Lu <hongjiu.lu@intel.com>
145 * i386-dis.c (OP_SIMD_Suffix): Renamed to ...
146 (CMP_Fixup): This. Rewrite.
147 (OPSIMD): Renamed to ...
148 (CMP): This. Updated.
149 (prefix_table): Update PREFIX_0FC2 entry.
151 2007-10-22 H.J. Lu <hongjiu.lu@intel.com>
153 * i386-dis.c (prefix_table): Reordered by opcode.
154 (mod_table): Likewise.
156 2007-10-19 H.J. Lu <hongjiu.lu@intel.com>
158 * i386-dis.c (prefix_table): Use XS on psrldq and pslldq.
160 2007-10-17 Nathan Sidwell <nathan@codesourcery.com>
162 * m68k-opc.c (m68k_opcodes): Correct move sr and ccr masks for
165 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
167 * ppc-opc.c (powerpc_opcodes): Fix the first two operands of
168 dquaiq. to use the TE and FRT macros.
170 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
172 * ppc-opc.c (TE): Correct signedness.
173 (powerpc_opcodes): Sort psq_st and psq_stu according to major
176 2007-10-15 H.J. Lu <hongjiu.lu@intel.com>
178 * i386-dis.c (dis386_twobyte): Reformat.
179 (prefix_table): Likewise.
180 (three_byte_table): Likewise.
182 2007-10-15 Alan Modra <amodra@bigpond.net.au>
184 * mcore-dis.c (print_insn_mcore): Protect "fprintf" var against
187 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
189 * i386-gen.c (opcode_modifiers): Add FirstXmm0.
191 * i386-opc.h (FirstXmm0): New.
193 (i386_opcode_modifier): Add firstxmm0.
195 * i386-opc.tbl (blendvpd): Replace RegKludge with FirstXmm0.
196 (blendvps): Likewise.
197 (pblendvb): Likewise.
198 * i386-tbl.h: Regenerated.
200 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
202 * i386-dis.c (prefix_table): Reformat pblendvb and blendvps.
204 2007-10-10 H.J. Lu <hongjiu.lu@intel.com>
206 * i386-dis.c (v_mode): Defined as previous one + 1.
213 (cond_jump_mode): Likewise.
214 (loop_jcxz_mode): Likewise.
216 (dqw_mode): Likewise.
218 (const_1_mode): Likewise.
219 (stack_v_mode): Likewise.
222 (dqb_mode): Likewise.
223 (dqd_mode): Likewise.
262 (z_mode_ax_reg): Likewise.
263 (indir_dx_reg): Likewise.
265 (DREX_NO_OC0): Likewise.
266 (DREX_MASK): Likewise.
267 (MAX_BYTEMODE): New. Issue an error if MAX_BYTEMODE is not
270 2007-10-08 H.J. Lu <hongjiu.lu@intel.com>
272 * i386-dis.c: Updated comments for 'Y'.
273 (putop): Don't add 'q' for 'Y' if suffix_always isn't true.
275 2007-10-08 Maciej W. Rozycki <macro@linux-mips.org>
277 * opcodes/mips-dis.c (mips_cp0_names_r3000): New definition.
278 (mips_cp0_names_r4000): Likewise.
279 (mips_arch_choices): Link to the above as appropriate.
281 2007-10-08 Nick Clifton <nickc@redhat.com>
283 * configure.in (SHARED_DEPENDENCIES): Change non-cygwin dependency
284 to be ../bfd/libbfd.la.
285 * configure: Regenerate.
287 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
289 * i386-dis.c (dis386_twobyte): Add getsec.
291 * i386-gen.c (cpu_flags): Add CpuSMX.
293 * i386-opc.h (CpuSMX): New.
295 (i386_cpu_flags): Add cpusmx.
297 * i386-opc.tbl: Add getsec.
298 * i386-init.h: Regenerated.
299 * i386-tbl.h: Likewise.
301 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
303 * i386-dis.c (reg_table): Use "{ XX }" on "(bad)".
304 (prefix_table): Likewise.
306 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
308 * i386-dis.c (dis386_twobyte): Use EXx instead of EXq on
309 unpckhpX and unpckhpX.
311 2007-10-04 David Daney <ddaney@avtrex.com>
313 * mips-opc.c (mips_builtin_opcodes): Mark lwxc1 as working on FP_S
316 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
318 * i386-dis.c (MOD_0F12_PREFIX_0): Use "movlps" and "movhlps"
319 instead of "movlpX" and "movhlpX", respectively.
320 (MOD_0F16_PREFIX_0): Use "movhps" and "movlhps" instead of
321 "movhpX" and "movlhpX", respectively.
323 2007-10-04 Nick Clifton <nickc@redhat.com>
325 * configure.in (WIN32LDFLAGS): Rename to SHARED_LDFLAGS.
326 (WIN32LIBADD): Rename to SHARED_LIBADD
327 (SHARED_DEPENDENCIES): New exported variable.
328 (enable_shared): Add dependency upon libbfd.la for non-cygwin
329 based shared library builds.
330 * Makefile.am (libopcodes_la_DEPENDENCIES): Append
332 (libopcodes_la_LIBADD): Rename WIN32LIBADD to SHARED_LIBADD.
333 (libopcodes_la_LDFLAGS): Rename WIN32LDFLAGS to SHARED_LDFLAGS.
334 * configure: Regenerate.
335 * Makefile.in: Regenerate.
338 * arc-opc.c (insert_offset): Fix spelling mistake in error
341 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
343 * i386-dis.c (OP_REG): Set add to 0 only when needed.
352 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
354 * i386-opc.tbl: Update SSE comments.
356 2007-10-01 H.J. Lu <hongjiu.lu@intel.com>
358 * i386-dis.c (THREE_BYTE_0FBA): Renamed to ...
359 (THREE_BYTE_0F7B): This.
360 (dis386_twobyte): Updated.
361 (three_byte_table): Updated comments.
363 2007-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
365 * cr16-opc.c: Updated the branch on condition instructions with
368 2007-09-30 H.J. Lu <hongjiu.lu@intel.com>
370 * 386-dis.c (prefix_table): Reformat comment.
372 2007-09-29 H.J. Lu <hongjiu.lu@intel.com>
374 * 386-dis.c (USE_GROUPS): Renamed to ...
375 (USE_REG_TABLE): This.
376 (USE_OPC_EXT_TABLE): Renamed to ...
377 (USE_MOD_TABLE): This.
378 (USE_OPC_EXT_RM_TABLE): Renamed to ...
379 (USE_RM_TABLE): This.
380 (USE_XXX_TABLE): Reordered.
381 (GRP): Renamed to ...
383 (OPC_EXT_TABLE): Renamed to ...
385 (OPC_EXT_RM_TABLE): Renamed to ...
387 (GRP_XXX): Renamed to ...
389 (PREGRP_XXX): Renamed to ...
391 (OPC_EXT_XXX): Renamed to ...
393 (OPC_EXT_RM_XXX): Renamed to ...
395 (grps): Renamed to ...
397 (prefix_user_table): Renamed to ...
399 (opc_ext_table): Renamed to ...
401 (opc_ext_rm_table): Renamed to ...
403 (OPC_EXT_RM_XXX): Likewise.
405 (dis386_twobyte): Likewise.
406 (reg_table): Likewise.
407 (prefix_table): Likewise.
408 (x86_64_table): Likewise.
409 (three_byte_table): Likewise.
410 (mod_table): Likewise.
411 (rm_table): Likewise.
412 (get_valid_dis386): Likewise.
414 2007-09-28 H.J. Lu <hongjiu.lu@intel.com>
416 * 386-dis.c (USE_PREFIX_USER_TABLE): Renamed to ...
417 (USE_PREFIX_TABLE): This.
418 (X86_64_SPECIAL): Renamed to ...
419 (USE_X86_64_TABLE): This.
420 (IS_3BYTE_OPCODE): Renamed to ...
421 (USE_3BYTE_TABLE): This.
423 (PREGRPXXX): Likewise.
424 (X86_64_XXX): Likewise.
425 (THREE_BYTE_XXX): Likewise.
426 (OPC_EXT_XXX): Likewise.
427 (OPC_EXT_RM_XXX): Likewise.
431 (X86_64_TABLE): Likewise.
432 (THREE_BYTE_TABLE): Likewise.
433 (OPC_EXT_TABLE): Likewise.
434 (OPC_EXT_RM_TABLE): Likewise.
436 (PREGRP_XXX): Likewise.
437 (X86_64_XXX): Likewise.
438 (THREE_BYTE_XXX): Likewise.
439 (OPC_EXT_XXX): Likewise.
440 (OPC_EXT_RM_XXX): Likewise.
442 (dis386_twobyte): Likewise.
444 (prefix_user_table): Likewise.
445 (x86_64_table): Likewise.
446 (three_byte_table): Likewise.
447 (opc_ext_table): Likewise.
448 (opc_ext_rm_table): Likewise.
449 (get_valid_dis386): Likewise.
451 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
453 * i386-dis.c (dis386): Swap X86_64_27 with OPC_EXT_2.
454 (x86_64_table): Likewise.
455 (opc_ext_table): Likewise.
457 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
460 * i386-dis.c: Update comments on '{', '}' and '|' to support
461 only AT&T and Intel modes.
462 (X86_64_4...X86_64_27): New.
463 (dis386): Updated. Use X86_64_4...X86_64_21.
464 (dis386_twobyte): Updated.
465 (float_mem): Likewise.
466 (x86_64_table): Add X86_64_4...X86_64_27.
467 (opc_ext_table): Updated. Use X86_64_22...X86_64_27.
468 (putop): Updated handling of '{', '}' and '|' to support only
469 AT&T and Intel modes.
471 2007-09-27 Kazu Hirata <kazu@codesourcery.com>
473 * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb.
475 2007-09-26 James E. Wilson <wilson@specifix.com>
477 * ia64-gen.c (print_dependency_table): Fix typo in last patch.
479 2007-09-26 Nick Clifton <nickc@redhat.com>
481 * mt-asm.c (parse_imm16): Reword error message in order to allow
482 it to be translated properly.
483 * ia64-gen.c (print_dependency_table): Likewise.
484 * mips-dis.c (print_insn_args): Likewise.
486 2007-09-26 Jan Beulich <jbeulich@novell.com>
488 * i386-dis.c (OP_E_extended): Distinguish rip- and eip-
489 relative addressing. Update used_prefixes based on whether any
490 base or index register was printed.
492 2007-09-26 Jan Beulich <jbeulich@novell.com>
494 * i386-opc.h (RegEip): Define.
496 * i386-reg.tbl: Add eip. Mark rip and eip with RegRex64.
497 * i386-tbl.h: Re-generate.
499 2007-09-25 H.J. Lu <hongjiu.lu@intel.com>
501 * i386-gen.c (process_i386_opcodes): Process opcode_length.
503 * i386-opc.h (template): Add opcode_length.
504 * 386-opc.tbl: Likewise.
505 * i386-tbl.h: Regenerated.
507 2007-09-21 H.J. Lu <hongjiu.lu@intel.com>
509 * i386-opc.h: Adjust whitespaces.
511 2007-09-21 Dave Brolley <brolley@redhat.com>
513 * mep-desc.c: Regenerated.
515 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
517 * i386-dis.c (OP_E_extended): Display eiz for [eiz*1 + offset].
519 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
522 * 386-dis.c (index64): New.
524 (intel_index64): Likewise.
525 (intel_index32): Likewise.
526 (att_index64): Likewise.
527 (att_index32): Likewise.
528 (print_insn): Set index64 and index32.
529 (OP_E_extended): Use index64/index32 for index register for
532 * i386-opc.h (RegEiz): New.
535 * i386-reg.tbl: Add eiz and riz.
536 * i386-tbl.h: Regenerated.
538 2007-09-19 H.J. Lu <hongjiu.lu@intel.com>
540 * i386-dis.c (OP_E_extended): Always display scale for memory.
542 2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
544 * i386-opc.h (RegRip): New.
546 * i386-reg.tbl (rip): Use RegRip for reg_num.
547 * i386-tbl.h: Regenerated.
549 2007-09-17 Nick Clifton <nickc@redhat.com>
551 * po/es.po: Updated Spanish translation.
553 2007-09-14 H.J. Lu <hongjiu.lu@intel.com>
555 * Makefile.am: Run "make dep-am".
556 * Makefile.in: Regenerate.
558 2007-09-14 Michael Meissner <michael.meissner@amd.com>
559 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
560 Tony Linthicum <tony.linthicum@amd.com>
562 * i386-opc.h (CpuSSE5): New macro.
563 (i386_cpu_flags): Add Drex, Drexv and Drexc.
565 * i386-gen.c (cpu_flag_init): Add CPU_SSE5_FLAGS.
566 (operand_type_init): Add CpuSSE5.
567 (opcode_modifiers): Add Drex, Drexv and Drexc.
568 (i386_opcode_modifier): Ditto.
570 * i386-opc.tbl (fmaddps,fmaddpd,fmaddss,fmaddsd): Define SSE5
572 (fmsubps,fmsubpd,fmsubss,fmsubsd): Ditto.
573 (fnmaddps,fnmaddpd,fnmaddss,fnmaddsd): Ditto.
574 (fnmsubps,fnmsubpd,fnmsubss,fnmsubsd): Ditto.
575 (pmacssww,pmacsww,pmacsswd,pmacswd): Ditto.
576 (pmacssdd,pmacsdd,pmacssdql,pmacssdqh): Ditto.
577 (pmacsdql,pmacsdqh,pmadcsswd,pmadcswd): Ditto.
578 (phaddbw,phaddbd,phaddbq,phaddwd): Ditto.
579 (phaddwq,phadddq,phaddubw,phaddubd): Ditto.
580 (phaddubq,phadduwd,phadduwq,phaddudq): Ditto.
581 (phsubbw,phsubwd,phsubdq): Ditto.
582 (pcmov,pperm,permps,permpd): Ditto.
583 (protb,protw,protd,protq): Ditto.
584 (pshlb,pshlw,pshld,pshlq): Ditto.
585 (pshab,pshaw,pshad,pshaq): Ditto.
586 (comps,comeqps,comltps,comungeps,comleps,comungtps): Ditto.
587 (comunordps,comneps,comneqps,comnltps,comugeps): Ditto.
588 (comnleps,comugtps,comordps,comueqps,comultps): Ditto.
589 (comngeps,comuleps,comngtps,comfalseps,comuneps): Ditto.
590 (comuneqps,comunltps,comgeps,comunleps,comgtps,comtrueps): Ditto.
591 (compd,comeqpd,comltpd,comungepd,comlepd,comungtpd,comunordpd): Ditto.
592 (comnepd,comneqpd,comnltpd,comugepd,comnlepd,comugtpd): Ditto.
593 (comordpd,comueqpd,comultpd,comngepd,comulepd,comngtpd): Ditto.
594 (comfalsepd,comunepd,comuneqpd,comunltpd,comgepd): Ditto.
595 (comunlepd,comgtpd,comtruepd): Ditto.
596 (comss,comeqss,comltss,comungess,comless,comungtss,comunordss): Ditto.
597 (comness,comneqss,comnltss,comugess,comnless,comugtss): Ditto.
598 (comordss,comueqss,comultss,comngess,comuless,comngtss): Ditto.
599 (comfalsess,comuness,comuneqss,comunltss,comgess): Ditto.
600 (comunless,comgtss,comtruess): Ditto.
601 (comsd,comeqsd,comltsd,comungesd,comlesd,comungtsd,comunordsd): Ditto.
602 (comnesd,comneqsd,comnltsd,comugesd,comnlesd,comugtsd): Ditto.
603 (comordsd,comueqsd,comultsd,comngesd,comulesd,comngtsd): Ditto.
604 (comfalsesd,comunesd,comuneqsd,comunltsd,comgesd): Ditto.
605 (comunlesd,comgtsd,comtruesd): Ditto.
606 (pcomub,pcomltub,pcomleub,pcomgtub,pcomgeub,pcomequb): Ditto.
607 (pcomnequb,pcomneub): Ditto.
608 (pcomuw,pcomltuw,pcomleuw,pcomgtuw,pcomgeuw,pcomequw): Ditto.
609 (pcomnequw,pcomneuw): Ditto.
610 (pcomud,pcomltud,pcomleud,pcomgtud,pcomgeud,pcomequd): Ditto.
611 (pcomnequd,pcomneud): Ditto.
612 (pcomuq,pcomltuq,pcomleuq,pcomgtuq,pcomgeuq,pcomequq): Ditto.
613 (pcomnequq,pcomneuq): Ditto.
614 (pcomb,pcomltb,pcomleb,pcomgtb,pcomgeb,pcomeqb): Ditto.
615 (pcomneqb,pcomneb): Ditto.
616 (pcomw,pcomltw,pcomlew,pcomgtw,pcomgew,pcomeqw): Ditto.
617 (pcomneqw,pcomnew): Ditto.
618 (pcomd,pcomltd,pcomled,pcomgtd,pcomged,pcomeqd): Ditto.
619 (pcomneqd,pcomned): Ditto.
620 (pcomq,pcomltq,pcomleq,pcomgtq,pcomgeq): Ditto.
621 (pcomeqq,pcomneqq,pcomneq): Ditto.
622 (pcomtrueb, pcomtruew, pcomtrued, pcomtrueq): Ditto.
623 (pcomtrueub, pcomtrueuw, pcomtrueud, pcomtrueuq): Ditto.
624 (pcomfalseb, pcomfalsew, pcomfalsed, pcomfalseq): Ditto.
625 (pcomfalseub, pcomfalseuw, pcomfalseud, pcomfalseuq): Ditto.
626 (frczps,frczpd,frczss,frczsd): Ditto.
627 (cvtph2ps,cvtps2ph): Ditto.
629 * i386-tbl.h: Regenerate from i386-opc.tbl.
630 * i386-init.h: Likewise.
632 * i386-dis.c (libiberty.h): Include to get ARRAY_SIZE.
633 (dis386_move_test): New disassembly support for move from test
634 register instruction that overlaps with SSE5 instructions.
635 (print_insn): Add support for special casing the i386/i486 move
636 from test register instruction that overlaps with the SSE5
637 0x0f24 4 operand instructions.
638 (OP_DREX_ICMP): New macros for SSE5 DREX handling.
639 (OP_DREX_FCMP): Ditto.
640 (OP_E_extended): Rename from OP_E, add additional argument to skip
642 (OP_E): Call OP_E_extended.
643 (DREX_REG_MEMORY): New macros for drex handling.
644 (DREX_REG_UNKNOWN): Ditto.
646 (DREX4_NO_OC0): Ditto.
648 (three_byte_table): Add SSE5 instructions.
649 (print_drex_arg): New function to print a DREX register or memory
651 (OP_DREX4): New function for handling DREX 4 argument ops.
652 (OP_DREX3): New function for handling DREX 3 argument ops.
653 (twobyte_has_modrm): 0f{25,7a,7b} all use the modrm byte.
654 (THREE_BYTE_SSE5_0F{24,25,7A,7B}): New macros for initializing 3
655 byte opcode support for SSE5 instructions.
656 (dis386_twobyte): Add SSE5 24/25/7a/7b support.
657 (three_byte_table): Add rows for describing SSE5 instructions.
659 2007-09-13 H.J. Lu <hongjiu.lu@intel.com>
661 * i386-dis.c (get_valid_dis386): Take a pointer to
662 disassemble_info. Handle IS_3BYTE_OPCODE.
663 (print_insn): Updated. Don't handle IS_3BYTE_OPCODE here.
665 2007-09-12 H.J. Lu <hongjiu.lu@intel.com>
667 * i386-opc.h (CpuUnused): Defined with CpuMax.
668 (OTUnused): Defined with OTMax.
670 2007-09-12 Jan Beulich <jbeulich@novell.com>
672 * i386-opc.tbl: Add two-operand forms of blendvps, blendvpd, and
674 * i386-tbl.h: Regenerate.
676 2007-09-09 H.J. Lu <hongjiu.lu@intel.com>
678 * i386-gen.c (main): Remove the local variable, unused.
680 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
682 * Makefile.am: Run "make dep-am".
683 * Makefile.in: Regenerate.
685 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
687 * configure.in (AC_CHECK_HEADERS): Add limits.h.
688 * configure: Regenerated.
689 * config.in: Likewise.
691 * i386-gen.c: Include "sysdep.h" instead of <stdlib.h> and
692 <string.h>. Use xstrerror instead of strerror.
694 (cpu_flag_init): Likewise.
695 (bitfield): Likewise.
697 (cpu_flags): Likewise.
698 (opcode_modifiers): Likewise.
699 (operand_types): Likewise.
701 (set_cpu_flags): Likewise.
702 (output_cpu_flags): Likewise.
703 (process_i386_cpu_flags): Likewise.
704 (output_opcode_modifier): Likewise.
705 (process_i386_opcode_modifier): Likewise.
706 (output_operand_type): Likewise.
707 (process_i386_operand_type): Likewise.
708 (set_bitfield): Likewise.
709 (operand_type_init): Likewise.
710 (process_i386_initializers): Likewise.
711 (process_i386_opcodes): Call process_i386_opcode_modifier to
712 process opcode_modifier. Call process_i386_operand_type to
713 process operand_types.
714 (process_i386_registers): Call process_i386_operand_type to
716 (main): Check unused bits in i386_cpu_flags and i386_operand_type.
717 Sort cpu_flags, opcode_modifiers and operand_types. Call
718 process_i386_initializers.
721 * i386-tbl.h: Regenerated.
723 * i386-opc.h: Include <limits.h>.
724 (CHAR_BIT): Define as 8 if not defined.
725 (Cpu186): Changed to position of bitfiled.
738 (Cpu3dnow): Likewise.
739 (Cpu3dnowA): Likewise.
741 (CpuPadLock): Likewise.
744 (CpuSSSE3): Likewise.
745 (CpuSSE4a): Likewise.
747 (CpuSSE4_1): Likewise.
748 (CpuSSE4_2): Likewise.
754 (ShortForm): Likewise.
756 (JumpDword): Likewise.
757 (JumpByte): Likewise.
758 (JumpInterSegment): Likewise.
765 (IgnoreSize): Likewise.
766 (DefaultSize): Likewise.
774 (IsString): Likewise.
775 (RegKludge): Likewise.
776 (IsPrefix): Likewise.
785 (FloatReg): Likewise.
795 (BaseIndex): Likewise.
801 (InOutPortReg): Likewise.
802 (ShiftCount): Likewise.
809 (FloatAcc): Likewise.
810 (JumpAbsolute): Likewise.
814 (Reg): Commented out.
816 (ImplicitRegister): Likewise.
821 (LLongMem): Likewise.
823 (ShortMem): Likewise.
828 (CpuNumOfUints): Likewise.
829 (CpuNumOfBits): Likewise.
830 (CpuUnused): Likewise.
831 (OTNumOfUints): Likewise.
832 (OTNumOfBits): Likewise.
833 (OTUnused): Likewise.
834 (i386_cpu_flags): New type.
835 (i386_operand_type): Likewise.
836 (i386_opcode_modifier): Likewise.
837 (CpuSledgehammer): Removed.
839 (CpuUnknownFlags): Likewise.
842 (ImplicitRegister): Likewise.
847 (LLongMem): Likewise.
849 (ShortMem): Likewise.
852 (template): Use i386_cpu_flags for cpu_flags, use
853 i386_opcode_modifier for opcode_modifier, use
854 i386_operand_type for operand_types.
855 (reg_entry): Use i386_operand_type for reg_type.
857 * Makefile.am (HFILES): Add i386-init.h.
858 ($(srcdir)/i386-init.h): New rule.
859 ($(srcdir)/i386-tbl.h): Depend on $(srcdir)/i386-init.h
861 * Makefile.in: Regenerated.
863 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
865 * i386-gen.c (next_field): Updated to take a separator.
866 (process_i386_opcodes): Updated.
867 (process_i386_registers): Likewise.
869 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
871 * i386-gen.c (table): Moved ...
872 (main): Here. Call process_copyright to output copyright.
873 (process_copyright): New.
874 (process_i386_opcodes): Take FILE *table.
875 (process_i386_registers): Likewise.
877 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
879 * i386-gen.c (table): New.
880 (process_i386_opcodes): Report errno when faied to open
881 i386-opc.tbl. Output opcodes to table. Close i386-opc.tbl
883 (process_i386_registers): Report errno when faied to open
884 i386-reg.tbl. Output opcodes to table. Close i386-reg.tbl
886 (main): Open i386-tbl.h for output.
888 * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@".
889 * Makefile.in: Regenerated.
891 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
893 * i386-opc.tbl: Correct SVME instructions to allow 32bit register
894 operand in 64bit mode.
895 * i386-tbl.h: Regenerated.
897 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
899 * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
900 (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
901 (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
903 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
905 * i386-dis.c (SVME_Fixup): Removed.
907 (OPC_EXT_RM_6): Likewise.
908 (grps): Use OPC_EXT_39.
909 (opc_ext_table): Add OPC_EXT_39.
910 (opc_ext_rm_table): Add OPC_EXT_RM_6.
912 * i386-opc.tbl: Correct SVME instructions to take register
914 * i386-tbl.h: Regenerated.
916 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
918 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
919 * Makefile.in: Regenerated.
921 * configure.in (AC_GNU_SOURCE): Added.
922 (AC_PROG_CC): Moved before AC_GNU_SOURCE.
923 (AC_CHECK_DECLS): Add stpcpy.
924 * configure: Regenerated.
925 * config.in: Likewise.
927 * i386-dis.c: Include "sysdep.h" before "dis-asm.h".
929 * sysdep.h (stpcpy): New.
931 2007-08-30 H.J. Lu <hongjiu.lu@intel.com>
933 * i386-dis.c (INVLPG_Fixup): Removed.
935 (OPC_EXT_RM_5): Likewise.
936 (grps): Use OPC_EXT_38.
937 (opc_ext_table): Add OPC_EXT_38.
938 (opc_ext_rm_table): Add OPC_EXT_RM_5.
940 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
942 * i386-dis.c (SIMD_Fixup): Removed.
943 (OPC_EXT_34...OPC_EXT_37): New.
944 (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
945 (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
946 (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
948 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
950 * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
951 (dis386): Use OPC_EXT_0...OPC_EXT_2.
952 (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
953 (grps): Updated to use OPC_EXT_6...OPC_EXT_31.
954 (prefix_user_table): Use OPC_EXT_32.
955 (x86_64_table): Use OPC_EXT_33.
956 (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
958 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
960 * i386-dis.c (prefix_user_table): Fix comment.
962 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
964 * i386-dis.c (OP_Skip_MODRM): New.
965 (OP_Monitor): Likewise.
966 (OP_Mwait): Likewise.
968 (Skip_MODRM): Likewise.
969 (USE_OPC_EXT_TABLE): Likewise.
970 (USE_OPC_EXT_RM_TABLE): Likewise.
971 (PREGRP98...PREGRP100): Likewise.
972 (OPC_EXT_0...OPC_EXT_24): Likewise.
973 (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
974 (lock_prefix): Likewise.
975 (data_prefix): Likewise.
976 (addr_prefix): Likewise.
977 (repz_prefix): Likewise.
978 (repnz_prefix): Likewise.
979 (opc_ext_table): Likewise.
980 (opc_ext_rm_table): Likewise.
981 (get_valid_dis386): Likewise.
984 (PNI_Fixup): Likewise.
985 (VMX_Fixup): Likewise.
987 (twobyte_uses_DATA_prefix): Likewise.
988 (twobyte_uses_REPNZ_prefix): Likewise.
989 (twobyte_uses_REPZ_prefix): Likewise.
990 (threebyte_0x38_uses_DATA_prefix): Likewise.
991 (threebyte_0x38_uses_REPNZ_prefix): Likewise.
992 (threebyte_0x38_uses_REPZ_prefix): Likewise.
993 (threebyte_0x3a_uses_DATA_prefix): Likewise.
994 (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
995 (threebyte_0x3a_uses_REPZ_prefix): Likewise.
996 (grps): Use OPC_EXT_0...OPC_EXT_24.
997 (prefix_user_table): Add PREGRP98...PREGRP100.
998 (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
999 uses_REPNZ_prefix and uses_REPZ_prefix. Initialize
1000 repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
1001 data_prefix based on prefixes. Call get_valid_dis386 to
1002 get a pointer to the valid dis386. Print out prefixes if
1004 (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
1005 (REP_Fixup): Set repz_prefix to "rep " when seeing
1008 2007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
1010 * po/nl.po: Updated translation.
1012 2007-08-28 H.J. Lu <hongjiu.lu@intel.com>
1014 * i386-dis.c (Md): New.
1015 (grps): Use 0 on invlpg. Use M on fxsave and fxrstor. Use
1016 Md on ldmxcsr and stmxcsr. Use b_mode on clflush.
1017 (OP_0fae): Clear bytemode for sfence.
1019 2007-08-22 Ben Elliston <bje@au.ibm.com>
1021 * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
1022 (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
1024 (powerpc_opcodes): Add all pair singles instructions.
1025 * ppc-dis.c (powerpc_dialect): Handle "ppcps".
1026 (print_ppc_disassembler_options): Document -Mppcps.
1028 2007-08-21 Andreas Krebbel <krebbel1@de.ibm.com>
1030 * s390-mkopc.c (struct s390_cond_ext_format): New global struct.
1031 (s390_cond_ext_format): New global variable.
1032 (expandConditionalJump): New function.
1033 (main): Invoke expandConditionalJump for mnemonics containing '*'.
1034 * s390-opc.txt: Replace mnemonics with conditional
1035 mask extensions with instructions using the newly introduced '*' tag.
1037 2007-08-17 Alan Modra <amodra@bigpond.net.au>
1039 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
1041 2007-08-10 Nick Clifton <nickc@redhat.com>
1043 * po/fi.po: Updated Finnish translation.
1044 * po/ga.po: Updated Irish translation.
1045 * po/vi.po: Updated Vietnamese translation.
1047 2007-08-09 H.J. Lu <hongjiu.lu@intel.com>
1049 * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
1050 pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
1051 * i386-tbl.h: Regenerated.
1053 2007-08-03 James E. Wilson <wilson@specifix.com>
1055 * ia64-gen.c: (main): Add missing newline to copyright message.
1056 * ia64-ic.tbl (fp-non-arith): Add xmpy.
1057 * ia64-asmtab.c: Regenerate.
1059 2007-08-01 Michael Snyder <msnyder@access-company.com>
1061 * i386-dis.c (print_insn): Guard against NULL.
1063 2007-07-29 H.J. Lu <hongjiu.lu@intel.com>
1066 * i386-dis.c (EXw): New.
1067 (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
1068 instructions when appropriated.
1070 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
1073 * i386-dis.c (Eq): New.
1074 (EMC): Renamed to ...
1075 (EMCq): This. Use q_mode instead of v_mode.
1076 (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
1079 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
1081 * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
1082 (prefix_user_table): Likewise. Use EXq instead of EXx on
1085 2007-07-27 Nathan Sidwell <nathan@codesourcery.com>
1087 * ppc-opc (PPC7450): New.
1088 (powerpc_opcodes): Use it in dcba.
1090 2007-07-24 H.J. Lu <hongjiu.lu@intel.com>
1092 * i386-gen.c (main): Print a newline after copyright notice.
1094 2007-07-19 Nick Clifton <nickc@redhat.com>
1097 * maxq-dis.c (get_reg_name): Fix the scan of the
1098 mem_access_syntax_table.
1100 2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
1102 * i386-dis.c (EMq): Removed.
1104 (prefix_user_table): Replace EMq with EMx.
1106 2007-07-16 Nick Clifton <nickc@redhat.com>
1108 * po/nl.po: Updated translation.
1110 2007-07-12 Nick Clifton <nickc@redhat.com>
1112 * po/vi.po: Updated translation.
1113 * po/nl.po: Updated translation.
1115 2007-07-06 Mark Kettenis <kettenis@gnu.org>
1116 H.J. Lu <hongjiu.lu@intel.com>
1118 * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
1119 (ia64-asmtab.c): Likewise.
1120 * Makefile.in: Regenerate.
1122 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
1124 * aclocal.m4: Regenerated.
1126 2007-07-04 Nick Clifton <nickc@redhat.com>
1128 * alpha-dis.c: Update copyright notice to refer to GPLv3.
1129 * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h,
1130 arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c,
1131 cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in,
1132 cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c,
1133 cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c,
1134 d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c,
1135 dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c,
1136 h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c,
1137 i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c,
1138 ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c,
1139 ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c,
1140 ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c,
1141 m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c,
1142 m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c,
1143 mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c,
1144 mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c,
1145 or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c,
1146 ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c,
1147 score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h,
1148 sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c,
1149 spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c,
1150 tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c,
1151 vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c,
1152 z8k-dis.c, z8kgen.c: Likewise.
1153 * i386-opc.tbl, i386-reg.tbl: Add copyright notice.
1154 * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h,
1155 fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c,
1156 frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c,
1157 frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c,
1158 ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h,
1159 iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c,
1160 iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c,
1161 m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c,
1162 m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
1163 m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c,
1164 mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c,
1165 mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c,
1166 mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c,
1167 openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c,
1168 openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h,
1169 xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h,
1170 xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h,
1171 xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c,
1172 xstormy16-opc.h, z8k-opc.h: Regenerated
1174 2007-07-04 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1176 * cr16-dis.c (getcinvstring): Add const qualifier to char *
1178 (print_insn_cr16): Remove cast to char *.
1180 2007-07-03 Nathan Sidwell <nathan@codesourcery.com>
1182 * m68k-dis.c (fetch_arg): Add E. Replace length switch with
1184 (print_ins_arg): Add j & K operand types.
1185 (match_insn_m68k): Check and skip initial '.' arg character.
1186 (m68k_scan_mask): Likewise.
1187 * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
1189 2007-07-02 Alan Modra <amodra@bigpond.net.au>
1191 * Makefile.am: Run "make dep-am".
1192 * Makefile.in: Regenerate.
1193 * aclocal.m4: Regenerate.
1194 * config.in: Regenerate.
1195 * po/POTFILES.in: Regenerate.
1196 * po/opcodes.pot: Regenerate.
1198 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
1200 * aclocal.m4: Regenerated.
1201 * Makefile.in: Likewise.
1203 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
1205 * i386-reg.tbl: Remove spaces before comments.
1207 2007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1209 * cr16-opc.c: New file.
1210 * cr16-dis.c: New file.
1211 * Makefile.am: Entries for cr16.
1212 * Makefile.in: Regenerate.
1213 * cofigure.in: Add cr16 target information.
1214 * configure : Regenerate.
1215 * disassemble.c: Add cr16 target information.
1217 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
1219 * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
1220 (CFILES): Add i386-gen.c.
1221 (i386-gen): New rule.
1222 (i386-gen.o): Likewise.
1223 (i386-tbl.h): Likewise.
1225 * Makefile.in: Regenerated.
1227 * i386-gen.c: New file.
1228 * i386-opc.tbl: Likewise.
1229 * i386-reg.tbl: Likewise.
1230 * i386-tbl.h: Likewise.
1232 * i386-opc.c: Include "i386-tbl.h".
1233 (i386_optab): Removed.
1234 (i386_regtab): Likewise.
1235 (i386_regtab_size): Likewise.
1237 2007-06-26 Paul Brook <paul@codesourcery.com>
1239 * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
1241 2007-06-25 H.J. Lu <hongjiu.lu@intel.com>
1243 * i386-opc.h (regKludge): Renamed to ...
1246 * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
1248 2007-06-23 H.J. Lu <hongjiu.lu@intel.com>
1251 * i386-dis.c (EX): Removed.
1257 (PREGRP93...PREGRP97): Likewise.
1258 (dis386_twobyte): Updated.
1259 (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
1260 (OP_EX): Remove Intel syntax handling.
1262 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
1264 * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
1266 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
1268 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
1270 * acinclude.m4: Removed.
1272 * Makefile.in: Regenerated.
1273 * doc/Makefile.in: Likewise.
1274 * aclocal.m4: Likewise.
1275 * configure: Likewise.
1277 2007-06-05 Paul Brook <paul@codesourcery.com>
1279 * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
1281 2007-05-24 Steve Ellcey <sje@cup.hp.com>
1283 * Makefile.in: Regnerate.
1284 * configure: Regenerate.
1285 * aclocal.m4: Regenerate.
1287 2007-05-18 Alan Modra <amodra@bigpond.net.au>
1289 * ppc-dis.c (print_insn_powerpc): Don't skip all operands
1290 after setting skip_optional.
1292 2007-05-16 Peter Bergner <bergner@vnet.ibm.com>
1294 * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
1295 (print_insn_powerpc): Use the new operand_value_powerpc and
1296 skip_optional_operands functions to omit or print all optional
1297 operands as a group.
1298 * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
1299 (XFL_MASK): Delete L and W bits from the mask.
1300 (mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK
1301 with XWRA_MASK. Use W.
1302 (mtfsf, mtfsf.): Use XFL_L and W.
1304 2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
1307 * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
1309 2007-05-10 H.J. Lu <hongjiu.lu@intel.com>
1311 * i386-opc.h (ShortForm): Redefined.
1313 (JumpDword): Likewise.
1314 (JumpByte): Likewise.
1315 (JumpInterSegment): Likewise.
1316 (FloatMF): Likewise.
1322 (IgnoreSize): Likewise.
1323 (DefaultSize): Likewise.
1324 (No_bSuf): Likewise.
1325 (No_wSuf): Likewise.
1326 (No_lSuf): Likewise.
1327 (No_sSuf): Likewise.
1328 (No_qSuf): Likewise.
1329 (No_xSuf): Likewise.
1331 (IsString): Likewise.
1332 (regKludge): Likewise.
1333 (IsPrefix): Likewise.
1335 (NoRex64): Likewise.
1339 2007-05-07 H.J. Lu <hongjiu.lu@intel.com>
1341 * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
1342 for some SSE4 instructions.
1343 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1345 2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
1347 * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
1349 * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
1352 2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
1354 * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
1355 check data size prefix in 16bit mode.
1357 * i386-opc.c (i386_optab): Default crc32 to non-8bit and
1360 2007-04-30 Mark Salter <msalter@redhat.com>
1362 * frv-desc.c: Regenerate.
1363 * frv-desc.h: Regenerate.
1365 2007-04-30 Alan Modra <amodra@bigpond.net.au>
1368 * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
1370 2007-04-27 H.J. Lu <hongjiu.lu@intel.com>
1372 * i386-dis.c (modrm): Put reg before rm.
1374 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1377 * i386-dis.c (print_displacement): New.
1378 (OP_E): Call print_displacement instead of print_operand_value
1379 to output displacement when either base or index exist. Print
1380 the explicit zero displacement in 16bit mode.
1382 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1385 * i386-dis.c (print_insn): Also swap the order of op_riprel
1386 when swapping op_index. Break when the RIP relative address
1388 (OP_E): Properly handle RIP relative addressing and print the
1389 explicit zero displacement for Intel mode.
1391 2007-04-27 Alan Modra <amodra@bigpond.net.au>
1393 * Makefile.am: Run "make dep-am".
1394 * Makefile.in: Regenerate.
1395 * ns32k-dis.c: Include sysdep.h first.
1397 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
1399 * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
1401 * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
1403 2007-04-24 Nick Clifton <nickc@redhat.com>
1405 * arm-dis.c (print_insn): Initialise type.
1407 2007-04-24 Alan Modra <amodra@bigpond.net.au>
1409 * cgen-types.h: Include bfd_stdint.h, not stdint.h.
1410 * Makefile.am: Run "make dep-am".
1411 * Makefile.in: Regenerate.
1413 2007-04-23 Nathan Sidwell <nathan@codesourcery.com>
1415 * m68k-opc.c: Mark mcfisa_c instructions.
1417 2007-04-21 Richard Earnshaw <rearnsha@arm.com>
1419 * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
1420 (thumb_opcodes): Add missing white space in adr.
1421 (arm_decode_shift): New parameter, print_shift. Only decode the
1422 shift parameter if set. Adjust callers.
1423 (print_insn_arm): Support for operand type q with no shift decode.
1425 2007-04-21 Alan Modra <amodra@bigpond.net.au>
1427 * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
1429 (i386_regtab): ..here.
1430 * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
1432 * ppc-opc.c (powerpc_operands): Delete duplicate entries.
1433 (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
1434 (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
1435 (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
1437 2007-04-20 Nathan Sidwell <nathan@codesourcery.com>
1439 * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
1442 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1444 * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
1446 * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
1447 in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove
1448 references to following deleted functions.
1449 (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
1450 (insert_ds, extract_ds, insert_de, extract_de): Delete.
1451 (insert_des, extract_des, insert_li, extract_li): Delete.
1452 (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
1453 (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
1454 (num_powerpc_operands): New constant.
1455 (XSPRG_MASK): Remove entire SPRG field.
1456 (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
1458 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1460 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
1462 (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
1464 2007-04-20 Richard Earnshaw <rearnsha@arm.com>
1466 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
1469 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1471 * Makefile.am: Run "make dep-am".
1472 * Makefile.in: Regenerate.
1473 * po/POTFILES.in: Regenerate.
1475 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1477 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
1478 db10cyc, db12cyc, db16cyc.
1480 2007-04-19 Nathan Froyd <froydnj@codesourcery.com>
1482 * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
1484 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1486 * i386-dis.c (CRC32_Fixup): New.
1487 (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
1489 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
1490 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1491 (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
1492 PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
1493 (three_byte_table): Likewise.
1495 * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
1497 * i386-opc.h (CpuSSE4_2): New.
1498 (CpuSSE4): Likewise.
1499 (CpuUnknownFlags): Add CpuSSE4_2.
1501 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1503 * i386-dis.c (XMM_Fixup): New.
1509 (PREGRP39 ... PREGRP85): New.
1510 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
1511 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1512 (prefix_user_table): Add PREGRP39 ... PREGRP85.
1513 (three_byte_table): Likewise.
1514 (putop): Handle 'K'.
1515 (intel_operand_size): Handle dqb_mode, dqd_mode):
1519 * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
1521 * i386-opc.h (CpuSSE4_1): New.
1522 (CpuUnknownFlags): Add CpuSSE4_1.
1523 (regKludge): Update comment.
1525 2007-04-18 Matthias Klose <doko@ubuntu.com>
1527 * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
1528 * Makefile.in: Regenerate.
1530 2007-04-14 Steve Ellcey <sje@cup.hp.com>
1532 * Makefile.am: Add ACLOCAL_AMFLAGS.
1533 * Makefile.in: Regenerate.
1535 2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
1537 * i386-dis.c: Remove trailing white spaces.
1538 * i386-opc.c: Likewise.
1539 * i386-opc.h: Likewise.
1541 2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
1544 * i386-dis.c (GRP1a): New.
1545 (GRP1b ... GRPPADLCK2): Update index.
1546 (dis386): Use GRP1a for entry 0x8f.
1547 (mod, rm, reg): Removed. Replaced by ...
1551 2007-04-09 Kazu Hirata <kazu@codesourcery.com>
1553 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
1554 info->print_address_func if longjmp is called.
1556 2007-03-29 DJ Delorie <dj@redhat.com>
1558 * m32c-desc.c: Regenerate.
1559 * m32c-dis.c: Regenerate.
1560 * m32c-opc.c: Regenerate.
1562 2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
1564 * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
1565 movq. Remove InvMem from sldt, smsw and str.
1567 * i386-opc.h (InvMem): Renamed to ...
1568 (RegMem): Update comments.
1569 (AnyMem): Remove InvMem.
1571 2007-03-27 Paul Brook <paul@codesourcery.com>
1573 * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
1575 2007-03-24 Paul Brook <paul@codesourcery.com>
1577 * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
1578 (print_insn_coprocessor): Handle %<bitfield>x.
1580 2007-03-24 Paul Brook <paul@codesourcery.com>
1581 Mark Shinwell <shinwell@codesourcery.com>
1583 * arm-dis.c (arm_opcodes): Print SRS base register.
1585 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
1587 * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
1589 * i386-opc.c (i386_optab): Add rex.wrxb.
1591 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1593 * i386-dis.c (REX_MODE64): Remove definition.
1594 (REX_EXTX): Likewise.
1595 (REX_EXTY): Likewise.
1596 (REX_EXTZ): Likewise.
1597 (USED_REX): Use REX_OPCODE instead of 0x40.
1598 Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
1599 REX_R, REX_X and REX_B respectively.
1601 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1604 * i386-dis.c (PREGRP38): New.
1605 (dis386): Use PREGRP38 for 0x90.
1606 (prefix_user_table): Add PREGRP38.
1607 (print_insn): Set uses_REPZ_prefix to 1 for pause.
1608 (NOP_Fixup1): Properly handle REX bits.
1609 (NOP_Fixup2): Likewise.
1611 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
1612 Allow register with nop.
1614 2007-03-20 DJ Delorie <dj@redhat.com>
1616 * m32c-asm.c: Regenerate.
1617 * m32c-desc.c: Regenerate.
1618 * m32c-desc.h: Regenerate.
1619 * m32c-dis.h: Regenerate.
1620 * m32c-ibld.c: Regenerate.
1621 * m32c-opc.c: Regenerate.
1622 * m32c-opc.h: Regenerate.
1624 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1626 * i386-opc.c: Include "libiberty.h".
1627 (i386_regtab): Remove the last entry.
1628 (i386_regtab_size): New.
1629 (i386_float_regtab_size): Likewise.
1631 * i386-opc.h (i386_regtab_size): New.
1632 (i386_float_regtab_size): Likewise.
1634 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1636 * Makefile.am (CFILES): Add i386-opc.c.
1637 (ALL_MACHINES): Add i386-opc.lo.
1639 * Makefile.in: Regenerated.
1641 * configure.in: Add i386-opc.lo for bfd_i386_arch.
1642 * configure: Regenerated.
1644 * i386-dis.c: Include "opcode/i386.h".
1645 (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
1646 (FWAIT_OPCODE): Remove definition.
1647 (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
1648 (MAX_OPERANDS): Remove definition.
1650 * i386-opc.c: New file.
1651 * i386-opc.h: Likewise.
1653 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1655 * Makefile.in: Regenerated.
1657 2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
1659 * i386-dis.c (OP_Rd): Renamed to ...
1664 2007-03-08 Alan Modra <amodra@bigpond.net.au>
1666 * fr30-asm.c: Regenerate.
1667 * frv-asm.c: Regenerate.
1668 * ip2k-asm.c: Regenerate.
1669 * iq2000-asm.c: Regenerate.
1670 * m32c-asm.c: Regenerate.
1671 * m32r-asm.c: Regenerate.
1672 * m32r-dis.c: Regenerate.
1673 * mt-asm.c: Regenerate.
1674 * mt-ibld.c: Regenerate.
1675 * mt-opc.c: Regenerate.
1676 * openrisc-asm.c: Regenerate.
1677 * xc16x-asm.c: Regenerate.
1678 * xstormy16-asm.c: Regenerate.
1680 * Makefile.am: Run "make dep-am".
1681 * Makefile.in: Regenerate.
1682 * po/POTFILES.in: Regenerate.
1684 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
1686 * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
1687 INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
1688 instruction formats added.
1689 (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
1690 MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
1692 * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
1694 * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1695 (main): z9-ec cpu type option added.
1696 * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1698 2007-02-22 DJ Delorie <dj@redhat.com>
1700 * s390-opc.c (INSTR_SS_L2RDRD): New.
1701 (MASK_SS_L2RDRD): New.
1702 * s390-opc.txt (pka): Use it.
1704 2007-02-20 Thiemo Seufer <ths@mips.com>
1705 Chao-Ying Fu <fu@mips.com>
1707 * mips-dis.c (mips_arch_choices): Add DSP R2 support.
1708 (print_insn_args): Add support for balign instruction.
1709 * mips-opc.c (D33): New shortcut for DSP R2 instructions.
1710 (mips_builtin_opcodes): Add DSP R2 instructions.
1712 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1714 * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
1715 (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
1716 * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
1717 cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
1719 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1721 * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
1722 * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
1723 (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
1726 2007-02-16 Nick Clifton <nickc@redhat.com>
1729 * avr-dis.c (comment_start): New variable, contains the prefix to
1730 use when printing addresses in comments.
1731 (print_insn_avr): Set comment_start to an empty space if there is
1732 no symbol table available as the generic address printing code
1733 will prefix the numeric value of the address with 0x.
1735 2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
1737 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
1740 2007-02-05 Dave Brolley <brolley@redhat.com>
1741 Richard Sandiford <rsandifo@redhat.com>
1742 DJ Delorie <dj@redhat.com>
1743 Graydon Hoare <graydon@redhat.com>
1744 Frank Ch. Eigler <fche@redhat.com>
1745 Ben Elliston <bje@redhat.com>
1747 * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
1748 (CFILES): Add mep-*.c
1749 (ALL_MACHINES): Add mep-*.lo.
1750 (CLEANFILES): Add stamp-mep.
1751 (CGEN_CPUS): Add mep.
1752 (MEP_DEPS): New variable.
1753 (mep-*): New targets.
1754 * configure.in: Handle bfd_mep_arch.
1755 * disassemble.c (ARCH_mep): New macro.
1756 (disassembler): Handle bfd_arch_mep.
1757 (disassemble_init_for_target): Likewise.
1758 * mep-*: New files for Toshiba Media Processor (MeP).
1759 * Makefile.in: Regenerated.
1760 * configure: Regenerated.
1762 2007-02-05 H.J. Lu <hongjiu.lu@intel.com>
1764 * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
1765 wrap around within the same segment in 16bit mode.
1767 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1769 * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
1772 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1774 * avr-dis.c (avr_operand): Correct PR number in comment.
1776 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1778 * disassemble.c (disassembler_usage): Call
1779 print_i386_disassembler_options for i386 disassembler.
1781 * i386-dis.c (print_i386_disassembler_options): New.
1782 (print_insn): Support the new addr64 option.
1784 2007-02-02 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
1786 * ppc-dis.c (powerpc_dialect): Handle ppc440.
1787 * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
1790 2007-02-02 Alan Modra <amodra@bigpond.net.au>
1792 * ppc-opc.c (insert_bdm): -Many comment.
1793 (valid_bo): Add "extract" param. Accept both powerpc and power4
1794 BO fields when disassembling with -Many.
1795 (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
1797 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
1799 * m68k-opc.c (m68k_opcodes): Replace cpu32 with
1800 cpu32 | fido_a except on tbl instructions.
1802 2007-01-04 Paul Brook <paul@codesourcery.com>
1804 * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
1806 2007-01-04 Andreas Schwab <schwab@suse.de>
1808 * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
1810 2007-01-04 Julian Brown <julian@codesourcery.com>
1812 * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
1813 vqrshl instructions.
1815 For older changes see ChangeLog-2006
1821 version-control: never