1 2007-12-21 H.J. Lu <hongjiu.lu@intel.com>
3 * Makefile.am (i386-gen.o): Also depend on
4 $(srcdir)/../include/opcode/i386.h.
5 * Makefile.in: Regenerated.
7 2007-11-29 Mark Shinwell <shinwell@codesourcery.com>
9 * mips-dis.c (mips_arch_choices): Add Loongson-2E and -2F
11 * mips-opc.c (IL2E): New.
13 (mips_builtin_opcodes): Add Loongson-2E and -2F instructions.
14 Allow movz and movn for Loongson-2E and -2F. Add movnz entry.
15 Move coprocessor encodings to the end of the table. Allow
16 certain MIPS V .ps instructions on the Loongson-2E and -2F.
18 2007-11-29 Mark Shinwell <shinwell@codesourcery.com>
20 * mips-opc.c (I3_32, I3_33, I4_32, I4_33, I5_33): New.
21 (mips_builtin_opcodes): Use these new I* values.
23 2007-11-27 Andreas Krebbel <krebbel1@de.ibm.com>
25 * s390-opc.txt ("tcet", "tcdt", "tcxt", "tget", "tgdt",
27 ("tdcet", "tdcdt", "tdcxt", "tdget", "tdgdt", "tdgxt"): Added.
29 2007-11-14 H.J. Lu <hongjiu.lu@intel.com>
31 * ia64-ic.tbl: Updated for Itanium 9100 series.
32 * ia64-raw.tbl: Likewise.
33 * ia64-waw.tbl: Likewise.
34 * ia64-asmtab.c: Regenerated.
36 2007-11-14 Tristan Gingold <gingold@adacore.com>
38 * ia64-dis.c (print_insn_ia64): Handle ar.ruc.
39 * ia64-gen.c (lookup_regindex): Likewise.
41 2007-11-07 Jens Arnold <jens@jens-arnold.net>
44 * m68k-opc.c (m68k_opcodes): Fix coldfire msac.w instructions with
47 2007-11-07 Tristan Gingold <gingold@adacore.com>
49 * ia64-dis.c (print_insn_ia64): Generate symbolic names for cr
50 registers instead of register number.
52 2007-11-07 David O'Brien <obrien@FreeBSD.org>
54 * arm-dis.c (arm_opcodes): Remove superflous escapes of percent
57 2007-11-06 Peter Bergner <bergner@vnet.ibm.com>
59 * ppc-opc.c (powerpc_opcodes): Remove the dcffix and dcffix. opcodes
60 which are not included in the "Preliminary Decimal Floating-Point
61 Architecture" document.
63 2007-11-01 H.J. Lu <hongjiu.lu@intel.com>
65 * i386-gen.c (opcode_modifiers): Replace No_xSuf with
67 * i386-opc.tbl: Likewise.
69 * i386-opc.h (No_xSuf): Renamed to ...
73 2007-11-01 H.J. Lu <hongjiu.lu@intel.com>
75 * i386-gen.c (opcode_modifiers): Add ByteOkIntel, ToDword,
76 ToQword and AddrPrefixOp0.
78 * i386-opc.h (ByteOkIntel): New.
81 (AddrPrefixOp0): Likewise.
83 (i386_opcode_modifier): Add byteokintel, todword, toqword
86 * i386-opc.tbl (cvtss2si): Add ToQword.
87 (cvttss2si): Likewise.
88 (cvtsd2si): Add ToDword.
89 (cvttsd2si): Likewise.
90 (monitor): Add AddrPrefixOp0.
95 (pextrb): Add ByteOkIntel.
97 * i386-tbl.h: Regenerated.
99 2007-10-31 H.J. Lu <hongjiu.lu@intel.com>
101 * i386-dis.c (USE_REG_TABLE): Defined as the previous one + 1.
102 (USE_REG_TABLE): Likewise.
103 (USE_MOD_TABLE): Likewise.
104 (USE_RM_TABLE): Likewise.
105 (USE_PREFIX_TABLE): Likewise.
106 (USE_X86_64_TABLE): Likewise.
107 (USE_3BYTE_TABLE): Likewise.
109 2007-10-26 H.J. Lu <hongjiu.lu@intel.com>
111 * i386-dis.c (MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3): New.
112 (MOD_0F51): Likewise.
113 (MOD_0FD7): Likewise.
114 (MOD_0FE7_PREFIX_2): Likewise.
115 (MOD_0F382A_PREFIX_2): Likewise.
116 (MOD_0F71_REG_2): Updated.
117 (MOD_0FF0_PREFIX_3): Likewise.
118 (MOD_62_32BIT): Likewise.
119 (dis386_twobyte): Use MOD_0F51 and MOD_0FD7.
120 (prefix_table): Use MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
121 MOD_0FE7_PREFIX_2 and MOD_0F382A_PREFIX_2.
122 (mod_table): Add MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
123 MOD_0F51, MOD_0FD7 and MOD_0F382A_PREFIX_2.
125 2007-10-26 Nick Clifton <nickc@redhat.com>
127 * arm-dis.c (print_insn): Check for a symtab that exists but is
130 2007-10-24 Alan Modra <amodra@bigpond.net.au>
132 * po/POTFILES.in: Regenerate.
134 2007-10-23 H.J. Lu <hongjiu.lu@intel.com>
136 * i386-dis.c (OP_SIMD_Suffix): Renamed to ...
137 (CMP_Fixup): This. Rewrite.
138 (OPSIMD): Renamed to ...
139 (CMP): This. Updated.
140 (prefix_table): Update PREFIX_0FC2 entry.
142 2007-10-22 H.J. Lu <hongjiu.lu@intel.com>
144 * i386-dis.c (prefix_table): Reordered by opcode.
145 (mod_table): Likewise.
147 2007-10-19 H.J. Lu <hongjiu.lu@intel.com>
149 * i386-dis.c (prefix_table): Use XS on psrldq and pslldq.
151 2007-10-17 Nathan Sidwell <nathan@codesourcery.com>
153 * m68k-opc.c (m68k_opcodes): Correct move sr and ccr masks for
156 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
158 * ppc-opc.c (powerpc_opcodes): Fix the first two operands of
159 dquaiq. to use the TE and FRT macros.
161 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
163 * ppc-opc.c (TE): Correct signedness.
164 (powerpc_opcodes): Sort psq_st and psq_stu according to major
167 2007-10-15 H.J. Lu <hongjiu.lu@intel.com>
169 * i386-dis.c (dis386_twobyte): Reformat.
170 (prefix_table): Likewise.
171 (three_byte_table): Likewise.
173 2007-10-15 Alan Modra <amodra@bigpond.net.au>
175 * mcore-dis.c (print_insn_mcore): Protect "fprintf" var against
178 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
180 * i386-gen.c (opcode_modifiers): Add FirstXmm0.
182 * i386-opc.h (FirstXmm0): New.
184 (i386_opcode_modifier): Add firstxmm0.
186 * i386-opc.tbl (blendvpd): Replace RegKludge with FirstXmm0.
187 (blendvps): Likewise.
188 (pblendvb): Likewise.
189 * i386-tbl.h: Regenerated.
191 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
193 * i386-dis.c (prefix_table): Reformat pblendvb and blendvps.
195 2007-10-10 H.J. Lu <hongjiu.lu@intel.com>
197 * i386-dis.c (v_mode): Defined as previous one + 1.
204 (cond_jump_mode): Likewise.
205 (loop_jcxz_mode): Likewise.
207 (dqw_mode): Likewise.
209 (const_1_mode): Likewise.
210 (stack_v_mode): Likewise.
213 (dqb_mode): Likewise.
214 (dqd_mode): Likewise.
253 (z_mode_ax_reg): Likewise.
254 (indir_dx_reg): Likewise.
256 (DREX_NO_OC0): Likewise.
257 (DREX_MASK): Likewise.
258 (MAX_BYTEMODE): New. Issue an error if MAX_BYTEMODE is not
261 2007-10-08 H.J. Lu <hongjiu.lu@intel.com>
263 * i386-dis.c: Updated comments for 'Y'.
264 (putop): Don't add 'q' for 'Y' if suffix_always isn't true.
266 2007-10-08 Maciej W. Rozycki <macro@linux-mips.org>
268 * opcodes/mips-dis.c (mips_cp0_names_r3000): New definition.
269 (mips_cp0_names_r4000): Likewise.
270 (mips_arch_choices): Link to the above as appropriate.
272 2007-10-08 Nick Clifton <nickc@redhat.com>
274 * configure.in (SHARED_DEPENDENCIES): Change non-cygwin dependency
275 to be ../bfd/libbfd.la.
276 * configure: Regenerate.
278 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
280 * i386-dis.c (dis386_twobyte): Add getsec.
282 * i386-gen.c (cpu_flags): Add CpuSMX.
284 * i386-opc.h (CpuSMX): New.
286 (i386_cpu_flags): Add cpusmx.
288 * i386-opc.tbl: Add getsec.
289 * i386-init.h: Regenerated.
290 * i386-tbl.h: Likewise.
292 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
294 * i386-dis.c (reg_table): Use "{ XX }" on "(bad)".
295 (prefix_table): Likewise.
297 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
299 * i386-dis.c (dis386_twobyte): Use EXx instead of EXq on
300 unpckhpX and unpckhpX.
302 2007-10-04 David Daney <ddaney@avtrex.com>
304 * mips-opc.c (mips_builtin_opcodes): Mark lwxc1 as working on FP_S
307 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
309 * i386-dis.c (MOD_0F12_PREFIX_0): Use "movlps" and "movhlps"
310 instead of "movlpX" and "movhlpX", respectively.
311 (MOD_0F16_PREFIX_0): Use "movhps" and "movlhps" instead of
312 "movhpX" and "movlhpX", respectively.
314 2007-10-04 Nick Clifton <nickc@redhat.com>
316 * configure.in (WIN32LDFLAGS): Rename to SHARED_LDFLAGS.
317 (WIN32LIBADD): Rename to SHARED_LIBADD
318 (SHARED_DEPENDENCIES): New exported variable.
319 (enable_shared): Add dependency upon libbfd.la for non-cygwin
320 based shared library builds.
321 * Makefile.am (libopcodes_la_DEPENDENCIES): Append
323 (libopcodes_la_LIBADD): Rename WIN32LIBADD to SHARED_LIBADD.
324 (libopcodes_la_LDFLAGS): Rename WIN32LDFLAGS to SHARED_LDFLAGS.
325 * configure: Regenerate.
326 * Makefile.in: Regenerate.
329 * arc-opc.c (insert_offset): Fix spelling mistake in error
332 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
334 * i386-dis.c (OP_REG): Set add to 0 only when needed.
343 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
345 * i386-opc.tbl: Update SSE comments.
347 2007-10-01 H.J. Lu <hongjiu.lu@intel.com>
349 * i386-dis.c (THREE_BYTE_0FBA): Renamed to ...
350 (THREE_BYTE_0F7B): This.
351 (dis386_twobyte): Updated.
352 (three_byte_table): Updated comments.
354 2007-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
356 * cr16-opc.c: Updated the branch on condition instructions with
359 2007-09-30 H.J. Lu <hongjiu.lu@intel.com>
361 * 386-dis.c (prefix_table): Reformat comment.
363 2007-09-29 H.J. Lu <hongjiu.lu@intel.com>
365 * 386-dis.c (USE_GROUPS): Renamed to ...
366 (USE_REG_TABLE): This.
367 (USE_OPC_EXT_TABLE): Renamed to ...
368 (USE_MOD_TABLE): This.
369 (USE_OPC_EXT_RM_TABLE): Renamed to ...
370 (USE_RM_TABLE): This.
371 (USE_XXX_TABLE): Reordered.
372 (GRP): Renamed to ...
374 (OPC_EXT_TABLE): Renamed to ...
376 (OPC_EXT_RM_TABLE): Renamed to ...
378 (GRP_XXX): Renamed to ...
380 (PREGRP_XXX): Renamed to ...
382 (OPC_EXT_XXX): Renamed to ...
384 (OPC_EXT_RM_XXX): Renamed to ...
386 (grps): Renamed to ...
388 (prefix_user_table): Renamed to ...
390 (opc_ext_table): Renamed to ...
392 (opc_ext_rm_table): Renamed to ...
394 (OPC_EXT_RM_XXX): Likewise.
396 (dis386_twobyte): Likewise.
397 (reg_table): Likewise.
398 (prefix_table): Likewise.
399 (x86_64_table): Likewise.
400 (three_byte_table): Likewise.
401 (mod_table): Likewise.
402 (rm_table): Likewise.
403 (get_valid_dis386): Likewise.
405 2007-09-28 H.J. Lu <hongjiu.lu@intel.com>
407 * 386-dis.c (USE_PREFIX_USER_TABLE): Renamed to ...
408 (USE_PREFIX_TABLE): This.
409 (X86_64_SPECIAL): Renamed to ...
410 (USE_X86_64_TABLE): This.
411 (IS_3BYTE_OPCODE): Renamed to ...
412 (USE_3BYTE_TABLE): This.
414 (PREGRPXXX): Likewise.
415 (X86_64_XXX): Likewise.
416 (THREE_BYTE_XXX): Likewise.
417 (OPC_EXT_XXX): Likewise.
418 (OPC_EXT_RM_XXX): Likewise.
422 (X86_64_TABLE): Likewise.
423 (THREE_BYTE_TABLE): Likewise.
424 (OPC_EXT_TABLE): Likewise.
425 (OPC_EXT_RM_TABLE): Likewise.
427 (PREGRP_XXX): Likewise.
428 (X86_64_XXX): Likewise.
429 (THREE_BYTE_XXX): Likewise.
430 (OPC_EXT_XXX): Likewise.
431 (OPC_EXT_RM_XXX): Likewise.
433 (dis386_twobyte): Likewise.
435 (prefix_user_table): Likewise.
436 (x86_64_table): Likewise.
437 (three_byte_table): Likewise.
438 (opc_ext_table): Likewise.
439 (opc_ext_rm_table): Likewise.
440 (get_valid_dis386): Likewise.
442 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
444 * i386-dis.c (dis386): Swap X86_64_27 with OPC_EXT_2.
445 (x86_64_table): Likewise.
446 (opc_ext_table): Likewise.
448 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
451 * i386-dis.c: Update comments on '{', '}' and '|' to support
452 only AT&T and Intel modes.
453 (X86_64_4...X86_64_27): New.
454 (dis386): Updated. Use X86_64_4...X86_64_21.
455 (dis386_twobyte): Updated.
456 (float_mem): Likewise.
457 (x86_64_table): Add X86_64_4...X86_64_27.
458 (opc_ext_table): Updated. Use X86_64_22...X86_64_27.
459 (putop): Updated handling of '{', '}' and '|' to support only
460 AT&T and Intel modes.
462 2007-09-27 Kazu Hirata <kazu@codesourcery.com>
464 * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb.
466 2007-09-26 James E. Wilson <wilson@specifix.com>
468 * ia64-gen.c (print_dependency_table): Fix typo in last patch.
470 2007-09-26 Nick Clifton <nickc@redhat.com>
472 * mt-asm.c (parse_imm16): Reword error message in order to allow
473 it to be translated properly.
474 * ia64-gen.c (print_dependency_table): Likewise.
475 * mips-dis.c (print_insn_args): Likewise.
477 2007-09-26 Jan Beulich <jbeulich@novell.com>
479 * i386-dis.c (OP_E_extended): Distinguish rip- and eip-
480 relative addressing. Update used_prefixes based on whether any
481 base or index register was printed.
483 2007-09-26 Jan Beulich <jbeulich@novell.com>
485 * i386-opc.h (RegEip): Define.
487 * i386-reg.tbl: Add eip. Mark rip and eip with RegRex64.
488 * i386-tbl.h: Re-generate.
490 2007-09-25 H.J. Lu <hongjiu.lu@intel.com>
492 * i386-gen.c (process_i386_opcodes): Process opcode_length.
494 * i386-opc.h (template): Add opcode_length.
495 * 386-opc.tbl: Likewise.
496 * i386-tbl.h: Regenerated.
498 2007-09-21 H.J. Lu <hongjiu.lu@intel.com>
500 * i386-opc.h: Adjust whitespaces.
502 2007-09-21 Dave Brolley <brolley@redhat.com>
504 * mep-desc.c: Regenerated.
506 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
508 * i386-dis.c (OP_E_extended): Display eiz for [eiz*1 + offset].
510 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
513 * 386-dis.c (index64): New.
515 (intel_index64): Likewise.
516 (intel_index32): Likewise.
517 (att_index64): Likewise.
518 (att_index32): Likewise.
519 (print_insn): Set index64 and index32.
520 (OP_E_extended): Use index64/index32 for index register for
523 * i386-opc.h (RegEiz): New.
526 * i386-reg.tbl: Add eiz and riz.
527 * i386-tbl.h: Regenerated.
529 2007-09-19 H.J. Lu <hongjiu.lu@intel.com>
531 * i386-dis.c (OP_E_extended): Always display scale for memory.
533 2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
535 * i386-opc.h (RegRip): New.
537 * i386-reg.tbl (rip): Use RegRip for reg_num.
538 * i386-tbl.h: Regenerated.
540 2007-09-17 Nick Clifton <nickc@redhat.com>
542 * po/es.po: Updated Spanish translation.
544 2007-09-14 H.J. Lu <hongjiu.lu@intel.com>
546 * Makefile.am: Run "make dep-am".
547 * Makefile.in: Regenerate.
549 2007-09-14 Michael Meissner <michael.meissner@amd.com>
550 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
551 Tony Linthicum <tony.linthicum@amd.com>
553 * i386-opc.h (CpuSSE5): New macro.
554 (i386_cpu_flags): Add Drex, Drexv and Drexc.
556 * i386-gen.c (cpu_flag_init): Add CPU_SSE5_FLAGS.
557 (operand_type_init): Add CpuSSE5.
558 (opcode_modifiers): Add Drex, Drexv and Drexc.
559 (i386_opcode_modifier): Ditto.
561 * i386-opc.tbl (fmaddps,fmaddpd,fmaddss,fmaddsd): Define SSE5
563 (fmsubps,fmsubpd,fmsubss,fmsubsd): Ditto.
564 (fnmaddps,fnmaddpd,fnmaddss,fnmaddsd): Ditto.
565 (fnmsubps,fnmsubpd,fnmsubss,fnmsubsd): Ditto.
566 (pmacssww,pmacsww,pmacsswd,pmacswd): Ditto.
567 (pmacssdd,pmacsdd,pmacssdql,pmacssdqh): Ditto.
568 (pmacsdql,pmacsdqh,pmadcsswd,pmadcswd): Ditto.
569 (phaddbw,phaddbd,phaddbq,phaddwd): Ditto.
570 (phaddwq,phadddq,phaddubw,phaddubd): Ditto.
571 (phaddubq,phadduwd,phadduwq,phaddudq): Ditto.
572 (phsubbw,phsubwd,phsubdq): Ditto.
573 (pcmov,pperm,permps,permpd): Ditto.
574 (protb,protw,protd,protq): Ditto.
575 (pshlb,pshlw,pshld,pshlq): Ditto.
576 (pshab,pshaw,pshad,pshaq): Ditto.
577 (comps,comeqps,comltps,comungeps,comleps,comungtps): Ditto.
578 (comunordps,comneps,comneqps,comnltps,comugeps): Ditto.
579 (comnleps,comugtps,comordps,comueqps,comultps): Ditto.
580 (comngeps,comuleps,comngtps,comfalseps,comuneps): Ditto.
581 (comuneqps,comunltps,comgeps,comunleps,comgtps,comtrueps): Ditto.
582 (compd,comeqpd,comltpd,comungepd,comlepd,comungtpd,comunordpd): Ditto.
583 (comnepd,comneqpd,comnltpd,comugepd,comnlepd,comugtpd): Ditto.
584 (comordpd,comueqpd,comultpd,comngepd,comulepd,comngtpd): Ditto.
585 (comfalsepd,comunepd,comuneqpd,comunltpd,comgepd): Ditto.
586 (comunlepd,comgtpd,comtruepd): Ditto.
587 (comss,comeqss,comltss,comungess,comless,comungtss,comunordss): Ditto.
588 (comness,comneqss,comnltss,comugess,comnless,comugtss): Ditto.
589 (comordss,comueqss,comultss,comngess,comuless,comngtss): Ditto.
590 (comfalsess,comuness,comuneqss,comunltss,comgess): Ditto.
591 (comunless,comgtss,comtruess): Ditto.
592 (comsd,comeqsd,comltsd,comungesd,comlesd,comungtsd,comunordsd): Ditto.
593 (comnesd,comneqsd,comnltsd,comugesd,comnlesd,comugtsd): Ditto.
594 (comordsd,comueqsd,comultsd,comngesd,comulesd,comngtsd): Ditto.
595 (comfalsesd,comunesd,comuneqsd,comunltsd,comgesd): Ditto.
596 (comunlesd,comgtsd,comtruesd): Ditto.
597 (pcomub,pcomltub,pcomleub,pcomgtub,pcomgeub,pcomequb): Ditto.
598 (pcomnequb,pcomneub): Ditto.
599 (pcomuw,pcomltuw,pcomleuw,pcomgtuw,pcomgeuw,pcomequw): Ditto.
600 (pcomnequw,pcomneuw): Ditto.
601 (pcomud,pcomltud,pcomleud,pcomgtud,pcomgeud,pcomequd): Ditto.
602 (pcomnequd,pcomneud): Ditto.
603 (pcomuq,pcomltuq,pcomleuq,pcomgtuq,pcomgeuq,pcomequq): Ditto.
604 (pcomnequq,pcomneuq): Ditto.
605 (pcomb,pcomltb,pcomleb,pcomgtb,pcomgeb,pcomeqb): Ditto.
606 (pcomneqb,pcomneb): Ditto.
607 (pcomw,pcomltw,pcomlew,pcomgtw,pcomgew,pcomeqw): Ditto.
608 (pcomneqw,pcomnew): Ditto.
609 (pcomd,pcomltd,pcomled,pcomgtd,pcomged,pcomeqd): Ditto.
610 (pcomneqd,pcomned): Ditto.
611 (pcomq,pcomltq,pcomleq,pcomgtq,pcomgeq): Ditto.
612 (pcomeqq,pcomneqq,pcomneq): Ditto.
613 (pcomtrueb, pcomtruew, pcomtrued, pcomtrueq): Ditto.
614 (pcomtrueub, pcomtrueuw, pcomtrueud, pcomtrueuq): Ditto.
615 (pcomfalseb, pcomfalsew, pcomfalsed, pcomfalseq): Ditto.
616 (pcomfalseub, pcomfalseuw, pcomfalseud, pcomfalseuq): Ditto.
617 (frczps,frczpd,frczss,frczsd): Ditto.
618 (cvtph2ps,cvtps2ph): Ditto.
620 * i386-tbl.h: Regenerate from i386-opc.tbl.
621 * i386-init.h: Likewise.
623 * i386-dis.c (libiberty.h): Include to get ARRAY_SIZE.
624 (dis386_move_test): New disassembly support for move from test
625 register instruction that overlaps with SSE5 instructions.
626 (print_insn): Add support for special casing the i386/i486 move
627 from test register instruction that overlaps with the SSE5
628 0x0f24 4 operand instructions.
629 (OP_DREX_ICMP): New macros for SSE5 DREX handling.
630 (OP_DREX_FCMP): Ditto.
631 (OP_E_extended): Rename from OP_E, add additional argument to skip
633 (OP_E): Call OP_E_extended.
634 (DREX_REG_MEMORY): New macros for drex handling.
635 (DREX_REG_UNKNOWN): Ditto.
637 (DREX4_NO_OC0): Ditto.
639 (three_byte_table): Add SSE5 instructions.
640 (print_drex_arg): New function to print a DREX register or memory
642 (OP_DREX4): New function for handling DREX 4 argument ops.
643 (OP_DREX3): New function for handling DREX 3 argument ops.
644 (twobyte_has_modrm): 0f{25,7a,7b} all use the modrm byte.
645 (THREE_BYTE_SSE5_0F{24,25,7A,7B}): New macros for initializing 3
646 byte opcode support for SSE5 instructions.
647 (dis386_twobyte): Add SSE5 24/25/7a/7b support.
648 (three_byte_table): Add rows for describing SSE5 instructions.
650 2007-09-13 H.J. Lu <hongjiu.lu@intel.com>
652 * i386-dis.c (get_valid_dis386): Take a pointer to
653 disassemble_info. Handle IS_3BYTE_OPCODE.
654 (print_insn): Updated. Don't handle IS_3BYTE_OPCODE here.
656 2007-09-12 H.J. Lu <hongjiu.lu@intel.com>
658 * i386-opc.h (CpuUnused): Defined with CpuMax.
659 (OTUnused): Defined with OTMax.
661 2007-09-12 Jan Beulich <jbeulich@novell.com>
663 * i386-opc.tbl: Add two-operand forms of blendvps, blendvpd, and
665 * i386-tbl.h: Regenerate.
667 2007-09-09 H.J. Lu <hongjiu.lu@intel.com>
669 * i386-gen.c (main): Remove the local variable, unused.
671 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
673 * Makefile.am: Run "make dep-am".
674 * Makefile.in: Regenerate.
676 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
678 * configure.in (AC_CHECK_HEADERS): Add limits.h.
679 * configure: Regenerated.
680 * config.in: Likewise.
682 * i386-gen.c: Include "sysdep.h" instead of <stdlib.h> and
683 <string.h>. Use xstrerror instead of strerror.
685 (cpu_flag_init): Likewise.
686 (bitfield): Likewise.
688 (cpu_flags): Likewise.
689 (opcode_modifiers): Likewise.
690 (operand_types): Likewise.
692 (set_cpu_flags): Likewise.
693 (output_cpu_flags): Likewise.
694 (process_i386_cpu_flags): Likewise.
695 (output_opcode_modifier): Likewise.
696 (process_i386_opcode_modifier): Likewise.
697 (output_operand_type): Likewise.
698 (process_i386_operand_type): Likewise.
699 (set_bitfield): Likewise.
700 (operand_type_init): Likewise.
701 (process_i386_initializers): Likewise.
702 (process_i386_opcodes): Call process_i386_opcode_modifier to
703 process opcode_modifier. Call process_i386_operand_type to
704 process operand_types.
705 (process_i386_registers): Call process_i386_operand_type to
707 (main): Check unused bits in i386_cpu_flags and i386_operand_type.
708 Sort cpu_flags, opcode_modifiers and operand_types. Call
709 process_i386_initializers.
712 * i386-tbl.h: Regenerated.
714 * i386-opc.h: Include <limits.h>.
715 (CHAR_BIT): Define as 8 if not defined.
716 (Cpu186): Changed to position of bitfiled.
729 (Cpu3dnow): Likewise.
730 (Cpu3dnowA): Likewise.
732 (CpuPadLock): Likewise.
735 (CpuSSSE3): Likewise.
736 (CpuSSE4a): Likewise.
738 (CpuSSE4_1): Likewise.
739 (CpuSSE4_2): Likewise.
745 (ShortForm): Likewise.
747 (JumpDword): Likewise.
748 (JumpByte): Likewise.
749 (JumpInterSegment): Likewise.
756 (IgnoreSize): Likewise.
757 (DefaultSize): Likewise.
765 (IsString): Likewise.
766 (RegKludge): Likewise.
767 (IsPrefix): Likewise.
776 (FloatReg): Likewise.
786 (BaseIndex): Likewise.
792 (InOutPortReg): Likewise.
793 (ShiftCount): Likewise.
800 (FloatAcc): Likewise.
801 (JumpAbsolute): Likewise.
805 (Reg): Commented out.
807 (ImplicitRegister): Likewise.
812 (LLongMem): Likewise.
814 (ShortMem): Likewise.
819 (CpuNumOfUints): Likewise.
820 (CpuNumOfBits): Likewise.
821 (CpuUnused): Likewise.
822 (OTNumOfUints): Likewise.
823 (OTNumOfBits): Likewise.
824 (OTUnused): Likewise.
825 (i386_cpu_flags): New type.
826 (i386_operand_type): Likewise.
827 (i386_opcode_modifier): Likewise.
828 (CpuSledgehammer): Removed.
830 (CpuUnknownFlags): Likewise.
833 (ImplicitRegister): Likewise.
838 (LLongMem): Likewise.
840 (ShortMem): Likewise.
843 (template): Use i386_cpu_flags for cpu_flags, use
844 i386_opcode_modifier for opcode_modifier, use
845 i386_operand_type for operand_types.
846 (reg_entry): Use i386_operand_type for reg_type.
848 * Makefile.am (HFILES): Add i386-init.h.
849 ($(srcdir)/i386-init.h): New rule.
850 ($(srcdir)/i386-tbl.h): Depend on $(srcdir)/i386-init.h
852 * Makefile.in: Regenerated.
854 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
856 * i386-gen.c (next_field): Updated to take a separator.
857 (process_i386_opcodes): Updated.
858 (process_i386_registers): Likewise.
860 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
862 * i386-gen.c (table): Moved ...
863 (main): Here. Call process_copyright to output copyright.
864 (process_copyright): New.
865 (process_i386_opcodes): Take FILE *table.
866 (process_i386_registers): Likewise.
868 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
870 * i386-gen.c (table): New.
871 (process_i386_opcodes): Report errno when faied to open
872 i386-opc.tbl. Output opcodes to table. Close i386-opc.tbl
874 (process_i386_registers): Report errno when faied to open
875 i386-reg.tbl. Output opcodes to table. Close i386-reg.tbl
877 (main): Open i386-tbl.h for output.
879 * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@".
880 * Makefile.in: Regenerated.
882 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
884 * i386-opc.tbl: Correct SVME instructions to allow 32bit register
885 operand in 64bit mode.
886 * i386-tbl.h: Regenerated.
888 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
890 * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
891 (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
892 (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
894 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
896 * i386-dis.c (SVME_Fixup): Removed.
898 (OPC_EXT_RM_6): Likewise.
899 (grps): Use OPC_EXT_39.
900 (opc_ext_table): Add OPC_EXT_39.
901 (opc_ext_rm_table): Add OPC_EXT_RM_6.
903 * i386-opc.tbl: Correct SVME instructions to take register
905 * i386-tbl.h: Regenerated.
907 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
909 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
910 * Makefile.in: Regenerated.
912 * configure.in (AC_GNU_SOURCE): Added.
913 (AC_PROG_CC): Moved before AC_GNU_SOURCE.
914 (AC_CHECK_DECLS): Add stpcpy.
915 * configure: Regenerated.
916 * config.in: Likewise.
918 * i386-dis.c: Include "sysdep.h" before "dis-asm.h".
920 * sysdep.h (stpcpy): New.
922 2007-08-30 H.J. Lu <hongjiu.lu@intel.com>
924 * i386-dis.c (INVLPG_Fixup): Removed.
926 (OPC_EXT_RM_5): Likewise.
927 (grps): Use OPC_EXT_38.
928 (opc_ext_table): Add OPC_EXT_38.
929 (opc_ext_rm_table): Add OPC_EXT_RM_5.
931 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
933 * i386-dis.c (SIMD_Fixup): Removed.
934 (OPC_EXT_34...OPC_EXT_37): New.
935 (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
936 (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
937 (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
939 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
941 * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
942 (dis386): Use OPC_EXT_0...OPC_EXT_2.
943 (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
944 (grps): Updated to use OPC_EXT_6...OPC_EXT_31.
945 (prefix_user_table): Use OPC_EXT_32.
946 (x86_64_table): Use OPC_EXT_33.
947 (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
949 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
951 * i386-dis.c (prefix_user_table): Fix comment.
953 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
955 * i386-dis.c (OP_Skip_MODRM): New.
956 (OP_Monitor): Likewise.
957 (OP_Mwait): Likewise.
959 (Skip_MODRM): Likewise.
960 (USE_OPC_EXT_TABLE): Likewise.
961 (USE_OPC_EXT_RM_TABLE): Likewise.
962 (PREGRP98...PREGRP100): Likewise.
963 (OPC_EXT_0...OPC_EXT_24): Likewise.
964 (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
965 (lock_prefix): Likewise.
966 (data_prefix): Likewise.
967 (addr_prefix): Likewise.
968 (repz_prefix): Likewise.
969 (repnz_prefix): Likewise.
970 (opc_ext_table): Likewise.
971 (opc_ext_rm_table): Likewise.
972 (get_valid_dis386): Likewise.
975 (PNI_Fixup): Likewise.
976 (VMX_Fixup): Likewise.
978 (twobyte_uses_DATA_prefix): Likewise.
979 (twobyte_uses_REPNZ_prefix): Likewise.
980 (twobyte_uses_REPZ_prefix): Likewise.
981 (threebyte_0x38_uses_DATA_prefix): Likewise.
982 (threebyte_0x38_uses_REPNZ_prefix): Likewise.
983 (threebyte_0x38_uses_REPZ_prefix): Likewise.
984 (threebyte_0x3a_uses_DATA_prefix): Likewise.
985 (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
986 (threebyte_0x3a_uses_REPZ_prefix): Likewise.
987 (grps): Use OPC_EXT_0...OPC_EXT_24.
988 (prefix_user_table): Add PREGRP98...PREGRP100.
989 (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
990 uses_REPNZ_prefix and uses_REPZ_prefix. Initialize
991 repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
992 data_prefix based on prefixes. Call get_valid_dis386 to
993 get a pointer to the valid dis386. Print out prefixes if
995 (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
996 (REP_Fixup): Set repz_prefix to "rep " when seeing
999 2007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
1001 * po/nl.po: Updated translation.
1003 2007-08-28 H.J. Lu <hongjiu.lu@intel.com>
1005 * i386-dis.c (Md): New.
1006 (grps): Use 0 on invlpg. Use M on fxsave and fxrstor. Use
1007 Md on ldmxcsr and stmxcsr. Use b_mode on clflush.
1008 (OP_0fae): Clear bytemode for sfence.
1010 2007-08-22 Ben Elliston <bje@au.ibm.com>
1012 * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
1013 (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
1015 (powerpc_opcodes): Add all pair singles instructions.
1016 * ppc-dis.c (powerpc_dialect): Handle "ppcps".
1017 (print_ppc_disassembler_options): Document -Mppcps.
1019 2007-08-21 Andreas Krebbel <krebbel1@de.ibm.com>
1021 * s390-mkopc.c (struct s390_cond_ext_format): New global struct.
1022 (s390_cond_ext_format): New global variable.
1023 (expandConditionalJump): New function.
1024 (main): Invoke expandConditionalJump for mnemonics containing '*'.
1025 * s390-opc.txt: Replace mnemonics with conditional
1026 mask extensions with instructions using the newly introduced '*' tag.
1028 2007-08-17 Alan Modra <amodra@bigpond.net.au>
1030 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
1032 2007-08-10 Nick Clifton <nickc@redhat.com>
1034 * po/fi.po: Updated Finnish translation.
1035 * po/ga.po: Updated Irish translation.
1036 * po/vi.po: Updated Vietnamese translation.
1038 2007-08-09 H.J. Lu <hongjiu.lu@intel.com>
1040 * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
1041 pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
1042 * i386-tbl.h: Regenerated.
1044 2007-08-03 James E. Wilson <wilson@specifix.com>
1046 * ia64-gen.c: (main): Add missing newline to copyright message.
1047 * ia64-ic.tbl (fp-non-arith): Add xmpy.
1048 * ia64-asmtab.c: Regenerate.
1050 2007-08-01 Michael Snyder <msnyder@access-company.com>
1052 * i386-dis.c (print_insn): Guard against NULL.
1054 2007-07-29 H.J. Lu <hongjiu.lu@intel.com>
1057 * i386-dis.c (EXw): New.
1058 (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
1059 instructions when appropriated.
1061 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
1064 * i386-dis.c (Eq): New.
1065 (EMC): Renamed to ...
1066 (EMCq): This. Use q_mode instead of v_mode.
1067 (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
1070 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
1072 * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
1073 (prefix_user_table): Likewise. Use EXq instead of EXx on
1076 2007-07-27 Nathan Sidwell <nathan@codesourcery.com>
1078 * ppc-opc (PPC7450): New.
1079 (powerpc_opcodes): Use it in dcba.
1081 2007-07-24 H.J. Lu <hongjiu.lu@intel.com>
1083 * i386-gen.c (main): Print a newline after copyright notice.
1085 2007-07-19 Nick Clifton <nickc@redhat.com>
1088 * maxq-dis.c (get_reg_name): Fix the scan of the
1089 mem_access_syntax_table.
1091 2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
1093 * i386-dis.c (EMq): Removed.
1095 (prefix_user_table): Replace EMq with EMx.
1097 2007-07-16 Nick Clifton <nickc@redhat.com>
1099 * po/nl.po: Updated translation.
1101 2007-07-12 Nick Clifton <nickc@redhat.com>
1103 * po/vi.po: Updated translation.
1104 * po/nl.po: Updated translation.
1106 2007-07-06 Mark Kettenis <kettenis@gnu.org>
1107 H.J. Lu <hongjiu.lu@intel.com>
1109 * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
1110 (ia64-asmtab.c): Likewise.
1111 * Makefile.in: Regenerate.
1113 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
1115 * aclocal.m4: Regenerated.
1117 2007-07-04 Nick Clifton <nickc@redhat.com>
1119 * alpha-dis.c: Update copyright notice to refer to GPLv3.
1120 * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h,
1121 arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c,
1122 cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in,
1123 cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c,
1124 cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c,
1125 d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c,
1126 dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c,
1127 h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c,
1128 i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c,
1129 ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c,
1130 ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c,
1131 ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c,
1132 m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c,
1133 m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c,
1134 mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c,
1135 mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c,
1136 or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c,
1137 ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c,
1138 score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h,
1139 sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c,
1140 spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c,
1141 tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c,
1142 vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c,
1143 z8k-dis.c, z8kgen.c: Likewise.
1144 * i386-opc.tbl, i386-reg.tbl: Add copyright notice.
1145 * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h,
1146 fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c,
1147 frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c,
1148 frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c,
1149 ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h,
1150 iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c,
1151 iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c,
1152 m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c,
1153 m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
1154 m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c,
1155 mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c,
1156 mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c,
1157 mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c,
1158 openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c,
1159 openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h,
1160 xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h,
1161 xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h,
1162 xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c,
1163 xstormy16-opc.h, z8k-opc.h: Regenerated
1165 2007-07-04 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1167 * cr16-dis.c (getcinvstring): Add const qualifier to char *
1169 (print_insn_cr16): Remove cast to char *.
1171 2007-07-03 Nathan Sidwell <nathan@codesourcery.com>
1173 * m68k-dis.c (fetch_arg): Add E. Replace length switch with
1175 (print_ins_arg): Add j & K operand types.
1176 (match_insn_m68k): Check and skip initial '.' arg character.
1177 (m68k_scan_mask): Likewise.
1178 * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
1180 2007-07-02 Alan Modra <amodra@bigpond.net.au>
1182 * Makefile.am: Run "make dep-am".
1183 * Makefile.in: Regenerate.
1184 * aclocal.m4: Regenerate.
1185 * config.in: Regenerate.
1186 * po/POTFILES.in: Regenerate.
1187 * po/opcodes.pot: Regenerate.
1189 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
1191 * aclocal.m4: Regenerated.
1192 * Makefile.in: Likewise.
1194 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
1196 * i386-reg.tbl: Remove spaces before comments.
1198 2007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1200 * cr16-opc.c: New file.
1201 * cr16-dis.c: New file.
1202 * Makefile.am: Entries for cr16.
1203 * Makefile.in: Regenerate.
1204 * cofigure.in: Add cr16 target information.
1205 * configure : Regenerate.
1206 * disassemble.c: Add cr16 target information.
1208 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
1210 * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
1211 (CFILES): Add i386-gen.c.
1212 (i386-gen): New rule.
1213 (i386-gen.o): Likewise.
1214 (i386-tbl.h): Likewise.
1216 * Makefile.in: Regenerated.
1218 * i386-gen.c: New file.
1219 * i386-opc.tbl: Likewise.
1220 * i386-reg.tbl: Likewise.
1221 * i386-tbl.h: Likewise.
1223 * i386-opc.c: Include "i386-tbl.h".
1224 (i386_optab): Removed.
1225 (i386_regtab): Likewise.
1226 (i386_regtab_size): Likewise.
1228 2007-06-26 Paul Brook <paul@codesourcery.com>
1230 * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
1232 2007-06-25 H.J. Lu <hongjiu.lu@intel.com>
1234 * i386-opc.h (regKludge): Renamed to ...
1237 * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
1239 2007-06-23 H.J. Lu <hongjiu.lu@intel.com>
1242 * i386-dis.c (EX): Removed.
1248 (PREGRP93...PREGRP97): Likewise.
1249 (dis386_twobyte): Updated.
1250 (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
1251 (OP_EX): Remove Intel syntax handling.
1253 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
1255 * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
1257 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
1259 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
1261 * acinclude.m4: Removed.
1263 * Makefile.in: Regenerated.
1264 * doc/Makefile.in: Likewise.
1265 * aclocal.m4: Likewise.
1266 * configure: Likewise.
1268 2007-06-05 Paul Brook <paul@codesourcery.com>
1270 * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
1272 2007-05-24 Steve Ellcey <sje@cup.hp.com>
1274 * Makefile.in: Regnerate.
1275 * configure: Regenerate.
1276 * aclocal.m4: Regenerate.
1278 2007-05-18 Alan Modra <amodra@bigpond.net.au>
1280 * ppc-dis.c (print_insn_powerpc): Don't skip all operands
1281 after setting skip_optional.
1283 2007-05-16 Peter Bergner <bergner@vnet.ibm.com>
1285 * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
1286 (print_insn_powerpc): Use the new operand_value_powerpc and
1287 skip_optional_operands functions to omit or print all optional
1288 operands as a group.
1289 * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
1290 (XFL_MASK): Delete L and W bits from the mask.
1291 (mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK
1292 with XWRA_MASK. Use W.
1293 (mtfsf, mtfsf.): Use XFL_L and W.
1295 2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
1298 * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
1300 2007-05-10 H.J. Lu <hongjiu.lu@intel.com>
1302 * i386-opc.h (ShortForm): Redefined.
1304 (JumpDword): Likewise.
1305 (JumpByte): Likewise.
1306 (JumpInterSegment): Likewise.
1307 (FloatMF): Likewise.
1313 (IgnoreSize): Likewise.
1314 (DefaultSize): Likewise.
1315 (No_bSuf): Likewise.
1316 (No_wSuf): Likewise.
1317 (No_lSuf): Likewise.
1318 (No_sSuf): Likewise.
1319 (No_qSuf): Likewise.
1320 (No_xSuf): Likewise.
1322 (IsString): Likewise.
1323 (regKludge): Likewise.
1324 (IsPrefix): Likewise.
1326 (NoRex64): Likewise.
1330 2007-05-07 H.J. Lu <hongjiu.lu@intel.com>
1332 * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
1333 for some SSE4 instructions.
1334 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1336 2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
1338 * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
1340 * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
1343 2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
1345 * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
1346 check data size prefix in 16bit mode.
1348 * i386-opc.c (i386_optab): Default crc32 to non-8bit and
1351 2007-04-30 Mark Salter <msalter@redhat.com>
1353 * frv-desc.c: Regenerate.
1354 * frv-desc.h: Regenerate.
1356 2007-04-30 Alan Modra <amodra@bigpond.net.au>
1359 * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
1361 2007-04-27 H.J. Lu <hongjiu.lu@intel.com>
1363 * i386-dis.c (modrm): Put reg before rm.
1365 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1368 * i386-dis.c (print_displacement): New.
1369 (OP_E): Call print_displacement instead of print_operand_value
1370 to output displacement when either base or index exist. Print
1371 the explicit zero displacement in 16bit mode.
1373 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1376 * i386-dis.c (print_insn): Also swap the order of op_riprel
1377 when swapping op_index. Break when the RIP relative address
1379 (OP_E): Properly handle RIP relative addressing and print the
1380 explicit zero displacement for Intel mode.
1382 2007-04-27 Alan Modra <amodra@bigpond.net.au>
1384 * Makefile.am: Run "make dep-am".
1385 * Makefile.in: Regenerate.
1386 * ns32k-dis.c: Include sysdep.h first.
1388 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
1390 * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
1392 * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
1394 2007-04-24 Nick Clifton <nickc@redhat.com>
1396 * arm-dis.c (print_insn): Initialise type.
1398 2007-04-24 Alan Modra <amodra@bigpond.net.au>
1400 * cgen-types.h: Include bfd_stdint.h, not stdint.h.
1401 * Makefile.am: Run "make dep-am".
1402 * Makefile.in: Regenerate.
1404 2007-04-23 Nathan Sidwell <nathan@codesourcery.com>
1406 * m68k-opc.c: Mark mcfisa_c instructions.
1408 2007-04-21 Richard Earnshaw <rearnsha@arm.com>
1410 * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
1411 (thumb_opcodes): Add missing white space in adr.
1412 (arm_decode_shift): New parameter, print_shift. Only decode the
1413 shift parameter if set. Adjust callers.
1414 (print_insn_arm): Support for operand type q with no shift decode.
1416 2007-04-21 Alan Modra <amodra@bigpond.net.au>
1418 * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
1420 (i386_regtab): ..here.
1421 * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
1423 * ppc-opc.c (powerpc_operands): Delete duplicate entries.
1424 (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
1425 (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
1426 (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
1428 2007-04-20 Nathan Sidwell <nathan@codesourcery.com>
1430 * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
1433 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1435 * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
1437 * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
1438 in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove
1439 references to following deleted functions.
1440 (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
1441 (insert_ds, extract_ds, insert_de, extract_de): Delete.
1442 (insert_des, extract_des, insert_li, extract_li): Delete.
1443 (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
1444 (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
1445 (num_powerpc_operands): New constant.
1446 (XSPRG_MASK): Remove entire SPRG field.
1447 (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
1449 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1451 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
1453 (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
1455 2007-04-20 Richard Earnshaw <rearnsha@arm.com>
1457 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
1460 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1462 * Makefile.am: Run "make dep-am".
1463 * Makefile.in: Regenerate.
1464 * po/POTFILES.in: Regenerate.
1466 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1468 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
1469 db10cyc, db12cyc, db16cyc.
1471 2007-04-19 Nathan Froyd <froydnj@codesourcery.com>
1473 * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
1475 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1477 * i386-dis.c (CRC32_Fixup): New.
1478 (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
1480 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
1481 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1482 (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
1483 PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
1484 (three_byte_table): Likewise.
1486 * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
1488 * i386-opc.h (CpuSSE4_2): New.
1489 (CpuSSE4): Likewise.
1490 (CpuUnknownFlags): Add CpuSSE4_2.
1492 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1494 * i386-dis.c (XMM_Fixup): New.
1500 (PREGRP39 ... PREGRP85): New.
1501 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
1502 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1503 (prefix_user_table): Add PREGRP39 ... PREGRP85.
1504 (three_byte_table): Likewise.
1505 (putop): Handle 'K'.
1506 (intel_operand_size): Handle dqb_mode, dqd_mode):
1510 * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
1512 * i386-opc.h (CpuSSE4_1): New.
1513 (CpuUnknownFlags): Add CpuSSE4_1.
1514 (regKludge): Update comment.
1516 2007-04-18 Matthias Klose <doko@ubuntu.com>
1518 * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
1519 * Makefile.in: Regenerate.
1521 2007-04-14 Steve Ellcey <sje@cup.hp.com>
1523 * Makefile.am: Add ACLOCAL_AMFLAGS.
1524 * Makefile.in: Regenerate.
1526 2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
1528 * i386-dis.c: Remove trailing white spaces.
1529 * i386-opc.c: Likewise.
1530 * i386-opc.h: Likewise.
1532 2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
1535 * i386-dis.c (GRP1a): New.
1536 (GRP1b ... GRPPADLCK2): Update index.
1537 (dis386): Use GRP1a for entry 0x8f.
1538 (mod, rm, reg): Removed. Replaced by ...
1542 2007-04-09 Kazu Hirata <kazu@codesourcery.com>
1544 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
1545 info->print_address_func if longjmp is called.
1547 2007-03-29 DJ Delorie <dj@redhat.com>
1549 * m32c-desc.c: Regenerate.
1550 * m32c-dis.c: Regenerate.
1551 * m32c-opc.c: Regenerate.
1553 2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
1555 * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
1556 movq. Remove InvMem from sldt, smsw and str.
1558 * i386-opc.h (InvMem): Renamed to ...
1559 (RegMem): Update comments.
1560 (AnyMem): Remove InvMem.
1562 2007-03-27 Paul Brook <paul@codesourcery.com>
1564 * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
1566 2007-03-24 Paul Brook <paul@codesourcery.com>
1568 * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
1569 (print_insn_coprocessor): Handle %<bitfield>x.
1571 2007-03-24 Paul Brook <paul@codesourcery.com>
1572 Mark Shinwell <shinwell@codesourcery.com>
1574 * arm-dis.c (arm_opcodes): Print SRS base register.
1576 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
1578 * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
1580 * i386-opc.c (i386_optab): Add rex.wrxb.
1582 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1584 * i386-dis.c (REX_MODE64): Remove definition.
1585 (REX_EXTX): Likewise.
1586 (REX_EXTY): Likewise.
1587 (REX_EXTZ): Likewise.
1588 (USED_REX): Use REX_OPCODE instead of 0x40.
1589 Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
1590 REX_R, REX_X and REX_B respectively.
1592 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1595 * i386-dis.c (PREGRP38): New.
1596 (dis386): Use PREGRP38 for 0x90.
1597 (prefix_user_table): Add PREGRP38.
1598 (print_insn): Set uses_REPZ_prefix to 1 for pause.
1599 (NOP_Fixup1): Properly handle REX bits.
1600 (NOP_Fixup2): Likewise.
1602 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
1603 Allow register with nop.
1605 2007-03-20 DJ Delorie <dj@redhat.com>
1607 * m32c-asm.c: Regenerate.
1608 * m32c-desc.c: Regenerate.
1609 * m32c-desc.h: Regenerate.
1610 * m32c-dis.h: Regenerate.
1611 * m32c-ibld.c: Regenerate.
1612 * m32c-opc.c: Regenerate.
1613 * m32c-opc.h: Regenerate.
1615 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1617 * i386-opc.c: Include "libiberty.h".
1618 (i386_regtab): Remove the last entry.
1619 (i386_regtab_size): New.
1620 (i386_float_regtab_size): Likewise.
1622 * i386-opc.h (i386_regtab_size): New.
1623 (i386_float_regtab_size): Likewise.
1625 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1627 * Makefile.am (CFILES): Add i386-opc.c.
1628 (ALL_MACHINES): Add i386-opc.lo.
1630 * Makefile.in: Regenerated.
1632 * configure.in: Add i386-opc.lo for bfd_i386_arch.
1633 * configure: Regenerated.
1635 * i386-dis.c: Include "opcode/i386.h".
1636 (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
1637 (FWAIT_OPCODE): Remove definition.
1638 (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
1639 (MAX_OPERANDS): Remove definition.
1641 * i386-opc.c: New file.
1642 * i386-opc.h: Likewise.
1644 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1646 * Makefile.in: Regenerated.
1648 2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
1650 * i386-dis.c (OP_Rd): Renamed to ...
1655 2007-03-08 Alan Modra <amodra@bigpond.net.au>
1657 * fr30-asm.c: Regenerate.
1658 * frv-asm.c: Regenerate.
1659 * ip2k-asm.c: Regenerate.
1660 * iq2000-asm.c: Regenerate.
1661 * m32c-asm.c: Regenerate.
1662 * m32r-asm.c: Regenerate.
1663 * m32r-dis.c: Regenerate.
1664 * mt-asm.c: Regenerate.
1665 * mt-ibld.c: Regenerate.
1666 * mt-opc.c: Regenerate.
1667 * openrisc-asm.c: Regenerate.
1668 * xc16x-asm.c: Regenerate.
1669 * xstormy16-asm.c: Regenerate.
1671 * Makefile.am: Run "make dep-am".
1672 * Makefile.in: Regenerate.
1673 * po/POTFILES.in: Regenerate.
1675 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
1677 * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
1678 INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
1679 instruction formats added.
1680 (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
1681 MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
1683 * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
1685 * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1686 (main): z9-ec cpu type option added.
1687 * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1689 2007-02-22 DJ Delorie <dj@redhat.com>
1691 * s390-opc.c (INSTR_SS_L2RDRD): New.
1692 (MASK_SS_L2RDRD): New.
1693 * s390-opc.txt (pka): Use it.
1695 2007-02-20 Thiemo Seufer <ths@mips.com>
1696 Chao-Ying Fu <fu@mips.com>
1698 * mips-dis.c (mips_arch_choices): Add DSP R2 support.
1699 (print_insn_args): Add support for balign instruction.
1700 * mips-opc.c (D33): New shortcut for DSP R2 instructions.
1701 (mips_builtin_opcodes): Add DSP R2 instructions.
1703 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1705 * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
1706 (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
1707 * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
1708 cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
1710 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1712 * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
1713 * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
1714 (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
1717 2007-02-16 Nick Clifton <nickc@redhat.com>
1720 * avr-dis.c (comment_start): New variable, contains the prefix to
1721 use when printing addresses in comments.
1722 (print_insn_avr): Set comment_start to an empty space if there is
1723 no symbol table available as the generic address printing code
1724 will prefix the numeric value of the address with 0x.
1726 2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
1728 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
1731 2007-02-05 Dave Brolley <brolley@redhat.com>
1732 Richard Sandiford <rsandifo@redhat.com>
1733 DJ Delorie <dj@redhat.com>
1734 Graydon Hoare <graydon@redhat.com>
1735 Frank Ch. Eigler <fche@redhat.com>
1736 Ben Elliston <bje@redhat.com>
1738 * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
1739 (CFILES): Add mep-*.c
1740 (ALL_MACHINES): Add mep-*.lo.
1741 (CLEANFILES): Add stamp-mep.
1742 (CGEN_CPUS): Add mep.
1743 (MEP_DEPS): New variable.
1744 (mep-*): New targets.
1745 * configure.in: Handle bfd_mep_arch.
1746 * disassemble.c (ARCH_mep): New macro.
1747 (disassembler): Handle bfd_arch_mep.
1748 (disassemble_init_for_target): Likewise.
1749 * mep-*: New files for Toshiba Media Processor (MeP).
1750 * Makefile.in: Regenerated.
1751 * configure: Regenerated.
1753 2007-02-05 H.J. Lu <hongjiu.lu@intel.com>
1755 * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
1756 wrap around within the same segment in 16bit mode.
1758 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1760 * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
1763 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1765 * avr-dis.c (avr_operand): Correct PR number in comment.
1767 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1769 * disassemble.c (disassembler_usage): Call
1770 print_i386_disassembler_options for i386 disassembler.
1772 * i386-dis.c (print_i386_disassembler_options): New.
1773 (print_insn): Support the new addr64 option.
1775 2007-02-02 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
1777 * ppc-dis.c (powerpc_dialect): Handle ppc440.
1778 * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
1781 2007-02-02 Alan Modra <amodra@bigpond.net.au>
1783 * ppc-opc.c (insert_bdm): -Many comment.
1784 (valid_bo): Add "extract" param. Accept both powerpc and power4
1785 BO fields when disassembling with -Many.
1786 (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
1788 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
1790 * m68k-opc.c (m68k_opcodes): Replace cpu32 with
1791 cpu32 | fido_a except on tbl instructions.
1793 2007-01-04 Paul Brook <paul@codesourcery.com>
1795 * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
1797 2007-01-04 Andreas Schwab <schwab@suse.de>
1799 * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
1801 2007-01-04 Julian Brown <julian@codesourcery.com>
1803 * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
1804 vqrshl instructions.
1806 For older changes see ChangeLog-2006
1812 version-control: never