1 2007-11-07 Tristan Gingold <gingold@adacore.com>
3 * ia64-dis.c (print_insn_ia64): Generate symbolic names for cr
4 registers instead of register number.
6 2007-11-07 David O'Brien <obrien@FreeBSD.org>
8 * arm-dis.c (arm_opcodes): Remove superflous escapes of percent
11 2007-11-06 Peter Bergner <bergner@vnet.ibm.com>
13 * ppc-opc.c (powerpc_opcodes): Remove the dcffix and dcffix. opcodes
14 which are not included in the "Preliminary Decimal Floating-Point
15 Architecture" document.
17 2007-11-01 H.J. Lu <hongjiu.lu@intel.com>
19 * i386-gen.c (opcode_modifiers): Replace No_xSuf with
21 * i386-opc.tbl: Likewise.
23 * i386-opc.h (No_xSuf): Renamed to ...
27 2007-11-01 H.J. Lu <hongjiu.lu@intel.com>
29 * i386-gen.c (opcode_modifiers): Add ByteOkIntel, ToDword,
30 ToQword and AddrPrefixOp0.
32 * i386-opc.h (ByteOkIntel): New.
35 (AddrPrefixOp0): Likewise.
37 (i386_opcode_modifier): Add byteokintel, todword, toqword
40 * i386-opc.tbl (cvtss2si): Add ToQword.
41 (cvttss2si): Likewise.
42 (cvtsd2si): Add ToDword.
43 (cvttsd2si): Likewise.
44 (monitor): Add AddrPrefixOp0.
49 (pextrb): Add ByteOkIntel.
51 * i386-tbl.h: Regenerated.
53 2007-10-31 H.J. Lu <hongjiu.lu@intel.com>
55 * i386-dis.c (USE_REG_TABLE): Defined as the previous one + 1.
56 (USE_REG_TABLE): Likewise.
57 (USE_MOD_TABLE): Likewise.
58 (USE_RM_TABLE): Likewise.
59 (USE_PREFIX_TABLE): Likewise.
60 (USE_X86_64_TABLE): Likewise.
61 (USE_3BYTE_TABLE): Likewise.
63 2007-10-26 H.J. Lu <hongjiu.lu@intel.com>
65 * i386-dis.c (MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3): New.
68 (MOD_0FE7_PREFIX_2): Likewise.
69 (MOD_0F382A_PREFIX_2): Likewise.
70 (MOD_0F71_REG_2): Updated.
71 (MOD_0FF0_PREFIX_3): Likewise.
72 (MOD_62_32BIT): Likewise.
73 (dis386_twobyte): Use MOD_0F51 and MOD_0FD7.
74 (prefix_table): Use MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
75 MOD_0FE7_PREFIX_2 and MOD_0F382A_PREFIX_2.
76 (mod_table): Add MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
77 MOD_0F51, MOD_0FD7 and MOD_0F382A_PREFIX_2.
79 2007-10-26 Nick Clifton <nickc@redhat.com>
81 * arm-dis.c (print_insn): Check for a symtab that exists but is
84 2007-10-24 Alan Modra <amodra@bigpond.net.au>
86 * po/POTFILES.in: Regenerate.
88 2007-10-23 H.J. Lu <hongjiu.lu@intel.com>
90 * i386-dis.c (OP_SIMD_Suffix): Renamed to ...
91 (CMP_Fixup): This. Rewrite.
92 (OPSIMD): Renamed to ...
94 (prefix_table): Update PREFIX_0FC2 entry.
96 2007-10-22 H.J. Lu <hongjiu.lu@intel.com>
98 * i386-dis.c (prefix_table): Reordered by opcode.
99 (mod_table): Likewise.
101 2007-10-19 H.J. Lu <hongjiu.lu@intel.com>
103 * i386-dis.c (prefix_table): Use XS on psrldq and pslldq.
105 2007-10-17 Nathan Sidwell <nathan@codesourcery.com>
107 * m68k-opc.c (m68k_opcodes): Correct move sr and ccr masks for
110 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
112 * ppc-opc.c (powerpc_opcodes): Fix the first two operands of
113 dquaiq. to use the TE and FRT macros.
115 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
117 * ppc-opc.c (TE): Correct signedness.
118 (powerpc_opcodes): Sort psq_st and psq_stu according to major
121 2007-10-15 H.J. Lu <hongjiu.lu@intel.com>
123 * i386-dis.c (dis386_twobyte): Reformat.
124 (prefix_table): Likewise.
125 (three_byte_table): Likewise.
127 2007-10-15 Alan Modra <amodra@bigpond.net.au>
129 * mcore-dis.c (print_insn_mcore): Protect "fprintf" var against
132 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
134 * i386-gen.c (opcode_modifiers): Add FirstXmm0.
136 * i386-opc.h (FirstXmm0): New.
138 (i386_opcode_modifier): Add firstxmm0.
140 * i386-opc.tbl (blendvpd): Replace RegKludge with FirstXmm0.
141 (blendvps): Likewise.
142 (pblendvb): Likewise.
143 * i386-tbl.h: Regenerated.
145 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
147 * i386-dis.c (prefix_table): Reformat pblendvb and blendvps.
149 2007-10-10 H.J. Lu <hongjiu.lu@intel.com>
151 * i386-dis.c (v_mode): Defined as previous one + 1.
158 (cond_jump_mode): Likewise.
159 (loop_jcxz_mode): Likewise.
161 (dqw_mode): Likewise.
163 (const_1_mode): Likewise.
164 (stack_v_mode): Likewise.
167 (dqb_mode): Likewise.
168 (dqd_mode): Likewise.
207 (z_mode_ax_reg): Likewise.
208 (indir_dx_reg): Likewise.
210 (DREX_NO_OC0): Likewise.
211 (DREX_MASK): Likewise.
212 (MAX_BYTEMODE): New. Issue an error if MAX_BYTEMODE is not
215 2007-10-08 H.J. Lu <hongjiu.lu@intel.com>
217 * i386-dis.c: Updated comments for 'Y'.
218 (putop): Don't add 'q' for 'Y' if suffix_always isn't true.
220 2007-10-08 Maciej W. Rozycki <macro@linux-mips.org>
222 * opcodes/mips-dis.c (mips_cp0_names_r3000): New definition.
223 (mips_cp0_names_r4000): Likewise.
224 (mips_arch_choices): Link to the above as appropriate.
226 2007-10-08 Nick Clifton <nickc@redhat.com>
228 * configure.in (SHARED_DEPENDENCIES): Change non-cygwin dependency
229 to be ../bfd/libbfd.la.
230 * configure: Regenerate.
232 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
234 * i386-dis.c (dis386_twobyte): Add getsec.
236 * i386-gen.c (cpu_flags): Add CpuSMX.
238 * i386-opc.h (CpuSMX): New.
240 (i386_cpu_flags): Add cpusmx.
242 * i386-opc.tbl: Add getsec.
243 * i386-init.h: Regenerated.
244 * i386-tbl.h: Likewise.
246 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
248 * i386-dis.c (reg_table): Use "{ XX }" on "(bad)".
249 (prefix_table): Likewise.
251 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
253 * i386-dis.c (dis386_twobyte): Use EXx instead of EXq on
254 unpckhpX and unpckhpX.
256 2007-10-04 David Daney <ddaney@avtrex.com>
258 * mips-opc.c (mips_builtin_opcodes): Mark lwxc1 as working on FP_S
261 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
263 * i386-dis.c (MOD_0F12_PREFIX_0): Use "movlps" and "movhlps"
264 instead of "movlpX" and "movhlpX", respectively.
265 (MOD_0F16_PREFIX_0): Use "movhps" and "movlhps" instead of
266 "movhpX" and "movlhpX", respectively.
268 2007-10-04 Nick Clifton <nickc@redhat.com>
270 * configure.in (WIN32LDFLAGS): Rename to SHARED_LDFLAGS.
271 (WIN32LIBADD): Rename to SHARED_LIBADD
272 (SHARED_DEPENDENCIES): New exported variable.
273 (enable_shared): Add dependency upon libbfd.la for non-cygwin
274 based shared library builds.
275 * Makefile.am (libopcodes_la_DEPENDENCIES): Append
277 (libopcodes_la_LIBADD): Rename WIN32LIBADD to SHARED_LIBADD.
278 (libopcodes_la_LDFLAGS): Rename WIN32LDFLAGS to SHARED_LDFLAGS.
279 * configure: Regenerate.
280 * Makefile.in: Regenerate.
283 * arc-opc.c (insert_offset): Fix spelling mistake in error
286 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
288 * i386-dis.c (OP_REG): Set add to 0 only when needed.
297 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
299 * i386-opc.tbl: Update SSE comments.
301 2007-10-01 H.J. Lu <hongjiu.lu@intel.com>
303 * i386-dis.c (THREE_BYTE_0FBA): Renamed to ...
304 (THREE_BYTE_0F7B): This.
305 (dis386_twobyte): Updated.
306 (three_byte_table): Updated comments.
308 2007-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
310 * cr16-opc.c: Updated the branch on condition instructions with
313 2007-09-30 H.J. Lu <hongjiu.lu@intel.com>
315 * 386-dis.c (prefix_table): Reformat comment.
317 2007-09-29 H.J. Lu <hongjiu.lu@intel.com>
319 * 386-dis.c (USE_GROUPS): Renamed to ...
320 (USE_REG_TABLE): This.
321 (USE_OPC_EXT_TABLE): Renamed to ...
322 (USE_MOD_TABLE): This.
323 (USE_OPC_EXT_RM_TABLE): Renamed to ...
324 (USE_RM_TABLE): This.
325 (USE_XXX_TABLE): Reordered.
326 (GRP): Renamed to ...
328 (OPC_EXT_TABLE): Renamed to ...
330 (OPC_EXT_RM_TABLE): Renamed to ...
332 (GRP_XXX): Renamed to ...
334 (PREGRP_XXX): Renamed to ...
336 (OPC_EXT_XXX): Renamed to ...
338 (OPC_EXT_RM_XXX): Renamed to ...
340 (grps): Renamed to ...
342 (prefix_user_table): Renamed to ...
344 (opc_ext_table): Renamed to ...
346 (opc_ext_rm_table): Renamed to ...
348 (OPC_EXT_RM_XXX): Likewise.
350 (dis386_twobyte): Likewise.
351 (reg_table): Likewise.
352 (prefix_table): Likewise.
353 (x86_64_table): Likewise.
354 (three_byte_table): Likewise.
355 (mod_table): Likewise.
356 (rm_table): Likewise.
357 (get_valid_dis386): Likewise.
359 2007-09-28 H.J. Lu <hongjiu.lu@intel.com>
361 * 386-dis.c (USE_PREFIX_USER_TABLE): Renamed to ...
362 (USE_PREFIX_TABLE): This.
363 (X86_64_SPECIAL): Renamed to ...
364 (USE_X86_64_TABLE): This.
365 (IS_3BYTE_OPCODE): Renamed to ...
366 (USE_3BYTE_TABLE): This.
368 (PREGRPXXX): Likewise.
369 (X86_64_XXX): Likewise.
370 (THREE_BYTE_XXX): Likewise.
371 (OPC_EXT_XXX): Likewise.
372 (OPC_EXT_RM_XXX): Likewise.
376 (X86_64_TABLE): Likewise.
377 (THREE_BYTE_TABLE): Likewise.
378 (OPC_EXT_TABLE): Likewise.
379 (OPC_EXT_RM_TABLE): Likewise.
381 (PREGRP_XXX): Likewise.
382 (X86_64_XXX): Likewise.
383 (THREE_BYTE_XXX): Likewise.
384 (OPC_EXT_XXX): Likewise.
385 (OPC_EXT_RM_XXX): Likewise.
387 (dis386_twobyte): Likewise.
389 (prefix_user_table): Likewise.
390 (x86_64_table): Likewise.
391 (three_byte_table): Likewise.
392 (opc_ext_table): Likewise.
393 (opc_ext_rm_table): Likewise.
394 (get_valid_dis386): Likewise.
396 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
398 * i386-dis.c (dis386): Swap X86_64_27 with OPC_EXT_2.
399 (x86_64_table): Likewise.
400 (opc_ext_table): Likewise.
402 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
405 * i386-dis.c: Update comments on '{', '}' and '|' to support
406 only AT&T and Intel modes.
407 (X86_64_4...X86_64_27): New.
408 (dis386): Updated. Use X86_64_4...X86_64_21.
409 (dis386_twobyte): Updated.
410 (float_mem): Likewise.
411 (x86_64_table): Add X86_64_4...X86_64_27.
412 (opc_ext_table): Updated. Use X86_64_22...X86_64_27.
413 (putop): Updated handling of '{', '}' and '|' to support only
414 AT&T and Intel modes.
416 2007-09-27 Kazu Hirata <kazu@codesourcery.com>
418 * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb.
420 2007-09-26 James E. Wilson <wilson@specifix.com>
422 * ia64-gen.c (print_dependency_table): Fix typo in last patch.
424 2007-09-26 Nick Clifton <nickc@redhat.com>
426 * mt-asm.c (parse_imm16): Reword error message in order to allow
427 it to be translated properly.
428 * ia64-gen.c (print_dependency_table): Likewise.
429 * mips-dis.c (print_insn_args): Likewise.
431 2007-09-26 Jan Beulich <jbeulich@novell.com>
433 * i386-dis.c (OP_E_extended): Distinguish rip- and eip-
434 relative addressing. Update used_prefixes based on whether any
435 base or index register was printed.
437 2007-09-26 Jan Beulich <jbeulich@novell.com>
439 * i386-opc.h (RegEip): Define.
441 * i386-reg.tbl: Add eip. Mark rip and eip with RegRex64.
442 * i386-tbl.h: Re-generate.
444 2007-09-25 H.J. Lu <hongjiu.lu@intel.com>
446 * i386-gen.c (process_i386_opcodes): Process opcode_length.
448 * i386-opc.h (template): Add opcode_length.
449 * 386-opc.tbl: Likewise.
450 * i386-tbl.h: Regenerated.
452 2007-09-21 H.J. Lu <hongjiu.lu@intel.com>
454 * i386-opc.h: Adjust whitespaces.
456 2007-09-21 Dave Brolley <brolley@redhat.com>
458 * mep-desc.c: Regenerated.
460 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
462 * i386-dis.c (OP_E_extended): Display eiz for [eiz*1 + offset].
464 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
467 * 386-dis.c (index64): New.
469 (intel_index64): Likewise.
470 (intel_index32): Likewise.
471 (att_index64): Likewise.
472 (att_index32): Likewise.
473 (print_insn): Set index64 and index32.
474 (OP_E_extended): Use index64/index32 for index register for
477 * i386-opc.h (RegEiz): New.
480 * i386-reg.tbl: Add eiz and riz.
481 * i386-tbl.h: Regenerated.
483 2007-09-19 H.J. Lu <hongjiu.lu@intel.com>
485 * i386-dis.c (OP_E_extended): Always display scale for memory.
487 2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
489 * i386-opc.h (RegRip): New.
491 * i386-reg.tbl (rip): Use RegRip for reg_num.
492 * i386-tbl.h: Regenerated.
494 2007-09-17 Nick Clifton <nickc@redhat.com>
496 * po/es.po: Updated Spanish translation.
498 2007-09-14 H.J. Lu <hongjiu.lu@intel.com>
500 * Makefile.am: Run "make dep-am".
501 * Makefile.in: Regenerate.
503 2007-09-14 Michael Meissner <michael.meissner@amd.com>
504 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
505 Tony Linthicum <tony.linthicum@amd.com>
507 * i386-opc.h (CpuSSE5): New macro.
508 (i386_cpu_flags): Add Drex, Drexv and Drexc.
510 * i386-gen.c (cpu_flag_init): Add CPU_SSE5_FLAGS.
511 (operand_type_init): Add CpuSSE5.
512 (opcode_modifiers): Add Drex, Drexv and Drexc.
513 (i386_opcode_modifier): Ditto.
515 * i386-opc.tbl (fmaddps,fmaddpd,fmaddss,fmaddsd): Define SSE5
517 (fmsubps,fmsubpd,fmsubss,fmsubsd): Ditto.
518 (fnmaddps,fnmaddpd,fnmaddss,fnmaddsd): Ditto.
519 (fnmsubps,fnmsubpd,fnmsubss,fnmsubsd): Ditto.
520 (pmacssww,pmacsww,pmacsswd,pmacswd): Ditto.
521 (pmacssdd,pmacsdd,pmacssdql,pmacssdqh): Ditto.
522 (pmacsdql,pmacsdqh,pmadcsswd,pmadcswd): Ditto.
523 (phaddbw,phaddbd,phaddbq,phaddwd): Ditto.
524 (phaddwq,phadddq,phaddubw,phaddubd): Ditto.
525 (phaddubq,phadduwd,phadduwq,phaddudq): Ditto.
526 (phsubbw,phsubwd,phsubdq): Ditto.
527 (pcmov,pperm,permps,permpd): Ditto.
528 (protb,protw,protd,protq): Ditto.
529 (pshlb,pshlw,pshld,pshlq): Ditto.
530 (pshab,pshaw,pshad,pshaq): Ditto.
531 (comps,comeqps,comltps,comungeps,comleps,comungtps): Ditto.
532 (comunordps,comneps,comneqps,comnltps,comugeps): Ditto.
533 (comnleps,comugtps,comordps,comueqps,comultps): Ditto.
534 (comngeps,comuleps,comngtps,comfalseps,comuneps): Ditto.
535 (comuneqps,comunltps,comgeps,comunleps,comgtps,comtrueps): Ditto.
536 (compd,comeqpd,comltpd,comungepd,comlepd,comungtpd,comunordpd): Ditto.
537 (comnepd,comneqpd,comnltpd,comugepd,comnlepd,comugtpd): Ditto.
538 (comordpd,comueqpd,comultpd,comngepd,comulepd,comngtpd): Ditto.
539 (comfalsepd,comunepd,comuneqpd,comunltpd,comgepd): Ditto.
540 (comunlepd,comgtpd,comtruepd): Ditto.
541 (comss,comeqss,comltss,comungess,comless,comungtss,comunordss): Ditto.
542 (comness,comneqss,comnltss,comugess,comnless,comugtss): Ditto.
543 (comordss,comueqss,comultss,comngess,comuless,comngtss): Ditto.
544 (comfalsess,comuness,comuneqss,comunltss,comgess): Ditto.
545 (comunless,comgtss,comtruess): Ditto.
546 (comsd,comeqsd,comltsd,comungesd,comlesd,comungtsd,comunordsd): Ditto.
547 (comnesd,comneqsd,comnltsd,comugesd,comnlesd,comugtsd): Ditto.
548 (comordsd,comueqsd,comultsd,comngesd,comulesd,comngtsd): Ditto.
549 (comfalsesd,comunesd,comuneqsd,comunltsd,comgesd): Ditto.
550 (comunlesd,comgtsd,comtruesd): Ditto.
551 (pcomub,pcomltub,pcomleub,pcomgtub,pcomgeub,pcomequb): Ditto.
552 (pcomnequb,pcomneub): Ditto.
553 (pcomuw,pcomltuw,pcomleuw,pcomgtuw,pcomgeuw,pcomequw): Ditto.
554 (pcomnequw,pcomneuw): Ditto.
555 (pcomud,pcomltud,pcomleud,pcomgtud,pcomgeud,pcomequd): Ditto.
556 (pcomnequd,pcomneud): Ditto.
557 (pcomuq,pcomltuq,pcomleuq,pcomgtuq,pcomgeuq,pcomequq): Ditto.
558 (pcomnequq,pcomneuq): Ditto.
559 (pcomb,pcomltb,pcomleb,pcomgtb,pcomgeb,pcomeqb): Ditto.
560 (pcomneqb,pcomneb): Ditto.
561 (pcomw,pcomltw,pcomlew,pcomgtw,pcomgew,pcomeqw): Ditto.
562 (pcomneqw,pcomnew): Ditto.
563 (pcomd,pcomltd,pcomled,pcomgtd,pcomged,pcomeqd): Ditto.
564 (pcomneqd,pcomned): Ditto.
565 (pcomq,pcomltq,pcomleq,pcomgtq,pcomgeq): Ditto.
566 (pcomeqq,pcomneqq,pcomneq): Ditto.
567 (pcomtrueb, pcomtruew, pcomtrued, pcomtrueq): Ditto.
568 (pcomtrueub, pcomtrueuw, pcomtrueud, pcomtrueuq): Ditto.
569 (pcomfalseb, pcomfalsew, pcomfalsed, pcomfalseq): Ditto.
570 (pcomfalseub, pcomfalseuw, pcomfalseud, pcomfalseuq): Ditto.
571 (frczps,frczpd,frczss,frczsd): Ditto.
572 (cvtph2ps,cvtps2ph): Ditto.
574 * i386-tbl.h: Regenerate from i386-opc.tbl.
575 * i386-init.h: Likewise.
577 * i386-dis.c (libiberty.h): Include to get ARRAY_SIZE.
578 (dis386_move_test): New disassembly support for move from test
579 register instruction that overlaps with SSE5 instructions.
580 (print_insn): Add support for special casing the i386/i486 move
581 from test register instruction that overlaps with the SSE5
582 0x0f24 4 operand instructions.
583 (OP_DREX_ICMP): New macros for SSE5 DREX handling.
584 (OP_DREX_FCMP): Ditto.
585 (OP_E_extended): Rename from OP_E, add additional argument to skip
587 (OP_E): Call OP_E_extended.
588 (DREX_REG_MEMORY): New macros for drex handling.
589 (DREX_REG_UNKNOWN): Ditto.
591 (DREX4_NO_OC0): Ditto.
593 (three_byte_table): Add SSE5 instructions.
594 (print_drex_arg): New function to print a DREX register or memory
596 (OP_DREX4): New function for handling DREX 4 argument ops.
597 (OP_DREX3): New function for handling DREX 3 argument ops.
598 (twobyte_has_modrm): 0f{25,7a,7b} all use the modrm byte.
599 (THREE_BYTE_SSE5_0F{24,25,7A,7B}): New macros for initializing 3
600 byte opcode support for SSE5 instructions.
601 (dis386_twobyte): Add SSE5 24/25/7a/7b support.
602 (three_byte_table): Add rows for describing SSE5 instructions.
604 2007-09-13 H.J. Lu <hongjiu.lu@intel.com>
606 * i386-dis.c (get_valid_dis386): Take a pointer to
607 disassemble_info. Handle IS_3BYTE_OPCODE.
608 (print_insn): Updated. Don't handle IS_3BYTE_OPCODE here.
610 2007-09-12 H.J. Lu <hongjiu.lu@intel.com>
612 * i386-opc.h (CpuUnused): Defined with CpuMax.
613 (OTUnused): Defined with OTMax.
615 2007-09-12 Jan Beulich <jbeulich@novell.com>
617 * i386-opc.tbl: Add two-operand forms of blendvps, blendvpd, and
619 * i386-tbl.h: Regenerate.
621 2007-09-09 H.J. Lu <hongjiu.lu@intel.com>
623 * i386-gen.c (main): Remove the local variable, unused.
625 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
627 * Makefile.am: Run "make dep-am".
628 * Makefile.in: Regenerate.
630 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
632 * configure.in (AC_CHECK_HEADERS): Add limits.h.
633 * configure: Regenerated.
634 * config.in: Likewise.
636 * i386-gen.c: Include "sysdep.h" instead of <stdlib.h> and
637 <string.h>. Use xstrerror instead of strerror.
639 (cpu_flag_init): Likewise.
640 (bitfield): Likewise.
642 (cpu_flags): Likewise.
643 (opcode_modifiers): Likewise.
644 (operand_types): Likewise.
646 (set_cpu_flags): Likewise.
647 (output_cpu_flags): Likewise.
648 (process_i386_cpu_flags): Likewise.
649 (output_opcode_modifier): Likewise.
650 (process_i386_opcode_modifier): Likewise.
651 (output_operand_type): Likewise.
652 (process_i386_operand_type): Likewise.
653 (set_bitfield): Likewise.
654 (operand_type_init): Likewise.
655 (process_i386_initializers): Likewise.
656 (process_i386_opcodes): Call process_i386_opcode_modifier to
657 process opcode_modifier. Call process_i386_operand_type to
658 process operand_types.
659 (process_i386_registers): Call process_i386_operand_type to
661 (main): Check unused bits in i386_cpu_flags and i386_operand_type.
662 Sort cpu_flags, opcode_modifiers and operand_types. Call
663 process_i386_initializers.
666 * i386-tbl.h: Regenerated.
668 * i386-opc.h: Include <limits.h>.
669 (CHAR_BIT): Define as 8 if not defined.
670 (Cpu186): Changed to position of bitfiled.
683 (Cpu3dnow): Likewise.
684 (Cpu3dnowA): Likewise.
686 (CpuPadLock): Likewise.
689 (CpuSSSE3): Likewise.
690 (CpuSSE4a): Likewise.
692 (CpuSSE4_1): Likewise.
693 (CpuSSE4_2): Likewise.
699 (ShortForm): Likewise.
701 (JumpDword): Likewise.
702 (JumpByte): Likewise.
703 (JumpInterSegment): Likewise.
710 (IgnoreSize): Likewise.
711 (DefaultSize): Likewise.
719 (IsString): Likewise.
720 (RegKludge): Likewise.
721 (IsPrefix): Likewise.
730 (FloatReg): Likewise.
740 (BaseIndex): Likewise.
746 (InOutPortReg): Likewise.
747 (ShiftCount): Likewise.
754 (FloatAcc): Likewise.
755 (JumpAbsolute): Likewise.
759 (Reg): Commented out.
761 (ImplicitRegister): Likewise.
766 (LLongMem): Likewise.
768 (ShortMem): Likewise.
773 (CpuNumOfUints): Likewise.
774 (CpuNumOfBits): Likewise.
775 (CpuUnused): Likewise.
776 (OTNumOfUints): Likewise.
777 (OTNumOfBits): Likewise.
778 (OTUnused): Likewise.
779 (i386_cpu_flags): New type.
780 (i386_operand_type): Likewise.
781 (i386_opcode_modifier): Likewise.
782 (CpuSledgehammer): Removed.
784 (CpuUnknownFlags): Likewise.
787 (ImplicitRegister): Likewise.
792 (LLongMem): Likewise.
794 (ShortMem): Likewise.
797 (template): Use i386_cpu_flags for cpu_flags, use
798 i386_opcode_modifier for opcode_modifier, use
799 i386_operand_type for operand_types.
800 (reg_entry): Use i386_operand_type for reg_type.
802 * Makefile.am (HFILES): Add i386-init.h.
803 ($(srcdir)/i386-init.h): New rule.
804 ($(srcdir)/i386-tbl.h): Depend on $(srcdir)/i386-init.h
806 * Makefile.in: Regenerated.
808 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
810 * i386-gen.c (next_field): Updated to take a separator.
811 (process_i386_opcodes): Updated.
812 (process_i386_registers): Likewise.
814 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
816 * i386-gen.c (table): Moved ...
817 (main): Here. Call process_copyright to output copyright.
818 (process_copyright): New.
819 (process_i386_opcodes): Take FILE *table.
820 (process_i386_registers): Likewise.
822 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
824 * i386-gen.c (table): New.
825 (process_i386_opcodes): Report errno when faied to open
826 i386-opc.tbl. Output opcodes to table. Close i386-opc.tbl
828 (process_i386_registers): Report errno when faied to open
829 i386-reg.tbl. Output opcodes to table. Close i386-reg.tbl
831 (main): Open i386-tbl.h for output.
833 * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@".
834 * Makefile.in: Regenerated.
836 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
838 * i386-opc.tbl: Correct SVME instructions to allow 32bit register
839 operand in 64bit mode.
840 * i386-tbl.h: Regenerated.
842 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
844 * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
845 (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
846 (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
848 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
850 * i386-dis.c (SVME_Fixup): Removed.
852 (OPC_EXT_RM_6): Likewise.
853 (grps): Use OPC_EXT_39.
854 (opc_ext_table): Add OPC_EXT_39.
855 (opc_ext_rm_table): Add OPC_EXT_RM_6.
857 * i386-opc.tbl: Correct SVME instructions to take register
859 * i386-tbl.h: Regenerated.
861 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
863 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
864 * Makefile.in: Regenerated.
866 * configure.in (AC_GNU_SOURCE): Added.
867 (AC_PROG_CC): Moved before AC_GNU_SOURCE.
868 (AC_CHECK_DECLS): Add stpcpy.
869 * configure: Regenerated.
870 * config.in: Likewise.
872 * i386-dis.c: Include "sysdep.h" before "dis-asm.h".
874 * sysdep.h (stpcpy): New.
876 2007-08-30 H.J. Lu <hongjiu.lu@intel.com>
878 * i386-dis.c (INVLPG_Fixup): Removed.
880 (OPC_EXT_RM_5): Likewise.
881 (grps): Use OPC_EXT_38.
882 (opc_ext_table): Add OPC_EXT_38.
883 (opc_ext_rm_table): Add OPC_EXT_RM_5.
885 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
887 * i386-dis.c (SIMD_Fixup): Removed.
888 (OPC_EXT_34...OPC_EXT_37): New.
889 (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
890 (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
891 (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
893 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
895 * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
896 (dis386): Use OPC_EXT_0...OPC_EXT_2.
897 (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
898 (grps): Updated to use OPC_EXT_6...OPC_EXT_31.
899 (prefix_user_table): Use OPC_EXT_32.
900 (x86_64_table): Use OPC_EXT_33.
901 (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
903 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
905 * i386-dis.c (prefix_user_table): Fix comment.
907 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
909 * i386-dis.c (OP_Skip_MODRM): New.
910 (OP_Monitor): Likewise.
911 (OP_Mwait): Likewise.
913 (Skip_MODRM): Likewise.
914 (USE_OPC_EXT_TABLE): Likewise.
915 (USE_OPC_EXT_RM_TABLE): Likewise.
916 (PREGRP98...PREGRP100): Likewise.
917 (OPC_EXT_0...OPC_EXT_24): Likewise.
918 (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
919 (lock_prefix): Likewise.
920 (data_prefix): Likewise.
921 (addr_prefix): Likewise.
922 (repz_prefix): Likewise.
923 (repnz_prefix): Likewise.
924 (opc_ext_table): Likewise.
925 (opc_ext_rm_table): Likewise.
926 (get_valid_dis386): Likewise.
929 (PNI_Fixup): Likewise.
930 (VMX_Fixup): Likewise.
932 (twobyte_uses_DATA_prefix): Likewise.
933 (twobyte_uses_REPNZ_prefix): Likewise.
934 (twobyte_uses_REPZ_prefix): Likewise.
935 (threebyte_0x38_uses_DATA_prefix): Likewise.
936 (threebyte_0x38_uses_REPNZ_prefix): Likewise.
937 (threebyte_0x38_uses_REPZ_prefix): Likewise.
938 (threebyte_0x3a_uses_DATA_prefix): Likewise.
939 (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
940 (threebyte_0x3a_uses_REPZ_prefix): Likewise.
941 (grps): Use OPC_EXT_0...OPC_EXT_24.
942 (prefix_user_table): Add PREGRP98...PREGRP100.
943 (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
944 uses_REPNZ_prefix and uses_REPZ_prefix. Initialize
945 repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
946 data_prefix based on prefixes. Call get_valid_dis386 to
947 get a pointer to the valid dis386. Print out prefixes if
949 (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
950 (REP_Fixup): Set repz_prefix to "rep " when seeing
953 2007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
955 * po/nl.po: Updated translation.
957 2007-08-28 H.J. Lu <hongjiu.lu@intel.com>
959 * i386-dis.c (Md): New.
960 (grps): Use 0 on invlpg. Use M on fxsave and fxrstor. Use
961 Md on ldmxcsr and stmxcsr. Use b_mode on clflush.
962 (OP_0fae): Clear bytemode for sfence.
964 2007-08-22 Ben Elliston <bje@au.ibm.com>
966 * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
967 (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
969 (powerpc_opcodes): Add all pair singles instructions.
970 * ppc-dis.c (powerpc_dialect): Handle "ppcps".
971 (print_ppc_disassembler_options): Document -Mppcps.
973 2007-08-21 Andreas Krebbel <krebbel1@de.ibm.com>
975 * s390-mkopc.c (struct s390_cond_ext_format): New global struct.
976 (s390_cond_ext_format): New global variable.
977 (expandConditionalJump): New function.
978 (main): Invoke expandConditionalJump for mnemonics containing '*'.
979 * s390-opc.txt: Replace mnemonics with conditional
980 mask extensions with instructions using the newly introduced '*' tag.
982 2007-08-17 Alan Modra <amodra@bigpond.net.au>
984 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
986 2007-08-10 Nick Clifton <nickc@redhat.com>
988 * po/fi.po: Updated Finnish translation.
989 * po/ga.po: Updated Irish translation.
990 * po/vi.po: Updated Vietnamese translation.
992 2007-08-09 H.J. Lu <hongjiu.lu@intel.com>
994 * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
995 pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
996 * i386-tbl.h: Regenerated.
998 2007-08-03 James E. Wilson <wilson@specifix.com>
1000 * ia64-gen.c: (main): Add missing newline to copyright message.
1001 * ia64-ic.tbl (fp-non-arith): Add xmpy.
1002 * ia64-asmtab.c: Regenerate.
1004 2007-08-01 Michael Snyder <msnyder@access-company.com>
1006 * i386-dis.c (print_insn): Guard against NULL.
1008 2007-07-29 H.J. Lu <hongjiu.lu@intel.com>
1011 * i386-dis.c (EXw): New.
1012 (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
1013 instructions when appropriated.
1015 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
1018 * i386-dis.c (Eq): New.
1019 (EMC): Renamed to ...
1020 (EMCq): This. Use q_mode instead of v_mode.
1021 (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
1024 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
1026 * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
1027 (prefix_user_table): Likewise. Use EXq instead of EXx on
1030 2007-07-27 Nathan Sidwell <nathan@codesourcery.com>
1032 * ppc-opc (PPC7450): New.
1033 (powerpc_opcodes): Use it in dcba.
1035 2007-07-24 H.J. Lu <hongjiu.lu@intel.com>
1037 * i386-gen.c (main): Print a newline after copyright notice.
1039 2007-07-19 Nick Clifton <nickc@redhat.com>
1042 * maxq-dis.c (get_reg_name): Fix the scan of the
1043 mem_access_syntax_table.
1045 2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
1047 * i386-dis.c (EMq): Removed.
1049 (prefix_user_table): Replace EMq with EMx.
1051 2007-07-16 Nick Clifton <nickc@redhat.com>
1053 * po/nl.po: Updated translation.
1055 2007-07-12 Nick Clifton <nickc@redhat.com>
1057 * po/vi.po: Updated translation.
1058 * po/nl.po: Updated translation.
1060 2007-07-06 Mark Kettenis <kettenis@gnu.org>
1061 H.J. Lu <hongjiu.lu@intel.com>
1063 * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
1064 (ia64-asmtab.c): Likewise.
1065 * Makefile.in: Regenerate.
1067 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
1069 * aclocal.m4: Regenerated.
1071 2007-07-04 Nick Clifton <nickc@redhat.com>
1073 * alpha-dis.c: Update copyright notice to refer to GPLv3.
1074 * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h,
1075 arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c,
1076 cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in,
1077 cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c,
1078 cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c,
1079 d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c,
1080 dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c,
1081 h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c,
1082 i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c,
1083 ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c,
1084 ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c,
1085 ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c,
1086 m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c,
1087 m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c,
1088 mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c,
1089 mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c,
1090 or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c,
1091 ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c,
1092 score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h,
1093 sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c,
1094 spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c,
1095 tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c,
1096 vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c,
1097 z8k-dis.c, z8kgen.c: Likewise.
1098 * i386-opc.tbl, i386-reg.tbl: Add copyright notice.
1099 * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h,
1100 fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c,
1101 frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c,
1102 frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c,
1103 ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h,
1104 iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c,
1105 iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c,
1106 m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c,
1107 m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
1108 m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c,
1109 mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c,
1110 mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c,
1111 mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c,
1112 openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c,
1113 openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h,
1114 xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h,
1115 xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h,
1116 xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c,
1117 xstormy16-opc.h, z8k-opc.h: Regenerated
1119 2007-07-04 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1121 * cr16-dis.c (getcinvstring): Add const qualifier to char *
1123 (print_insn_cr16): Remove cast to char *.
1125 2007-07-03 Nathan Sidwell <nathan@codesourcery.com>
1127 * m68k-dis.c (fetch_arg): Add E. Replace length switch with
1129 (print_ins_arg): Add j & K operand types.
1130 (match_insn_m68k): Check and skip initial '.' arg character.
1131 (m68k_scan_mask): Likewise.
1132 * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
1134 2007-07-02 Alan Modra <amodra@bigpond.net.au>
1136 * Makefile.am: Run "make dep-am".
1137 * Makefile.in: Regenerate.
1138 * aclocal.m4: Regenerate.
1139 * config.in: Regenerate.
1140 * po/POTFILES.in: Regenerate.
1141 * po/opcodes.pot: Regenerate.
1143 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
1145 * aclocal.m4: Regenerated.
1146 * Makefile.in: Likewise.
1148 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
1150 * i386-reg.tbl: Remove spaces before comments.
1152 2007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1154 * cr16-opc.c: New file.
1155 * cr16-dis.c: New file.
1156 * Makefile.am: Entries for cr16.
1157 * Makefile.in: Regenerate.
1158 * cofigure.in: Add cr16 target information.
1159 * configure : Regenerate.
1160 * disassemble.c: Add cr16 target information.
1162 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
1164 * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
1165 (CFILES): Add i386-gen.c.
1166 (i386-gen): New rule.
1167 (i386-gen.o): Likewise.
1168 (i386-tbl.h): Likewise.
1170 * Makefile.in: Regenerated.
1172 * i386-gen.c: New file.
1173 * i386-opc.tbl: Likewise.
1174 * i386-reg.tbl: Likewise.
1175 * i386-tbl.h: Likewise.
1177 * i386-opc.c: Include "i386-tbl.h".
1178 (i386_optab): Removed.
1179 (i386_regtab): Likewise.
1180 (i386_regtab_size): Likewise.
1182 2007-06-26 Paul Brook <paul@codesourcery.com>
1184 * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
1186 2007-06-25 H.J. Lu <hongjiu.lu@intel.com>
1188 * i386-opc.h (regKludge): Renamed to ...
1191 * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
1193 2007-06-23 H.J. Lu <hongjiu.lu@intel.com>
1196 * i386-dis.c (EX): Removed.
1202 (PREGRP93...PREGRP97): Likewise.
1203 (dis386_twobyte): Updated.
1204 (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
1205 (OP_EX): Remove Intel syntax handling.
1207 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
1209 * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
1211 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
1213 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
1215 * acinclude.m4: Removed.
1217 * Makefile.in: Regenerated.
1218 * doc/Makefile.in: Likewise.
1219 * aclocal.m4: Likewise.
1220 * configure: Likewise.
1222 2007-06-05 Paul Brook <paul@codesourcery.com>
1224 * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
1226 2007-05-24 Steve Ellcey <sje@cup.hp.com>
1228 * Makefile.in: Regnerate.
1229 * configure: Regenerate.
1230 * aclocal.m4: Regenerate.
1232 2007-05-18 Alan Modra <amodra@bigpond.net.au>
1234 * ppc-dis.c (print_insn_powerpc): Don't skip all operands
1235 after setting skip_optional.
1237 2007-05-16 Peter Bergner <bergner@vnet.ibm.com>
1239 * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
1240 (print_insn_powerpc): Use the new operand_value_powerpc and
1241 skip_optional_operands functions to omit or print all optional
1242 operands as a group.
1243 * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
1244 (XFL_MASK): Delete L and W bits from the mask.
1245 (mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK
1246 with XWRA_MASK. Use W.
1247 (mtfsf, mtfsf.): Use XFL_L and W.
1249 2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
1252 * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
1254 2007-05-10 H.J. Lu <hongjiu.lu@intel.com>
1256 * i386-opc.h (ShortForm): Redefined.
1258 (JumpDword): Likewise.
1259 (JumpByte): Likewise.
1260 (JumpInterSegment): Likewise.
1261 (FloatMF): Likewise.
1267 (IgnoreSize): Likewise.
1268 (DefaultSize): Likewise.
1269 (No_bSuf): Likewise.
1270 (No_wSuf): Likewise.
1271 (No_lSuf): Likewise.
1272 (No_sSuf): Likewise.
1273 (No_qSuf): Likewise.
1274 (No_xSuf): Likewise.
1276 (IsString): Likewise.
1277 (regKludge): Likewise.
1278 (IsPrefix): Likewise.
1280 (NoRex64): Likewise.
1284 2007-05-07 H.J. Lu <hongjiu.lu@intel.com>
1286 * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
1287 for some SSE4 instructions.
1288 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1290 2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
1292 * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
1294 * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
1297 2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
1299 * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
1300 check data size prefix in 16bit mode.
1302 * i386-opc.c (i386_optab): Default crc32 to non-8bit and
1305 2007-04-30 Mark Salter <msalter@redhat.com>
1307 * frv-desc.c: Regenerate.
1308 * frv-desc.h: Regenerate.
1310 2007-04-30 Alan Modra <amodra@bigpond.net.au>
1313 * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
1315 2007-04-27 H.J. Lu <hongjiu.lu@intel.com>
1317 * i386-dis.c (modrm): Put reg before rm.
1319 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1322 * i386-dis.c (print_displacement): New.
1323 (OP_E): Call print_displacement instead of print_operand_value
1324 to output displacement when either base or index exist. Print
1325 the explicit zero displacement in 16bit mode.
1327 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1330 * i386-dis.c (print_insn): Also swap the order of op_riprel
1331 when swapping op_index. Break when the RIP relative address
1333 (OP_E): Properly handle RIP relative addressing and print the
1334 explicit zero displacement for Intel mode.
1336 2007-04-27 Alan Modra <amodra@bigpond.net.au>
1338 * Makefile.am: Run "make dep-am".
1339 * Makefile.in: Regenerate.
1340 * ns32k-dis.c: Include sysdep.h first.
1342 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
1344 * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
1346 * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
1348 2007-04-24 Nick Clifton <nickc@redhat.com>
1350 * arm-dis.c (print_insn): Initialise type.
1352 2007-04-24 Alan Modra <amodra@bigpond.net.au>
1354 * cgen-types.h: Include bfd_stdint.h, not stdint.h.
1355 * Makefile.am: Run "make dep-am".
1356 * Makefile.in: Regenerate.
1358 2007-04-23 Nathan Sidwell <nathan@codesourcery.com>
1360 * m68k-opc.c: Mark mcfisa_c instructions.
1362 2007-04-21 Richard Earnshaw <rearnsha@arm.com>
1364 * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
1365 (thumb_opcodes): Add missing white space in adr.
1366 (arm_decode_shift): New parameter, print_shift. Only decode the
1367 shift parameter if set. Adjust callers.
1368 (print_insn_arm): Support for operand type q with no shift decode.
1370 2007-04-21 Alan Modra <amodra@bigpond.net.au>
1372 * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
1374 (i386_regtab): ..here.
1375 * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
1377 * ppc-opc.c (powerpc_operands): Delete duplicate entries.
1378 (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
1379 (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
1380 (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
1382 2007-04-20 Nathan Sidwell <nathan@codesourcery.com>
1384 * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
1387 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1389 * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
1391 * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
1392 in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove
1393 references to following deleted functions.
1394 (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
1395 (insert_ds, extract_ds, insert_de, extract_de): Delete.
1396 (insert_des, extract_des, insert_li, extract_li): Delete.
1397 (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
1398 (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
1399 (num_powerpc_operands): New constant.
1400 (XSPRG_MASK): Remove entire SPRG field.
1401 (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
1403 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1405 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
1407 (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
1409 2007-04-20 Richard Earnshaw <rearnsha@arm.com>
1411 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
1414 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1416 * Makefile.am: Run "make dep-am".
1417 * Makefile.in: Regenerate.
1418 * po/POTFILES.in: Regenerate.
1420 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1422 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
1423 db10cyc, db12cyc, db16cyc.
1425 2007-04-19 Nathan Froyd <froydnj@codesourcery.com>
1427 * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
1429 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1431 * i386-dis.c (CRC32_Fixup): New.
1432 (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
1434 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
1435 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1436 (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
1437 PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
1438 (three_byte_table): Likewise.
1440 * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
1442 * i386-opc.h (CpuSSE4_2): New.
1443 (CpuSSE4): Likewise.
1444 (CpuUnknownFlags): Add CpuSSE4_2.
1446 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1448 * i386-dis.c (XMM_Fixup): New.
1454 (PREGRP39 ... PREGRP85): New.
1455 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
1456 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1457 (prefix_user_table): Add PREGRP39 ... PREGRP85.
1458 (three_byte_table): Likewise.
1459 (putop): Handle 'K'.
1460 (intel_operand_size): Handle dqb_mode, dqd_mode):
1464 * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
1466 * i386-opc.h (CpuSSE4_1): New.
1467 (CpuUnknownFlags): Add CpuSSE4_1.
1468 (regKludge): Update comment.
1470 2007-04-18 Matthias Klose <doko@ubuntu.com>
1472 * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
1473 * Makefile.in: Regenerate.
1475 2007-04-14 Steve Ellcey <sje@cup.hp.com>
1477 * Makefile.am: Add ACLOCAL_AMFLAGS.
1478 * Makefile.in: Regenerate.
1480 2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
1482 * i386-dis.c: Remove trailing white spaces.
1483 * i386-opc.c: Likewise.
1484 * i386-opc.h: Likewise.
1486 2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
1489 * i386-dis.c (GRP1a): New.
1490 (GRP1b ... GRPPADLCK2): Update index.
1491 (dis386): Use GRP1a for entry 0x8f.
1492 (mod, rm, reg): Removed. Replaced by ...
1496 2007-04-09 Kazu Hirata <kazu@codesourcery.com>
1498 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
1499 info->print_address_func if longjmp is called.
1501 2007-03-29 DJ Delorie <dj@redhat.com>
1503 * m32c-desc.c: Regenerate.
1504 * m32c-dis.c: Regenerate.
1505 * m32c-opc.c: Regenerate.
1507 2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
1509 * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
1510 movq. Remove InvMem from sldt, smsw and str.
1512 * i386-opc.h (InvMem): Renamed to ...
1513 (RegMem): Update comments.
1514 (AnyMem): Remove InvMem.
1516 2007-03-27 Paul Brook <paul@codesourcery.com>
1518 * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
1520 2007-03-24 Paul Brook <paul@codesourcery.com>
1522 * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
1523 (print_insn_coprocessor): Handle %<bitfield>x.
1525 2007-03-24 Paul Brook <paul@codesourcery.com>
1526 Mark Shinwell <shinwell@codesourcery.com>
1528 * arm-dis.c (arm_opcodes): Print SRS base register.
1530 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
1532 * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
1534 * i386-opc.c (i386_optab): Add rex.wrxb.
1536 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1538 * i386-dis.c (REX_MODE64): Remove definition.
1539 (REX_EXTX): Likewise.
1540 (REX_EXTY): Likewise.
1541 (REX_EXTZ): Likewise.
1542 (USED_REX): Use REX_OPCODE instead of 0x40.
1543 Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
1544 REX_R, REX_X and REX_B respectively.
1546 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1549 * i386-dis.c (PREGRP38): New.
1550 (dis386): Use PREGRP38 for 0x90.
1551 (prefix_user_table): Add PREGRP38.
1552 (print_insn): Set uses_REPZ_prefix to 1 for pause.
1553 (NOP_Fixup1): Properly handle REX bits.
1554 (NOP_Fixup2): Likewise.
1556 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
1557 Allow register with nop.
1559 2007-03-20 DJ Delorie <dj@redhat.com>
1561 * m32c-asm.c: Regenerate.
1562 * m32c-desc.c: Regenerate.
1563 * m32c-desc.h: Regenerate.
1564 * m32c-dis.h: Regenerate.
1565 * m32c-ibld.c: Regenerate.
1566 * m32c-opc.c: Regenerate.
1567 * m32c-opc.h: Regenerate.
1569 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1571 * i386-opc.c: Include "libiberty.h".
1572 (i386_regtab): Remove the last entry.
1573 (i386_regtab_size): New.
1574 (i386_float_regtab_size): Likewise.
1576 * i386-opc.h (i386_regtab_size): New.
1577 (i386_float_regtab_size): Likewise.
1579 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1581 * Makefile.am (CFILES): Add i386-opc.c.
1582 (ALL_MACHINES): Add i386-opc.lo.
1584 * Makefile.in: Regenerated.
1586 * configure.in: Add i386-opc.lo for bfd_i386_arch.
1587 * configure: Regenerated.
1589 * i386-dis.c: Include "opcode/i386.h".
1590 (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
1591 (FWAIT_OPCODE): Remove definition.
1592 (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
1593 (MAX_OPERANDS): Remove definition.
1595 * i386-opc.c: New file.
1596 * i386-opc.h: Likewise.
1598 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1600 * Makefile.in: Regenerated.
1602 2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
1604 * i386-dis.c (OP_Rd): Renamed to ...
1609 2007-03-08 Alan Modra <amodra@bigpond.net.au>
1611 * fr30-asm.c: Regenerate.
1612 * frv-asm.c: Regenerate.
1613 * ip2k-asm.c: Regenerate.
1614 * iq2000-asm.c: Regenerate.
1615 * m32c-asm.c: Regenerate.
1616 * m32r-asm.c: Regenerate.
1617 * m32r-dis.c: Regenerate.
1618 * mt-asm.c: Regenerate.
1619 * mt-ibld.c: Regenerate.
1620 * mt-opc.c: Regenerate.
1621 * openrisc-asm.c: Regenerate.
1622 * xc16x-asm.c: Regenerate.
1623 * xstormy16-asm.c: Regenerate.
1625 * Makefile.am: Run "make dep-am".
1626 * Makefile.in: Regenerate.
1627 * po/POTFILES.in: Regenerate.
1629 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
1631 * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
1632 INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
1633 instruction formats added.
1634 (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
1635 MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
1637 * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
1639 * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1640 (main): z9-ec cpu type option added.
1641 * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1643 2007-02-22 DJ Delorie <dj@redhat.com>
1645 * s390-opc.c (INSTR_SS_L2RDRD): New.
1646 (MASK_SS_L2RDRD): New.
1647 * s390-opc.txt (pka): Use it.
1649 2007-02-20 Thiemo Seufer <ths@mips.com>
1650 Chao-Ying Fu <fu@mips.com>
1652 * mips-dis.c (mips_arch_choices): Add DSP R2 support.
1653 (print_insn_args): Add support for balign instruction.
1654 * mips-opc.c (D33): New shortcut for DSP R2 instructions.
1655 (mips_builtin_opcodes): Add DSP R2 instructions.
1657 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1659 * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
1660 (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
1661 * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
1662 cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
1664 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1666 * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
1667 * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
1668 (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
1671 2007-02-16 Nick Clifton <nickc@redhat.com>
1674 * avr-dis.c (comment_start): New variable, contains the prefix to
1675 use when printing addresses in comments.
1676 (print_insn_avr): Set comment_start to an empty space if there is
1677 no symbol table available as the generic address printing code
1678 will prefix the numeric value of the address with 0x.
1680 2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
1682 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
1685 2007-02-05 Dave Brolley <brolley@redhat.com>
1686 Richard Sandiford <rsandifo@redhat.com>
1687 DJ Delorie <dj@redhat.com>
1688 Graydon Hoare <graydon@redhat.com>
1689 Frank Ch. Eigler <fche@redhat.com>
1690 Ben Elliston <bje@redhat.com>
1692 * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
1693 (CFILES): Add mep-*.c
1694 (ALL_MACHINES): Add mep-*.lo.
1695 (CLEANFILES): Add stamp-mep.
1696 (CGEN_CPUS): Add mep.
1697 (MEP_DEPS): New variable.
1698 (mep-*): New targets.
1699 * configure.in: Handle bfd_mep_arch.
1700 * disassemble.c (ARCH_mep): New macro.
1701 (disassembler): Handle bfd_arch_mep.
1702 (disassemble_init_for_target): Likewise.
1703 * mep-*: New files for Toshiba Media Processor (MeP).
1704 * Makefile.in: Regenerated.
1705 * configure: Regenerated.
1707 2007-02-05 H.J. Lu <hongjiu.lu@intel.com>
1709 * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
1710 wrap around within the same segment in 16bit mode.
1712 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1714 * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
1717 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1719 * avr-dis.c (avr_operand): Correct PR number in comment.
1721 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1723 * disassemble.c (disassembler_usage): Call
1724 print_i386_disassembler_options for i386 disassembler.
1726 * i386-dis.c (print_i386_disassembler_options): New.
1727 (print_insn): Support the new addr64 option.
1729 2007-02-02 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
1731 * ppc-dis.c (powerpc_dialect): Handle ppc440.
1732 * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
1735 2007-02-02 Alan Modra <amodra@bigpond.net.au>
1737 * ppc-opc.c (insert_bdm): -Many comment.
1738 (valid_bo): Add "extract" param. Accept both powerpc and power4
1739 BO fields when disassembling with -Many.
1740 (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
1742 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
1744 * m68k-opc.c (m68k_opcodes): Replace cpu32 with
1745 cpu32 | fido_a except on tbl instructions.
1747 2007-01-04 Paul Brook <paul@codesourcery.com>
1749 * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
1751 2007-01-04 Andreas Schwab <schwab@suse.de>
1753 * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
1755 2007-01-04 Julian Brown <julian@codesourcery.com>
1757 * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
1758 vqrshl instructions.
1760 For older changes see ChangeLog-2006
1766 version-control: never