1 2007-11-27 Andreas Krebbel <krebbel1@de.ibm.com>
3 * s390-opc.txt ("tcet", "tcdt", "tcxt", "tget", "tgdt",
5 ("tdcet", "tdcdt", "tdcxt", "tdget", "tdgdt", "tdgxt"): Added.
7 2007-11-14 H.J. Lu <hongjiu.lu@intel.com>
9 * ia64-ic.tbl: Updated for Itanium 9100 series.
10 * ia64-raw.tbl: Likewise.
11 * ia64-waw.tbl: Likewise.
12 * ia64-asmtab.c: Regenerated.
14 2007-11-14 Tristan Gingold <gingold@adacore.com>
16 * ia64-dis.c (print_insn_ia64): Handle ar.ruc.
17 * ia64-gen.c (lookup_regindex): Likewise.
19 2007-11-07 Jens Arnold <jens@jens-arnold.net>
22 * m68k-opc.c (m68k_opcodes): Fix coldfire msac.w instructions with
25 2007-11-07 Tristan Gingold <gingold@adacore.com>
27 * ia64-dis.c (print_insn_ia64): Generate symbolic names for cr
28 registers instead of register number.
30 2007-11-07 David O'Brien <obrien@FreeBSD.org>
32 * arm-dis.c (arm_opcodes): Remove superflous escapes of percent
35 2007-11-06 Peter Bergner <bergner@vnet.ibm.com>
37 * ppc-opc.c (powerpc_opcodes): Remove the dcffix and dcffix. opcodes
38 which are not included in the "Preliminary Decimal Floating-Point
39 Architecture" document.
41 2007-11-01 H.J. Lu <hongjiu.lu@intel.com>
43 * i386-gen.c (opcode_modifiers): Replace No_xSuf with
45 * i386-opc.tbl: Likewise.
47 * i386-opc.h (No_xSuf): Renamed to ...
51 2007-11-01 H.J. Lu <hongjiu.lu@intel.com>
53 * i386-gen.c (opcode_modifiers): Add ByteOkIntel, ToDword,
54 ToQword and AddrPrefixOp0.
56 * i386-opc.h (ByteOkIntel): New.
59 (AddrPrefixOp0): Likewise.
61 (i386_opcode_modifier): Add byteokintel, todword, toqword
64 * i386-opc.tbl (cvtss2si): Add ToQword.
65 (cvttss2si): Likewise.
66 (cvtsd2si): Add ToDword.
67 (cvttsd2si): Likewise.
68 (monitor): Add AddrPrefixOp0.
73 (pextrb): Add ByteOkIntel.
75 * i386-tbl.h: Regenerated.
77 2007-10-31 H.J. Lu <hongjiu.lu@intel.com>
79 * i386-dis.c (USE_REG_TABLE): Defined as the previous one + 1.
80 (USE_REG_TABLE): Likewise.
81 (USE_MOD_TABLE): Likewise.
82 (USE_RM_TABLE): Likewise.
83 (USE_PREFIX_TABLE): Likewise.
84 (USE_X86_64_TABLE): Likewise.
85 (USE_3BYTE_TABLE): Likewise.
87 2007-10-26 H.J. Lu <hongjiu.lu@intel.com>
89 * i386-dis.c (MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3): New.
92 (MOD_0FE7_PREFIX_2): Likewise.
93 (MOD_0F382A_PREFIX_2): Likewise.
94 (MOD_0F71_REG_2): Updated.
95 (MOD_0FF0_PREFIX_3): Likewise.
96 (MOD_62_32BIT): Likewise.
97 (dis386_twobyte): Use MOD_0F51 and MOD_0FD7.
98 (prefix_table): Use MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
99 MOD_0FE7_PREFIX_2 and MOD_0F382A_PREFIX_2.
100 (mod_table): Add MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
101 MOD_0F51, MOD_0FD7 and MOD_0F382A_PREFIX_2.
103 2007-10-26 Nick Clifton <nickc@redhat.com>
105 * arm-dis.c (print_insn): Check for a symtab that exists but is
108 2007-10-24 Alan Modra <amodra@bigpond.net.au>
110 * po/POTFILES.in: Regenerate.
112 2007-10-23 H.J. Lu <hongjiu.lu@intel.com>
114 * i386-dis.c (OP_SIMD_Suffix): Renamed to ...
115 (CMP_Fixup): This. Rewrite.
116 (OPSIMD): Renamed to ...
117 (CMP): This. Updated.
118 (prefix_table): Update PREFIX_0FC2 entry.
120 2007-10-22 H.J. Lu <hongjiu.lu@intel.com>
122 * i386-dis.c (prefix_table): Reordered by opcode.
123 (mod_table): Likewise.
125 2007-10-19 H.J. Lu <hongjiu.lu@intel.com>
127 * i386-dis.c (prefix_table): Use XS on psrldq and pslldq.
129 2007-10-17 Nathan Sidwell <nathan@codesourcery.com>
131 * m68k-opc.c (m68k_opcodes): Correct move sr and ccr masks for
134 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
136 * ppc-opc.c (powerpc_opcodes): Fix the first two operands of
137 dquaiq. to use the TE and FRT macros.
139 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
141 * ppc-opc.c (TE): Correct signedness.
142 (powerpc_opcodes): Sort psq_st and psq_stu according to major
145 2007-10-15 H.J. Lu <hongjiu.lu@intel.com>
147 * i386-dis.c (dis386_twobyte): Reformat.
148 (prefix_table): Likewise.
149 (three_byte_table): Likewise.
151 2007-10-15 Alan Modra <amodra@bigpond.net.au>
153 * mcore-dis.c (print_insn_mcore): Protect "fprintf" var against
156 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
158 * i386-gen.c (opcode_modifiers): Add FirstXmm0.
160 * i386-opc.h (FirstXmm0): New.
162 (i386_opcode_modifier): Add firstxmm0.
164 * i386-opc.tbl (blendvpd): Replace RegKludge with FirstXmm0.
165 (blendvps): Likewise.
166 (pblendvb): Likewise.
167 * i386-tbl.h: Regenerated.
169 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
171 * i386-dis.c (prefix_table): Reformat pblendvb and blendvps.
173 2007-10-10 H.J. Lu <hongjiu.lu@intel.com>
175 * i386-dis.c (v_mode): Defined as previous one + 1.
182 (cond_jump_mode): Likewise.
183 (loop_jcxz_mode): Likewise.
185 (dqw_mode): Likewise.
187 (const_1_mode): Likewise.
188 (stack_v_mode): Likewise.
191 (dqb_mode): Likewise.
192 (dqd_mode): Likewise.
231 (z_mode_ax_reg): Likewise.
232 (indir_dx_reg): Likewise.
234 (DREX_NO_OC0): Likewise.
235 (DREX_MASK): Likewise.
236 (MAX_BYTEMODE): New. Issue an error if MAX_BYTEMODE is not
239 2007-10-08 H.J. Lu <hongjiu.lu@intel.com>
241 * i386-dis.c: Updated comments for 'Y'.
242 (putop): Don't add 'q' for 'Y' if suffix_always isn't true.
244 2007-10-08 Maciej W. Rozycki <macro@linux-mips.org>
246 * opcodes/mips-dis.c (mips_cp0_names_r3000): New definition.
247 (mips_cp0_names_r4000): Likewise.
248 (mips_arch_choices): Link to the above as appropriate.
250 2007-10-08 Nick Clifton <nickc@redhat.com>
252 * configure.in (SHARED_DEPENDENCIES): Change non-cygwin dependency
253 to be ../bfd/libbfd.la.
254 * configure: Regenerate.
256 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
258 * i386-dis.c (dis386_twobyte): Add getsec.
260 * i386-gen.c (cpu_flags): Add CpuSMX.
262 * i386-opc.h (CpuSMX): New.
264 (i386_cpu_flags): Add cpusmx.
266 * i386-opc.tbl: Add getsec.
267 * i386-init.h: Regenerated.
268 * i386-tbl.h: Likewise.
270 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
272 * i386-dis.c (reg_table): Use "{ XX }" on "(bad)".
273 (prefix_table): Likewise.
275 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
277 * i386-dis.c (dis386_twobyte): Use EXx instead of EXq on
278 unpckhpX and unpckhpX.
280 2007-10-04 David Daney <ddaney@avtrex.com>
282 * mips-opc.c (mips_builtin_opcodes): Mark lwxc1 as working on FP_S
285 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
287 * i386-dis.c (MOD_0F12_PREFIX_0): Use "movlps" and "movhlps"
288 instead of "movlpX" and "movhlpX", respectively.
289 (MOD_0F16_PREFIX_0): Use "movhps" and "movlhps" instead of
290 "movhpX" and "movlhpX", respectively.
292 2007-10-04 Nick Clifton <nickc@redhat.com>
294 * configure.in (WIN32LDFLAGS): Rename to SHARED_LDFLAGS.
295 (WIN32LIBADD): Rename to SHARED_LIBADD
296 (SHARED_DEPENDENCIES): New exported variable.
297 (enable_shared): Add dependency upon libbfd.la for non-cygwin
298 based shared library builds.
299 * Makefile.am (libopcodes_la_DEPENDENCIES): Append
301 (libopcodes_la_LIBADD): Rename WIN32LIBADD to SHARED_LIBADD.
302 (libopcodes_la_LDFLAGS): Rename WIN32LDFLAGS to SHARED_LDFLAGS.
303 * configure: Regenerate.
304 * Makefile.in: Regenerate.
307 * arc-opc.c (insert_offset): Fix spelling mistake in error
310 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
312 * i386-dis.c (OP_REG): Set add to 0 only when needed.
321 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
323 * i386-opc.tbl: Update SSE comments.
325 2007-10-01 H.J. Lu <hongjiu.lu@intel.com>
327 * i386-dis.c (THREE_BYTE_0FBA): Renamed to ...
328 (THREE_BYTE_0F7B): This.
329 (dis386_twobyte): Updated.
330 (three_byte_table): Updated comments.
332 2007-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
334 * cr16-opc.c: Updated the branch on condition instructions with
337 2007-09-30 H.J. Lu <hongjiu.lu@intel.com>
339 * 386-dis.c (prefix_table): Reformat comment.
341 2007-09-29 H.J. Lu <hongjiu.lu@intel.com>
343 * 386-dis.c (USE_GROUPS): Renamed to ...
344 (USE_REG_TABLE): This.
345 (USE_OPC_EXT_TABLE): Renamed to ...
346 (USE_MOD_TABLE): This.
347 (USE_OPC_EXT_RM_TABLE): Renamed to ...
348 (USE_RM_TABLE): This.
349 (USE_XXX_TABLE): Reordered.
350 (GRP): Renamed to ...
352 (OPC_EXT_TABLE): Renamed to ...
354 (OPC_EXT_RM_TABLE): Renamed to ...
356 (GRP_XXX): Renamed to ...
358 (PREGRP_XXX): Renamed to ...
360 (OPC_EXT_XXX): Renamed to ...
362 (OPC_EXT_RM_XXX): Renamed to ...
364 (grps): Renamed to ...
366 (prefix_user_table): Renamed to ...
368 (opc_ext_table): Renamed to ...
370 (opc_ext_rm_table): Renamed to ...
372 (OPC_EXT_RM_XXX): Likewise.
374 (dis386_twobyte): Likewise.
375 (reg_table): Likewise.
376 (prefix_table): Likewise.
377 (x86_64_table): Likewise.
378 (three_byte_table): Likewise.
379 (mod_table): Likewise.
380 (rm_table): Likewise.
381 (get_valid_dis386): Likewise.
383 2007-09-28 H.J. Lu <hongjiu.lu@intel.com>
385 * 386-dis.c (USE_PREFIX_USER_TABLE): Renamed to ...
386 (USE_PREFIX_TABLE): This.
387 (X86_64_SPECIAL): Renamed to ...
388 (USE_X86_64_TABLE): This.
389 (IS_3BYTE_OPCODE): Renamed to ...
390 (USE_3BYTE_TABLE): This.
392 (PREGRPXXX): Likewise.
393 (X86_64_XXX): Likewise.
394 (THREE_BYTE_XXX): Likewise.
395 (OPC_EXT_XXX): Likewise.
396 (OPC_EXT_RM_XXX): Likewise.
400 (X86_64_TABLE): Likewise.
401 (THREE_BYTE_TABLE): Likewise.
402 (OPC_EXT_TABLE): Likewise.
403 (OPC_EXT_RM_TABLE): Likewise.
405 (PREGRP_XXX): Likewise.
406 (X86_64_XXX): Likewise.
407 (THREE_BYTE_XXX): Likewise.
408 (OPC_EXT_XXX): Likewise.
409 (OPC_EXT_RM_XXX): Likewise.
411 (dis386_twobyte): Likewise.
413 (prefix_user_table): Likewise.
414 (x86_64_table): Likewise.
415 (three_byte_table): Likewise.
416 (opc_ext_table): Likewise.
417 (opc_ext_rm_table): Likewise.
418 (get_valid_dis386): Likewise.
420 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
422 * i386-dis.c (dis386): Swap X86_64_27 with OPC_EXT_2.
423 (x86_64_table): Likewise.
424 (opc_ext_table): Likewise.
426 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
429 * i386-dis.c: Update comments on '{', '}' and '|' to support
430 only AT&T and Intel modes.
431 (X86_64_4...X86_64_27): New.
432 (dis386): Updated. Use X86_64_4...X86_64_21.
433 (dis386_twobyte): Updated.
434 (float_mem): Likewise.
435 (x86_64_table): Add X86_64_4...X86_64_27.
436 (opc_ext_table): Updated. Use X86_64_22...X86_64_27.
437 (putop): Updated handling of '{', '}' and '|' to support only
438 AT&T and Intel modes.
440 2007-09-27 Kazu Hirata <kazu@codesourcery.com>
442 * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb.
444 2007-09-26 James E. Wilson <wilson@specifix.com>
446 * ia64-gen.c (print_dependency_table): Fix typo in last patch.
448 2007-09-26 Nick Clifton <nickc@redhat.com>
450 * mt-asm.c (parse_imm16): Reword error message in order to allow
451 it to be translated properly.
452 * ia64-gen.c (print_dependency_table): Likewise.
453 * mips-dis.c (print_insn_args): Likewise.
455 2007-09-26 Jan Beulich <jbeulich@novell.com>
457 * i386-dis.c (OP_E_extended): Distinguish rip- and eip-
458 relative addressing. Update used_prefixes based on whether any
459 base or index register was printed.
461 2007-09-26 Jan Beulich <jbeulich@novell.com>
463 * i386-opc.h (RegEip): Define.
465 * i386-reg.tbl: Add eip. Mark rip and eip with RegRex64.
466 * i386-tbl.h: Re-generate.
468 2007-09-25 H.J. Lu <hongjiu.lu@intel.com>
470 * i386-gen.c (process_i386_opcodes): Process opcode_length.
472 * i386-opc.h (template): Add opcode_length.
473 * 386-opc.tbl: Likewise.
474 * i386-tbl.h: Regenerated.
476 2007-09-21 H.J. Lu <hongjiu.lu@intel.com>
478 * i386-opc.h: Adjust whitespaces.
480 2007-09-21 Dave Brolley <brolley@redhat.com>
482 * mep-desc.c: Regenerated.
484 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
486 * i386-dis.c (OP_E_extended): Display eiz for [eiz*1 + offset].
488 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
491 * 386-dis.c (index64): New.
493 (intel_index64): Likewise.
494 (intel_index32): Likewise.
495 (att_index64): Likewise.
496 (att_index32): Likewise.
497 (print_insn): Set index64 and index32.
498 (OP_E_extended): Use index64/index32 for index register for
501 * i386-opc.h (RegEiz): New.
504 * i386-reg.tbl: Add eiz and riz.
505 * i386-tbl.h: Regenerated.
507 2007-09-19 H.J. Lu <hongjiu.lu@intel.com>
509 * i386-dis.c (OP_E_extended): Always display scale for memory.
511 2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
513 * i386-opc.h (RegRip): New.
515 * i386-reg.tbl (rip): Use RegRip for reg_num.
516 * i386-tbl.h: Regenerated.
518 2007-09-17 Nick Clifton <nickc@redhat.com>
520 * po/es.po: Updated Spanish translation.
522 2007-09-14 H.J. Lu <hongjiu.lu@intel.com>
524 * Makefile.am: Run "make dep-am".
525 * Makefile.in: Regenerate.
527 2007-09-14 Michael Meissner <michael.meissner@amd.com>
528 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
529 Tony Linthicum <tony.linthicum@amd.com>
531 * i386-opc.h (CpuSSE5): New macro.
532 (i386_cpu_flags): Add Drex, Drexv and Drexc.
534 * i386-gen.c (cpu_flag_init): Add CPU_SSE5_FLAGS.
535 (operand_type_init): Add CpuSSE5.
536 (opcode_modifiers): Add Drex, Drexv and Drexc.
537 (i386_opcode_modifier): Ditto.
539 * i386-opc.tbl (fmaddps,fmaddpd,fmaddss,fmaddsd): Define SSE5
541 (fmsubps,fmsubpd,fmsubss,fmsubsd): Ditto.
542 (fnmaddps,fnmaddpd,fnmaddss,fnmaddsd): Ditto.
543 (fnmsubps,fnmsubpd,fnmsubss,fnmsubsd): Ditto.
544 (pmacssww,pmacsww,pmacsswd,pmacswd): Ditto.
545 (pmacssdd,pmacsdd,pmacssdql,pmacssdqh): Ditto.
546 (pmacsdql,pmacsdqh,pmadcsswd,pmadcswd): Ditto.
547 (phaddbw,phaddbd,phaddbq,phaddwd): Ditto.
548 (phaddwq,phadddq,phaddubw,phaddubd): Ditto.
549 (phaddubq,phadduwd,phadduwq,phaddudq): Ditto.
550 (phsubbw,phsubwd,phsubdq): Ditto.
551 (pcmov,pperm,permps,permpd): Ditto.
552 (protb,protw,protd,protq): Ditto.
553 (pshlb,pshlw,pshld,pshlq): Ditto.
554 (pshab,pshaw,pshad,pshaq): Ditto.
555 (comps,comeqps,comltps,comungeps,comleps,comungtps): Ditto.
556 (comunordps,comneps,comneqps,comnltps,comugeps): Ditto.
557 (comnleps,comugtps,comordps,comueqps,comultps): Ditto.
558 (comngeps,comuleps,comngtps,comfalseps,comuneps): Ditto.
559 (comuneqps,comunltps,comgeps,comunleps,comgtps,comtrueps): Ditto.
560 (compd,comeqpd,comltpd,comungepd,comlepd,comungtpd,comunordpd): Ditto.
561 (comnepd,comneqpd,comnltpd,comugepd,comnlepd,comugtpd): Ditto.
562 (comordpd,comueqpd,comultpd,comngepd,comulepd,comngtpd): Ditto.
563 (comfalsepd,comunepd,comuneqpd,comunltpd,comgepd): Ditto.
564 (comunlepd,comgtpd,comtruepd): Ditto.
565 (comss,comeqss,comltss,comungess,comless,comungtss,comunordss): Ditto.
566 (comness,comneqss,comnltss,comugess,comnless,comugtss): Ditto.
567 (comordss,comueqss,comultss,comngess,comuless,comngtss): Ditto.
568 (comfalsess,comuness,comuneqss,comunltss,comgess): Ditto.
569 (comunless,comgtss,comtruess): Ditto.
570 (comsd,comeqsd,comltsd,comungesd,comlesd,comungtsd,comunordsd): Ditto.
571 (comnesd,comneqsd,comnltsd,comugesd,comnlesd,comugtsd): Ditto.
572 (comordsd,comueqsd,comultsd,comngesd,comulesd,comngtsd): Ditto.
573 (comfalsesd,comunesd,comuneqsd,comunltsd,comgesd): Ditto.
574 (comunlesd,comgtsd,comtruesd): Ditto.
575 (pcomub,pcomltub,pcomleub,pcomgtub,pcomgeub,pcomequb): Ditto.
576 (pcomnequb,pcomneub): Ditto.
577 (pcomuw,pcomltuw,pcomleuw,pcomgtuw,pcomgeuw,pcomequw): Ditto.
578 (pcomnequw,pcomneuw): Ditto.
579 (pcomud,pcomltud,pcomleud,pcomgtud,pcomgeud,pcomequd): Ditto.
580 (pcomnequd,pcomneud): Ditto.
581 (pcomuq,pcomltuq,pcomleuq,pcomgtuq,pcomgeuq,pcomequq): Ditto.
582 (pcomnequq,pcomneuq): Ditto.
583 (pcomb,pcomltb,pcomleb,pcomgtb,pcomgeb,pcomeqb): Ditto.
584 (pcomneqb,pcomneb): Ditto.
585 (pcomw,pcomltw,pcomlew,pcomgtw,pcomgew,pcomeqw): Ditto.
586 (pcomneqw,pcomnew): Ditto.
587 (pcomd,pcomltd,pcomled,pcomgtd,pcomged,pcomeqd): Ditto.
588 (pcomneqd,pcomned): Ditto.
589 (pcomq,pcomltq,pcomleq,pcomgtq,pcomgeq): Ditto.
590 (pcomeqq,pcomneqq,pcomneq): Ditto.
591 (pcomtrueb, pcomtruew, pcomtrued, pcomtrueq): Ditto.
592 (pcomtrueub, pcomtrueuw, pcomtrueud, pcomtrueuq): Ditto.
593 (pcomfalseb, pcomfalsew, pcomfalsed, pcomfalseq): Ditto.
594 (pcomfalseub, pcomfalseuw, pcomfalseud, pcomfalseuq): Ditto.
595 (frczps,frczpd,frczss,frczsd): Ditto.
596 (cvtph2ps,cvtps2ph): Ditto.
598 * i386-tbl.h: Regenerate from i386-opc.tbl.
599 * i386-init.h: Likewise.
601 * i386-dis.c (libiberty.h): Include to get ARRAY_SIZE.
602 (dis386_move_test): New disassembly support for move from test
603 register instruction that overlaps with SSE5 instructions.
604 (print_insn): Add support for special casing the i386/i486 move
605 from test register instruction that overlaps with the SSE5
606 0x0f24 4 operand instructions.
607 (OP_DREX_ICMP): New macros for SSE5 DREX handling.
608 (OP_DREX_FCMP): Ditto.
609 (OP_E_extended): Rename from OP_E, add additional argument to skip
611 (OP_E): Call OP_E_extended.
612 (DREX_REG_MEMORY): New macros for drex handling.
613 (DREX_REG_UNKNOWN): Ditto.
615 (DREX4_NO_OC0): Ditto.
617 (three_byte_table): Add SSE5 instructions.
618 (print_drex_arg): New function to print a DREX register or memory
620 (OP_DREX4): New function for handling DREX 4 argument ops.
621 (OP_DREX3): New function for handling DREX 3 argument ops.
622 (twobyte_has_modrm): 0f{25,7a,7b} all use the modrm byte.
623 (THREE_BYTE_SSE5_0F{24,25,7A,7B}): New macros for initializing 3
624 byte opcode support for SSE5 instructions.
625 (dis386_twobyte): Add SSE5 24/25/7a/7b support.
626 (three_byte_table): Add rows for describing SSE5 instructions.
628 2007-09-13 H.J. Lu <hongjiu.lu@intel.com>
630 * i386-dis.c (get_valid_dis386): Take a pointer to
631 disassemble_info. Handle IS_3BYTE_OPCODE.
632 (print_insn): Updated. Don't handle IS_3BYTE_OPCODE here.
634 2007-09-12 H.J. Lu <hongjiu.lu@intel.com>
636 * i386-opc.h (CpuUnused): Defined with CpuMax.
637 (OTUnused): Defined with OTMax.
639 2007-09-12 Jan Beulich <jbeulich@novell.com>
641 * i386-opc.tbl: Add two-operand forms of blendvps, blendvpd, and
643 * i386-tbl.h: Regenerate.
645 2007-09-09 H.J. Lu <hongjiu.lu@intel.com>
647 * i386-gen.c (main): Remove the local variable, unused.
649 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
651 * Makefile.am: Run "make dep-am".
652 * Makefile.in: Regenerate.
654 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
656 * configure.in (AC_CHECK_HEADERS): Add limits.h.
657 * configure: Regenerated.
658 * config.in: Likewise.
660 * i386-gen.c: Include "sysdep.h" instead of <stdlib.h> and
661 <string.h>. Use xstrerror instead of strerror.
663 (cpu_flag_init): Likewise.
664 (bitfield): Likewise.
666 (cpu_flags): Likewise.
667 (opcode_modifiers): Likewise.
668 (operand_types): Likewise.
670 (set_cpu_flags): Likewise.
671 (output_cpu_flags): Likewise.
672 (process_i386_cpu_flags): Likewise.
673 (output_opcode_modifier): Likewise.
674 (process_i386_opcode_modifier): Likewise.
675 (output_operand_type): Likewise.
676 (process_i386_operand_type): Likewise.
677 (set_bitfield): Likewise.
678 (operand_type_init): Likewise.
679 (process_i386_initializers): Likewise.
680 (process_i386_opcodes): Call process_i386_opcode_modifier to
681 process opcode_modifier. Call process_i386_operand_type to
682 process operand_types.
683 (process_i386_registers): Call process_i386_operand_type to
685 (main): Check unused bits in i386_cpu_flags and i386_operand_type.
686 Sort cpu_flags, opcode_modifiers and operand_types. Call
687 process_i386_initializers.
690 * i386-tbl.h: Regenerated.
692 * i386-opc.h: Include <limits.h>.
693 (CHAR_BIT): Define as 8 if not defined.
694 (Cpu186): Changed to position of bitfiled.
707 (Cpu3dnow): Likewise.
708 (Cpu3dnowA): Likewise.
710 (CpuPadLock): Likewise.
713 (CpuSSSE3): Likewise.
714 (CpuSSE4a): Likewise.
716 (CpuSSE4_1): Likewise.
717 (CpuSSE4_2): Likewise.
723 (ShortForm): Likewise.
725 (JumpDword): Likewise.
726 (JumpByte): Likewise.
727 (JumpInterSegment): Likewise.
734 (IgnoreSize): Likewise.
735 (DefaultSize): Likewise.
743 (IsString): Likewise.
744 (RegKludge): Likewise.
745 (IsPrefix): Likewise.
754 (FloatReg): Likewise.
764 (BaseIndex): Likewise.
770 (InOutPortReg): Likewise.
771 (ShiftCount): Likewise.
778 (FloatAcc): Likewise.
779 (JumpAbsolute): Likewise.
783 (Reg): Commented out.
785 (ImplicitRegister): Likewise.
790 (LLongMem): Likewise.
792 (ShortMem): Likewise.
797 (CpuNumOfUints): Likewise.
798 (CpuNumOfBits): Likewise.
799 (CpuUnused): Likewise.
800 (OTNumOfUints): Likewise.
801 (OTNumOfBits): Likewise.
802 (OTUnused): Likewise.
803 (i386_cpu_flags): New type.
804 (i386_operand_type): Likewise.
805 (i386_opcode_modifier): Likewise.
806 (CpuSledgehammer): Removed.
808 (CpuUnknownFlags): Likewise.
811 (ImplicitRegister): Likewise.
816 (LLongMem): Likewise.
818 (ShortMem): Likewise.
821 (template): Use i386_cpu_flags for cpu_flags, use
822 i386_opcode_modifier for opcode_modifier, use
823 i386_operand_type for operand_types.
824 (reg_entry): Use i386_operand_type for reg_type.
826 * Makefile.am (HFILES): Add i386-init.h.
827 ($(srcdir)/i386-init.h): New rule.
828 ($(srcdir)/i386-tbl.h): Depend on $(srcdir)/i386-init.h
830 * Makefile.in: Regenerated.
832 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
834 * i386-gen.c (next_field): Updated to take a separator.
835 (process_i386_opcodes): Updated.
836 (process_i386_registers): Likewise.
838 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
840 * i386-gen.c (table): Moved ...
841 (main): Here. Call process_copyright to output copyright.
842 (process_copyright): New.
843 (process_i386_opcodes): Take FILE *table.
844 (process_i386_registers): Likewise.
846 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
848 * i386-gen.c (table): New.
849 (process_i386_opcodes): Report errno when faied to open
850 i386-opc.tbl. Output opcodes to table. Close i386-opc.tbl
852 (process_i386_registers): Report errno when faied to open
853 i386-reg.tbl. Output opcodes to table. Close i386-reg.tbl
855 (main): Open i386-tbl.h for output.
857 * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@".
858 * Makefile.in: Regenerated.
860 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
862 * i386-opc.tbl: Correct SVME instructions to allow 32bit register
863 operand in 64bit mode.
864 * i386-tbl.h: Regenerated.
866 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
868 * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
869 (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
870 (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
872 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
874 * i386-dis.c (SVME_Fixup): Removed.
876 (OPC_EXT_RM_6): Likewise.
877 (grps): Use OPC_EXT_39.
878 (opc_ext_table): Add OPC_EXT_39.
879 (opc_ext_rm_table): Add OPC_EXT_RM_6.
881 * i386-opc.tbl: Correct SVME instructions to take register
883 * i386-tbl.h: Regenerated.
885 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
887 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
888 * Makefile.in: Regenerated.
890 * configure.in (AC_GNU_SOURCE): Added.
891 (AC_PROG_CC): Moved before AC_GNU_SOURCE.
892 (AC_CHECK_DECLS): Add stpcpy.
893 * configure: Regenerated.
894 * config.in: Likewise.
896 * i386-dis.c: Include "sysdep.h" before "dis-asm.h".
898 * sysdep.h (stpcpy): New.
900 2007-08-30 H.J. Lu <hongjiu.lu@intel.com>
902 * i386-dis.c (INVLPG_Fixup): Removed.
904 (OPC_EXT_RM_5): Likewise.
905 (grps): Use OPC_EXT_38.
906 (opc_ext_table): Add OPC_EXT_38.
907 (opc_ext_rm_table): Add OPC_EXT_RM_5.
909 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
911 * i386-dis.c (SIMD_Fixup): Removed.
912 (OPC_EXT_34...OPC_EXT_37): New.
913 (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
914 (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
915 (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
917 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
919 * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
920 (dis386): Use OPC_EXT_0...OPC_EXT_2.
921 (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
922 (grps): Updated to use OPC_EXT_6...OPC_EXT_31.
923 (prefix_user_table): Use OPC_EXT_32.
924 (x86_64_table): Use OPC_EXT_33.
925 (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
927 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
929 * i386-dis.c (prefix_user_table): Fix comment.
931 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
933 * i386-dis.c (OP_Skip_MODRM): New.
934 (OP_Monitor): Likewise.
935 (OP_Mwait): Likewise.
937 (Skip_MODRM): Likewise.
938 (USE_OPC_EXT_TABLE): Likewise.
939 (USE_OPC_EXT_RM_TABLE): Likewise.
940 (PREGRP98...PREGRP100): Likewise.
941 (OPC_EXT_0...OPC_EXT_24): Likewise.
942 (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
943 (lock_prefix): Likewise.
944 (data_prefix): Likewise.
945 (addr_prefix): Likewise.
946 (repz_prefix): Likewise.
947 (repnz_prefix): Likewise.
948 (opc_ext_table): Likewise.
949 (opc_ext_rm_table): Likewise.
950 (get_valid_dis386): Likewise.
953 (PNI_Fixup): Likewise.
954 (VMX_Fixup): Likewise.
956 (twobyte_uses_DATA_prefix): Likewise.
957 (twobyte_uses_REPNZ_prefix): Likewise.
958 (twobyte_uses_REPZ_prefix): Likewise.
959 (threebyte_0x38_uses_DATA_prefix): Likewise.
960 (threebyte_0x38_uses_REPNZ_prefix): Likewise.
961 (threebyte_0x38_uses_REPZ_prefix): Likewise.
962 (threebyte_0x3a_uses_DATA_prefix): Likewise.
963 (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
964 (threebyte_0x3a_uses_REPZ_prefix): Likewise.
965 (grps): Use OPC_EXT_0...OPC_EXT_24.
966 (prefix_user_table): Add PREGRP98...PREGRP100.
967 (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
968 uses_REPNZ_prefix and uses_REPZ_prefix. Initialize
969 repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
970 data_prefix based on prefixes. Call get_valid_dis386 to
971 get a pointer to the valid dis386. Print out prefixes if
973 (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
974 (REP_Fixup): Set repz_prefix to "rep " when seeing
977 2007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
979 * po/nl.po: Updated translation.
981 2007-08-28 H.J. Lu <hongjiu.lu@intel.com>
983 * i386-dis.c (Md): New.
984 (grps): Use 0 on invlpg. Use M on fxsave and fxrstor. Use
985 Md on ldmxcsr and stmxcsr. Use b_mode on clflush.
986 (OP_0fae): Clear bytemode for sfence.
988 2007-08-22 Ben Elliston <bje@au.ibm.com>
990 * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
991 (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
993 (powerpc_opcodes): Add all pair singles instructions.
994 * ppc-dis.c (powerpc_dialect): Handle "ppcps".
995 (print_ppc_disassembler_options): Document -Mppcps.
997 2007-08-21 Andreas Krebbel <krebbel1@de.ibm.com>
999 * s390-mkopc.c (struct s390_cond_ext_format): New global struct.
1000 (s390_cond_ext_format): New global variable.
1001 (expandConditionalJump): New function.
1002 (main): Invoke expandConditionalJump for mnemonics containing '*'.
1003 * s390-opc.txt: Replace mnemonics with conditional
1004 mask extensions with instructions using the newly introduced '*' tag.
1006 2007-08-17 Alan Modra <amodra@bigpond.net.au>
1008 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
1010 2007-08-10 Nick Clifton <nickc@redhat.com>
1012 * po/fi.po: Updated Finnish translation.
1013 * po/ga.po: Updated Irish translation.
1014 * po/vi.po: Updated Vietnamese translation.
1016 2007-08-09 H.J. Lu <hongjiu.lu@intel.com>
1018 * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
1019 pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
1020 * i386-tbl.h: Regenerated.
1022 2007-08-03 James E. Wilson <wilson@specifix.com>
1024 * ia64-gen.c: (main): Add missing newline to copyright message.
1025 * ia64-ic.tbl (fp-non-arith): Add xmpy.
1026 * ia64-asmtab.c: Regenerate.
1028 2007-08-01 Michael Snyder <msnyder@access-company.com>
1030 * i386-dis.c (print_insn): Guard against NULL.
1032 2007-07-29 H.J. Lu <hongjiu.lu@intel.com>
1035 * i386-dis.c (EXw): New.
1036 (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
1037 instructions when appropriated.
1039 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
1042 * i386-dis.c (Eq): New.
1043 (EMC): Renamed to ...
1044 (EMCq): This. Use q_mode instead of v_mode.
1045 (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
1048 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
1050 * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
1051 (prefix_user_table): Likewise. Use EXq instead of EXx on
1054 2007-07-27 Nathan Sidwell <nathan@codesourcery.com>
1056 * ppc-opc (PPC7450): New.
1057 (powerpc_opcodes): Use it in dcba.
1059 2007-07-24 H.J. Lu <hongjiu.lu@intel.com>
1061 * i386-gen.c (main): Print a newline after copyright notice.
1063 2007-07-19 Nick Clifton <nickc@redhat.com>
1066 * maxq-dis.c (get_reg_name): Fix the scan of the
1067 mem_access_syntax_table.
1069 2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
1071 * i386-dis.c (EMq): Removed.
1073 (prefix_user_table): Replace EMq with EMx.
1075 2007-07-16 Nick Clifton <nickc@redhat.com>
1077 * po/nl.po: Updated translation.
1079 2007-07-12 Nick Clifton <nickc@redhat.com>
1081 * po/vi.po: Updated translation.
1082 * po/nl.po: Updated translation.
1084 2007-07-06 Mark Kettenis <kettenis@gnu.org>
1085 H.J. Lu <hongjiu.lu@intel.com>
1087 * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
1088 (ia64-asmtab.c): Likewise.
1089 * Makefile.in: Regenerate.
1091 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
1093 * aclocal.m4: Regenerated.
1095 2007-07-04 Nick Clifton <nickc@redhat.com>
1097 * alpha-dis.c: Update copyright notice to refer to GPLv3.
1098 * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h,
1099 arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c,
1100 cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in,
1101 cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c,
1102 cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c,
1103 d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c,
1104 dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c,
1105 h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c,
1106 i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c,
1107 ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c,
1108 ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c,
1109 ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c,
1110 m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c,
1111 m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c,
1112 mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c,
1113 mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c,
1114 or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c,
1115 ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c,
1116 score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h,
1117 sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c,
1118 spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c,
1119 tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c,
1120 vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c,
1121 z8k-dis.c, z8kgen.c: Likewise.
1122 * i386-opc.tbl, i386-reg.tbl: Add copyright notice.
1123 * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h,
1124 fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c,
1125 frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c,
1126 frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c,
1127 ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h,
1128 iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c,
1129 iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c,
1130 m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c,
1131 m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
1132 m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c,
1133 mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c,
1134 mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c,
1135 mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c,
1136 openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c,
1137 openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h,
1138 xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h,
1139 xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h,
1140 xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c,
1141 xstormy16-opc.h, z8k-opc.h: Regenerated
1143 2007-07-04 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1145 * cr16-dis.c (getcinvstring): Add const qualifier to char *
1147 (print_insn_cr16): Remove cast to char *.
1149 2007-07-03 Nathan Sidwell <nathan@codesourcery.com>
1151 * m68k-dis.c (fetch_arg): Add E. Replace length switch with
1153 (print_ins_arg): Add j & K operand types.
1154 (match_insn_m68k): Check and skip initial '.' arg character.
1155 (m68k_scan_mask): Likewise.
1156 * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
1158 2007-07-02 Alan Modra <amodra@bigpond.net.au>
1160 * Makefile.am: Run "make dep-am".
1161 * Makefile.in: Regenerate.
1162 * aclocal.m4: Regenerate.
1163 * config.in: Regenerate.
1164 * po/POTFILES.in: Regenerate.
1165 * po/opcodes.pot: Regenerate.
1167 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
1169 * aclocal.m4: Regenerated.
1170 * Makefile.in: Likewise.
1172 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
1174 * i386-reg.tbl: Remove spaces before comments.
1176 2007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1178 * cr16-opc.c: New file.
1179 * cr16-dis.c: New file.
1180 * Makefile.am: Entries for cr16.
1181 * Makefile.in: Regenerate.
1182 * cofigure.in: Add cr16 target information.
1183 * configure : Regenerate.
1184 * disassemble.c: Add cr16 target information.
1186 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
1188 * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
1189 (CFILES): Add i386-gen.c.
1190 (i386-gen): New rule.
1191 (i386-gen.o): Likewise.
1192 (i386-tbl.h): Likewise.
1194 * Makefile.in: Regenerated.
1196 * i386-gen.c: New file.
1197 * i386-opc.tbl: Likewise.
1198 * i386-reg.tbl: Likewise.
1199 * i386-tbl.h: Likewise.
1201 * i386-opc.c: Include "i386-tbl.h".
1202 (i386_optab): Removed.
1203 (i386_regtab): Likewise.
1204 (i386_regtab_size): Likewise.
1206 2007-06-26 Paul Brook <paul@codesourcery.com>
1208 * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
1210 2007-06-25 H.J. Lu <hongjiu.lu@intel.com>
1212 * i386-opc.h (regKludge): Renamed to ...
1215 * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
1217 2007-06-23 H.J. Lu <hongjiu.lu@intel.com>
1220 * i386-dis.c (EX): Removed.
1226 (PREGRP93...PREGRP97): Likewise.
1227 (dis386_twobyte): Updated.
1228 (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
1229 (OP_EX): Remove Intel syntax handling.
1231 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
1233 * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
1235 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
1237 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
1239 * acinclude.m4: Removed.
1241 * Makefile.in: Regenerated.
1242 * doc/Makefile.in: Likewise.
1243 * aclocal.m4: Likewise.
1244 * configure: Likewise.
1246 2007-06-05 Paul Brook <paul@codesourcery.com>
1248 * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
1250 2007-05-24 Steve Ellcey <sje@cup.hp.com>
1252 * Makefile.in: Regnerate.
1253 * configure: Regenerate.
1254 * aclocal.m4: Regenerate.
1256 2007-05-18 Alan Modra <amodra@bigpond.net.au>
1258 * ppc-dis.c (print_insn_powerpc): Don't skip all operands
1259 after setting skip_optional.
1261 2007-05-16 Peter Bergner <bergner@vnet.ibm.com>
1263 * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
1264 (print_insn_powerpc): Use the new operand_value_powerpc and
1265 skip_optional_operands functions to omit or print all optional
1266 operands as a group.
1267 * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
1268 (XFL_MASK): Delete L and W bits from the mask.
1269 (mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK
1270 with XWRA_MASK. Use W.
1271 (mtfsf, mtfsf.): Use XFL_L and W.
1273 2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
1276 * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
1278 2007-05-10 H.J. Lu <hongjiu.lu@intel.com>
1280 * i386-opc.h (ShortForm): Redefined.
1282 (JumpDword): Likewise.
1283 (JumpByte): Likewise.
1284 (JumpInterSegment): Likewise.
1285 (FloatMF): Likewise.
1291 (IgnoreSize): Likewise.
1292 (DefaultSize): Likewise.
1293 (No_bSuf): Likewise.
1294 (No_wSuf): Likewise.
1295 (No_lSuf): Likewise.
1296 (No_sSuf): Likewise.
1297 (No_qSuf): Likewise.
1298 (No_xSuf): Likewise.
1300 (IsString): Likewise.
1301 (regKludge): Likewise.
1302 (IsPrefix): Likewise.
1304 (NoRex64): Likewise.
1308 2007-05-07 H.J. Lu <hongjiu.lu@intel.com>
1310 * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
1311 for some SSE4 instructions.
1312 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1314 2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
1316 * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
1318 * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
1321 2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
1323 * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
1324 check data size prefix in 16bit mode.
1326 * i386-opc.c (i386_optab): Default crc32 to non-8bit and
1329 2007-04-30 Mark Salter <msalter@redhat.com>
1331 * frv-desc.c: Regenerate.
1332 * frv-desc.h: Regenerate.
1334 2007-04-30 Alan Modra <amodra@bigpond.net.au>
1337 * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
1339 2007-04-27 H.J. Lu <hongjiu.lu@intel.com>
1341 * i386-dis.c (modrm): Put reg before rm.
1343 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1346 * i386-dis.c (print_displacement): New.
1347 (OP_E): Call print_displacement instead of print_operand_value
1348 to output displacement when either base or index exist. Print
1349 the explicit zero displacement in 16bit mode.
1351 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1354 * i386-dis.c (print_insn): Also swap the order of op_riprel
1355 when swapping op_index. Break when the RIP relative address
1357 (OP_E): Properly handle RIP relative addressing and print the
1358 explicit zero displacement for Intel mode.
1360 2007-04-27 Alan Modra <amodra@bigpond.net.au>
1362 * Makefile.am: Run "make dep-am".
1363 * Makefile.in: Regenerate.
1364 * ns32k-dis.c: Include sysdep.h first.
1366 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
1368 * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
1370 * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
1372 2007-04-24 Nick Clifton <nickc@redhat.com>
1374 * arm-dis.c (print_insn): Initialise type.
1376 2007-04-24 Alan Modra <amodra@bigpond.net.au>
1378 * cgen-types.h: Include bfd_stdint.h, not stdint.h.
1379 * Makefile.am: Run "make dep-am".
1380 * Makefile.in: Regenerate.
1382 2007-04-23 Nathan Sidwell <nathan@codesourcery.com>
1384 * m68k-opc.c: Mark mcfisa_c instructions.
1386 2007-04-21 Richard Earnshaw <rearnsha@arm.com>
1388 * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
1389 (thumb_opcodes): Add missing white space in adr.
1390 (arm_decode_shift): New parameter, print_shift. Only decode the
1391 shift parameter if set. Adjust callers.
1392 (print_insn_arm): Support for operand type q with no shift decode.
1394 2007-04-21 Alan Modra <amodra@bigpond.net.au>
1396 * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
1398 (i386_regtab): ..here.
1399 * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
1401 * ppc-opc.c (powerpc_operands): Delete duplicate entries.
1402 (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
1403 (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
1404 (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
1406 2007-04-20 Nathan Sidwell <nathan@codesourcery.com>
1408 * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
1411 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1413 * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
1415 * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
1416 in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove
1417 references to following deleted functions.
1418 (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
1419 (insert_ds, extract_ds, insert_de, extract_de): Delete.
1420 (insert_des, extract_des, insert_li, extract_li): Delete.
1421 (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
1422 (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
1423 (num_powerpc_operands): New constant.
1424 (XSPRG_MASK): Remove entire SPRG field.
1425 (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
1427 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1429 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
1431 (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
1433 2007-04-20 Richard Earnshaw <rearnsha@arm.com>
1435 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
1438 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1440 * Makefile.am: Run "make dep-am".
1441 * Makefile.in: Regenerate.
1442 * po/POTFILES.in: Regenerate.
1444 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1446 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
1447 db10cyc, db12cyc, db16cyc.
1449 2007-04-19 Nathan Froyd <froydnj@codesourcery.com>
1451 * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
1453 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1455 * i386-dis.c (CRC32_Fixup): New.
1456 (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
1458 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
1459 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1460 (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
1461 PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
1462 (three_byte_table): Likewise.
1464 * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
1466 * i386-opc.h (CpuSSE4_2): New.
1467 (CpuSSE4): Likewise.
1468 (CpuUnknownFlags): Add CpuSSE4_2.
1470 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1472 * i386-dis.c (XMM_Fixup): New.
1478 (PREGRP39 ... PREGRP85): New.
1479 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
1480 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1481 (prefix_user_table): Add PREGRP39 ... PREGRP85.
1482 (three_byte_table): Likewise.
1483 (putop): Handle 'K'.
1484 (intel_operand_size): Handle dqb_mode, dqd_mode):
1488 * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
1490 * i386-opc.h (CpuSSE4_1): New.
1491 (CpuUnknownFlags): Add CpuSSE4_1.
1492 (regKludge): Update comment.
1494 2007-04-18 Matthias Klose <doko@ubuntu.com>
1496 * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
1497 * Makefile.in: Regenerate.
1499 2007-04-14 Steve Ellcey <sje@cup.hp.com>
1501 * Makefile.am: Add ACLOCAL_AMFLAGS.
1502 * Makefile.in: Regenerate.
1504 2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
1506 * i386-dis.c: Remove trailing white spaces.
1507 * i386-opc.c: Likewise.
1508 * i386-opc.h: Likewise.
1510 2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
1513 * i386-dis.c (GRP1a): New.
1514 (GRP1b ... GRPPADLCK2): Update index.
1515 (dis386): Use GRP1a for entry 0x8f.
1516 (mod, rm, reg): Removed. Replaced by ...
1520 2007-04-09 Kazu Hirata <kazu@codesourcery.com>
1522 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
1523 info->print_address_func if longjmp is called.
1525 2007-03-29 DJ Delorie <dj@redhat.com>
1527 * m32c-desc.c: Regenerate.
1528 * m32c-dis.c: Regenerate.
1529 * m32c-opc.c: Regenerate.
1531 2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
1533 * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
1534 movq. Remove InvMem from sldt, smsw and str.
1536 * i386-opc.h (InvMem): Renamed to ...
1537 (RegMem): Update comments.
1538 (AnyMem): Remove InvMem.
1540 2007-03-27 Paul Brook <paul@codesourcery.com>
1542 * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
1544 2007-03-24 Paul Brook <paul@codesourcery.com>
1546 * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
1547 (print_insn_coprocessor): Handle %<bitfield>x.
1549 2007-03-24 Paul Brook <paul@codesourcery.com>
1550 Mark Shinwell <shinwell@codesourcery.com>
1552 * arm-dis.c (arm_opcodes): Print SRS base register.
1554 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
1556 * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
1558 * i386-opc.c (i386_optab): Add rex.wrxb.
1560 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1562 * i386-dis.c (REX_MODE64): Remove definition.
1563 (REX_EXTX): Likewise.
1564 (REX_EXTY): Likewise.
1565 (REX_EXTZ): Likewise.
1566 (USED_REX): Use REX_OPCODE instead of 0x40.
1567 Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
1568 REX_R, REX_X and REX_B respectively.
1570 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1573 * i386-dis.c (PREGRP38): New.
1574 (dis386): Use PREGRP38 for 0x90.
1575 (prefix_user_table): Add PREGRP38.
1576 (print_insn): Set uses_REPZ_prefix to 1 for pause.
1577 (NOP_Fixup1): Properly handle REX bits.
1578 (NOP_Fixup2): Likewise.
1580 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
1581 Allow register with nop.
1583 2007-03-20 DJ Delorie <dj@redhat.com>
1585 * m32c-asm.c: Regenerate.
1586 * m32c-desc.c: Regenerate.
1587 * m32c-desc.h: Regenerate.
1588 * m32c-dis.h: Regenerate.
1589 * m32c-ibld.c: Regenerate.
1590 * m32c-opc.c: Regenerate.
1591 * m32c-opc.h: Regenerate.
1593 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1595 * i386-opc.c: Include "libiberty.h".
1596 (i386_regtab): Remove the last entry.
1597 (i386_regtab_size): New.
1598 (i386_float_regtab_size): Likewise.
1600 * i386-opc.h (i386_regtab_size): New.
1601 (i386_float_regtab_size): Likewise.
1603 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1605 * Makefile.am (CFILES): Add i386-opc.c.
1606 (ALL_MACHINES): Add i386-opc.lo.
1608 * Makefile.in: Regenerated.
1610 * configure.in: Add i386-opc.lo for bfd_i386_arch.
1611 * configure: Regenerated.
1613 * i386-dis.c: Include "opcode/i386.h".
1614 (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
1615 (FWAIT_OPCODE): Remove definition.
1616 (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
1617 (MAX_OPERANDS): Remove definition.
1619 * i386-opc.c: New file.
1620 * i386-opc.h: Likewise.
1622 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1624 * Makefile.in: Regenerated.
1626 2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
1628 * i386-dis.c (OP_Rd): Renamed to ...
1633 2007-03-08 Alan Modra <amodra@bigpond.net.au>
1635 * fr30-asm.c: Regenerate.
1636 * frv-asm.c: Regenerate.
1637 * ip2k-asm.c: Regenerate.
1638 * iq2000-asm.c: Regenerate.
1639 * m32c-asm.c: Regenerate.
1640 * m32r-asm.c: Regenerate.
1641 * m32r-dis.c: Regenerate.
1642 * mt-asm.c: Regenerate.
1643 * mt-ibld.c: Regenerate.
1644 * mt-opc.c: Regenerate.
1645 * openrisc-asm.c: Regenerate.
1646 * xc16x-asm.c: Regenerate.
1647 * xstormy16-asm.c: Regenerate.
1649 * Makefile.am: Run "make dep-am".
1650 * Makefile.in: Regenerate.
1651 * po/POTFILES.in: Regenerate.
1653 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
1655 * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
1656 INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
1657 instruction formats added.
1658 (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
1659 MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
1661 * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
1663 * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1664 (main): z9-ec cpu type option added.
1665 * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1667 2007-02-22 DJ Delorie <dj@redhat.com>
1669 * s390-opc.c (INSTR_SS_L2RDRD): New.
1670 (MASK_SS_L2RDRD): New.
1671 * s390-opc.txt (pka): Use it.
1673 2007-02-20 Thiemo Seufer <ths@mips.com>
1674 Chao-Ying Fu <fu@mips.com>
1676 * mips-dis.c (mips_arch_choices): Add DSP R2 support.
1677 (print_insn_args): Add support for balign instruction.
1678 * mips-opc.c (D33): New shortcut for DSP R2 instructions.
1679 (mips_builtin_opcodes): Add DSP R2 instructions.
1681 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1683 * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
1684 (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
1685 * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
1686 cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
1688 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1690 * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
1691 * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
1692 (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
1695 2007-02-16 Nick Clifton <nickc@redhat.com>
1698 * avr-dis.c (comment_start): New variable, contains the prefix to
1699 use when printing addresses in comments.
1700 (print_insn_avr): Set comment_start to an empty space if there is
1701 no symbol table available as the generic address printing code
1702 will prefix the numeric value of the address with 0x.
1704 2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
1706 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
1709 2007-02-05 Dave Brolley <brolley@redhat.com>
1710 Richard Sandiford <rsandifo@redhat.com>
1711 DJ Delorie <dj@redhat.com>
1712 Graydon Hoare <graydon@redhat.com>
1713 Frank Ch. Eigler <fche@redhat.com>
1714 Ben Elliston <bje@redhat.com>
1716 * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
1717 (CFILES): Add mep-*.c
1718 (ALL_MACHINES): Add mep-*.lo.
1719 (CLEANFILES): Add stamp-mep.
1720 (CGEN_CPUS): Add mep.
1721 (MEP_DEPS): New variable.
1722 (mep-*): New targets.
1723 * configure.in: Handle bfd_mep_arch.
1724 * disassemble.c (ARCH_mep): New macro.
1725 (disassembler): Handle bfd_arch_mep.
1726 (disassemble_init_for_target): Likewise.
1727 * mep-*: New files for Toshiba Media Processor (MeP).
1728 * Makefile.in: Regenerated.
1729 * configure: Regenerated.
1731 2007-02-05 H.J. Lu <hongjiu.lu@intel.com>
1733 * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
1734 wrap around within the same segment in 16bit mode.
1736 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1738 * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
1741 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1743 * avr-dis.c (avr_operand): Correct PR number in comment.
1745 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1747 * disassemble.c (disassembler_usage): Call
1748 print_i386_disassembler_options for i386 disassembler.
1750 * i386-dis.c (print_i386_disassembler_options): New.
1751 (print_insn): Support the new addr64 option.
1753 2007-02-02 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
1755 * ppc-dis.c (powerpc_dialect): Handle ppc440.
1756 * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
1759 2007-02-02 Alan Modra <amodra@bigpond.net.au>
1761 * ppc-opc.c (insert_bdm): -Many comment.
1762 (valid_bo): Add "extract" param. Accept both powerpc and power4
1763 BO fields when disassembling with -Many.
1764 (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
1766 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
1768 * m68k-opc.c (m68k_opcodes): Replace cpu32 with
1769 cpu32 | fido_a except on tbl instructions.
1771 2007-01-04 Paul Brook <paul@codesourcery.com>
1773 * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
1775 2007-01-04 Andreas Schwab <schwab@suse.de>
1777 * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
1779 2007-01-04 Julian Brown <julian@codesourcery.com>
1781 * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
1782 vqrshl instructions.
1784 For older changes see ChangeLog-2006
1790 version-control: never