1 2007-11-07 David O'Brien <obrien@FreeBSD.org>
3 * arm-dis.c (arm_opcodes): Remove superflous escapes of percent
6 2007-11-06 Peter Bergner <bergner@vnet.ibm.com>
8 * ppc-opc.c (powerpc_opcodes): Remove the dcffix and dcffix. opcodes
9 which are not included in the "Preliminary Decimal Floating-Point
10 Architecture" document.
12 2007-11-01 H.J. Lu <hongjiu.lu@intel.com>
14 * i386-gen.c (opcode_modifiers): Replace No_xSuf with
16 * i386-opc.tbl: Likewise.
18 * i386-opc.h (No_xSuf): Renamed to ...
22 2007-11-01 H.J. Lu <hongjiu.lu@intel.com>
24 * i386-gen.c (opcode_modifiers): Add ByteOkIntel, ToDword,
25 ToQword and AddrPrefixOp0.
27 * i386-opc.h (ByteOkIntel): New.
30 (AddrPrefixOp0): Likewise.
32 (i386_opcode_modifier): Add byteokintel, todword, toqword
35 * i386-opc.tbl (cvtss2si): Add ToQword.
36 (cvttss2si): Likewise.
37 (cvtsd2si): Add ToDword.
38 (cvttsd2si): Likewise.
39 (monitor): Add AddrPrefixOp0.
44 (pextrb): Add ByteOkIntel.
46 * i386-tbl.h: Regenerated.
48 2007-10-31 H.J. Lu <hongjiu.lu@intel.com>
50 * i386-dis.c (USE_REG_TABLE): Defined as the previous one + 1.
51 (USE_REG_TABLE): Likewise.
52 (USE_MOD_TABLE): Likewise.
53 (USE_RM_TABLE): Likewise.
54 (USE_PREFIX_TABLE): Likewise.
55 (USE_X86_64_TABLE): Likewise.
56 (USE_3BYTE_TABLE): Likewise.
58 2007-10-26 H.J. Lu <hongjiu.lu@intel.com>
60 * i386-dis.c (MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3): New.
63 (MOD_0FE7_PREFIX_2): Likewise.
64 (MOD_0F382A_PREFIX_2): Likewise.
65 (MOD_0F71_REG_2): Updated.
66 (MOD_0FF0_PREFIX_3): Likewise.
67 (MOD_62_32BIT): Likewise.
68 (dis386_twobyte): Use MOD_0F51 and MOD_0FD7.
69 (prefix_table): Use MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
70 MOD_0FE7_PREFIX_2 and MOD_0F382A_PREFIX_2.
71 (mod_table): Add MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
72 MOD_0F51, MOD_0FD7 and MOD_0F382A_PREFIX_2.
74 2007-10-26 Nick Clifton <nickc@redhat.com>
76 * arm-dis.c (print_insn): Check for a symtab that exists but is
79 2007-10-24 Alan Modra <amodra@bigpond.net.au>
81 * po/POTFILES.in: Regenerate.
83 2007-10-23 H.J. Lu <hongjiu.lu@intel.com>
85 * i386-dis.c (OP_SIMD_Suffix): Renamed to ...
86 (CMP_Fixup): This. Rewrite.
87 (OPSIMD): Renamed to ...
89 (prefix_table): Update PREFIX_0FC2 entry.
91 2007-10-22 H.J. Lu <hongjiu.lu@intel.com>
93 * i386-dis.c (prefix_table): Reordered by opcode.
94 (mod_table): Likewise.
96 2007-10-19 H.J. Lu <hongjiu.lu@intel.com>
98 * i386-dis.c (prefix_table): Use XS on psrldq and pslldq.
100 2007-10-17 Nathan Sidwell <nathan@codesourcery.com>
102 * m68k-opc.c (m68k_opcodes): Correct move sr and ccr masks for
105 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
107 * ppc-opc.c (powerpc_opcodes): Fix the first two operands of
108 dquaiq. to use the TE and FRT macros.
110 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
112 * ppc-opc.c (TE): Correct signedness.
113 (powerpc_opcodes): Sort psq_st and psq_stu according to major
116 2007-10-15 H.J. Lu <hongjiu.lu@intel.com>
118 * i386-dis.c (dis386_twobyte): Reformat.
119 (prefix_table): Likewise.
120 (three_byte_table): Likewise.
122 2007-10-15 Alan Modra <amodra@bigpond.net.au>
124 * mcore-dis.c (print_insn_mcore): Protect "fprintf" var against
127 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
129 * i386-gen.c (opcode_modifiers): Add FirstXmm0.
131 * i386-opc.h (FirstXmm0): New.
133 (i386_opcode_modifier): Add firstxmm0.
135 * i386-opc.tbl (blendvpd): Replace RegKludge with FirstXmm0.
136 (blendvps): Likewise.
137 (pblendvb): Likewise.
138 * i386-tbl.h: Regenerated.
140 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
142 * i386-dis.c (prefix_table): Reformat pblendvb and blendvps.
144 2007-10-10 H.J. Lu <hongjiu.lu@intel.com>
146 * i386-dis.c (v_mode): Defined as previous one + 1.
153 (cond_jump_mode): Likewise.
154 (loop_jcxz_mode): Likewise.
156 (dqw_mode): Likewise.
158 (const_1_mode): Likewise.
159 (stack_v_mode): Likewise.
162 (dqb_mode): Likewise.
163 (dqd_mode): Likewise.
202 (z_mode_ax_reg): Likewise.
203 (indir_dx_reg): Likewise.
205 (DREX_NO_OC0): Likewise.
206 (DREX_MASK): Likewise.
207 (MAX_BYTEMODE): New. Issue an error if MAX_BYTEMODE is not
210 2007-10-08 H.J. Lu <hongjiu.lu@intel.com>
212 * i386-dis.c: Updated comments for 'Y'.
213 (putop): Don't add 'q' for 'Y' if suffix_always isn't true.
215 2007-10-08 Maciej W. Rozycki <macro@linux-mips.org>
217 * opcodes/mips-dis.c (mips_cp0_names_r3000): New definition.
218 (mips_cp0_names_r4000): Likewise.
219 (mips_arch_choices): Link to the above as appropriate.
221 2007-10-08 Nick Clifton <nickc@redhat.com>
223 * configure.in (SHARED_DEPENDENCIES): Change non-cygwin dependency
224 to be ../bfd/libbfd.la.
225 * configure: Regenerate.
227 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
229 * i386-dis.c (dis386_twobyte): Add getsec.
231 * i386-gen.c (cpu_flags): Add CpuSMX.
233 * i386-opc.h (CpuSMX): New.
235 (i386_cpu_flags): Add cpusmx.
237 * i386-opc.tbl: Add getsec.
238 * i386-init.h: Regenerated.
239 * i386-tbl.h: Likewise.
241 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
243 * i386-dis.c (reg_table): Use "{ XX }" on "(bad)".
244 (prefix_table): Likewise.
246 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
248 * i386-dis.c (dis386_twobyte): Use EXx instead of EXq on
249 unpckhpX and unpckhpX.
251 2007-10-04 David Daney <ddaney@avtrex.com>
253 * mips-opc.c (mips_builtin_opcodes): Mark lwxc1 as working on FP_S
256 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
258 * i386-dis.c (MOD_0F12_PREFIX_0): Use "movlps" and "movhlps"
259 instead of "movlpX" and "movhlpX", respectively.
260 (MOD_0F16_PREFIX_0): Use "movhps" and "movlhps" instead of
261 "movhpX" and "movlhpX", respectively.
263 2007-10-04 Nick Clifton <nickc@redhat.com>
265 * configure.in (WIN32LDFLAGS): Rename to SHARED_LDFLAGS.
266 (WIN32LIBADD): Rename to SHARED_LIBADD
267 (SHARED_DEPENDENCIES): New exported variable.
268 (enable_shared): Add dependency upon libbfd.la for non-cygwin
269 based shared library builds.
270 * Makefile.am (libopcodes_la_DEPENDENCIES): Append
272 (libopcodes_la_LIBADD): Rename WIN32LIBADD to SHARED_LIBADD.
273 (libopcodes_la_LDFLAGS): Rename WIN32LDFLAGS to SHARED_LDFLAGS.
274 * configure: Regenerate.
275 * Makefile.in: Regenerate.
278 * arc-opc.c (insert_offset): Fix spelling mistake in error
281 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
283 * i386-dis.c (OP_REG): Set add to 0 only when needed.
292 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
294 * i386-opc.tbl: Update SSE comments.
296 2007-10-01 H.J. Lu <hongjiu.lu@intel.com>
298 * i386-dis.c (THREE_BYTE_0FBA): Renamed to ...
299 (THREE_BYTE_0F7B): This.
300 (dis386_twobyte): Updated.
301 (three_byte_table): Updated comments.
303 2007-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
305 * cr16-opc.c: Updated the branch on condition instructions with
308 2007-09-30 H.J. Lu <hongjiu.lu@intel.com>
310 * 386-dis.c (prefix_table): Reformat comment.
312 2007-09-29 H.J. Lu <hongjiu.lu@intel.com>
314 * 386-dis.c (USE_GROUPS): Renamed to ...
315 (USE_REG_TABLE): This.
316 (USE_OPC_EXT_TABLE): Renamed to ...
317 (USE_MOD_TABLE): This.
318 (USE_OPC_EXT_RM_TABLE): Renamed to ...
319 (USE_RM_TABLE): This.
320 (USE_XXX_TABLE): Reordered.
321 (GRP): Renamed to ...
323 (OPC_EXT_TABLE): Renamed to ...
325 (OPC_EXT_RM_TABLE): Renamed to ...
327 (GRP_XXX): Renamed to ...
329 (PREGRP_XXX): Renamed to ...
331 (OPC_EXT_XXX): Renamed to ...
333 (OPC_EXT_RM_XXX): Renamed to ...
335 (grps): Renamed to ...
337 (prefix_user_table): Renamed to ...
339 (opc_ext_table): Renamed to ...
341 (opc_ext_rm_table): Renamed to ...
343 (OPC_EXT_RM_XXX): Likewise.
345 (dis386_twobyte): Likewise.
346 (reg_table): Likewise.
347 (prefix_table): Likewise.
348 (x86_64_table): Likewise.
349 (three_byte_table): Likewise.
350 (mod_table): Likewise.
351 (rm_table): Likewise.
352 (get_valid_dis386): Likewise.
354 2007-09-28 H.J. Lu <hongjiu.lu@intel.com>
356 * 386-dis.c (USE_PREFIX_USER_TABLE): Renamed to ...
357 (USE_PREFIX_TABLE): This.
358 (X86_64_SPECIAL): Renamed to ...
359 (USE_X86_64_TABLE): This.
360 (IS_3BYTE_OPCODE): Renamed to ...
361 (USE_3BYTE_TABLE): This.
363 (PREGRPXXX): Likewise.
364 (X86_64_XXX): Likewise.
365 (THREE_BYTE_XXX): Likewise.
366 (OPC_EXT_XXX): Likewise.
367 (OPC_EXT_RM_XXX): Likewise.
371 (X86_64_TABLE): Likewise.
372 (THREE_BYTE_TABLE): Likewise.
373 (OPC_EXT_TABLE): Likewise.
374 (OPC_EXT_RM_TABLE): Likewise.
376 (PREGRP_XXX): Likewise.
377 (X86_64_XXX): Likewise.
378 (THREE_BYTE_XXX): Likewise.
379 (OPC_EXT_XXX): Likewise.
380 (OPC_EXT_RM_XXX): Likewise.
382 (dis386_twobyte): Likewise.
384 (prefix_user_table): Likewise.
385 (x86_64_table): Likewise.
386 (three_byte_table): Likewise.
387 (opc_ext_table): Likewise.
388 (opc_ext_rm_table): Likewise.
389 (get_valid_dis386): Likewise.
391 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
393 * i386-dis.c (dis386): Swap X86_64_27 with OPC_EXT_2.
394 (x86_64_table): Likewise.
395 (opc_ext_table): Likewise.
397 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
400 * i386-dis.c: Update comments on '{', '}' and '|' to support
401 only AT&T and Intel modes.
402 (X86_64_4...X86_64_27): New.
403 (dis386): Updated. Use X86_64_4...X86_64_21.
404 (dis386_twobyte): Updated.
405 (float_mem): Likewise.
406 (x86_64_table): Add X86_64_4...X86_64_27.
407 (opc_ext_table): Updated. Use X86_64_22...X86_64_27.
408 (putop): Updated handling of '{', '}' and '|' to support only
409 AT&T and Intel modes.
411 2007-09-27 Kazu Hirata <kazu@codesourcery.com>
413 * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb.
415 2007-09-26 James E. Wilson <wilson@specifix.com>
417 * ia64-gen.c (print_dependency_table): Fix typo in last patch.
419 2007-09-26 Nick Clifton <nickc@redhat.com>
421 * mt-asm.c (parse_imm16): Reword error message in order to allow
422 it to be translated properly.
423 * ia64-gen.c (print_dependency_table): Likewise.
424 * mips-dis.c (print_insn_args): Likewise.
426 2007-09-26 Jan Beulich <jbeulich@novell.com>
428 * i386-dis.c (OP_E_extended): Distinguish rip- and eip-
429 relative addressing. Update used_prefixes based on whether any
430 base or index register was printed.
432 2007-09-26 Jan Beulich <jbeulich@novell.com>
434 * i386-opc.h (RegEip): Define.
436 * i386-reg.tbl: Add eip. Mark rip and eip with RegRex64.
437 * i386-tbl.h: Re-generate.
439 2007-09-25 H.J. Lu <hongjiu.lu@intel.com>
441 * i386-gen.c (process_i386_opcodes): Process opcode_length.
443 * i386-opc.h (template): Add opcode_length.
444 * 386-opc.tbl: Likewise.
445 * i386-tbl.h: Regenerated.
447 2007-09-21 H.J. Lu <hongjiu.lu@intel.com>
449 * i386-opc.h: Adjust whitespaces.
451 2007-09-21 Dave Brolley <brolley@redhat.com>
453 * mep-desc.c: Regenerated.
455 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
457 * i386-dis.c (OP_E_extended): Display eiz for [eiz*1 + offset].
459 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
462 * 386-dis.c (index64): New.
464 (intel_index64): Likewise.
465 (intel_index32): Likewise.
466 (att_index64): Likewise.
467 (att_index32): Likewise.
468 (print_insn): Set index64 and index32.
469 (OP_E_extended): Use index64/index32 for index register for
472 * i386-opc.h (RegEiz): New.
475 * i386-reg.tbl: Add eiz and riz.
476 * i386-tbl.h: Regenerated.
478 2007-09-19 H.J. Lu <hongjiu.lu@intel.com>
480 * i386-dis.c (OP_E_extended): Always display scale for memory.
482 2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
484 * i386-opc.h (RegRip): New.
486 * i386-reg.tbl (rip): Use RegRip for reg_num.
487 * i386-tbl.h: Regenerated.
489 2007-09-17 Nick Clifton <nickc@redhat.com>
491 * po/es.po: Updated Spanish translation.
493 2007-09-14 H.J. Lu <hongjiu.lu@intel.com>
495 * Makefile.am: Run "make dep-am".
496 * Makefile.in: Regenerate.
498 2007-09-14 Michael Meissner <michael.meissner@amd.com>
499 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
500 Tony Linthicum <tony.linthicum@amd.com>
502 * i386-opc.h (CpuSSE5): New macro.
503 (i386_cpu_flags): Add Drex, Drexv and Drexc.
505 * i386-gen.c (cpu_flag_init): Add CPU_SSE5_FLAGS.
506 (operand_type_init): Add CpuSSE5.
507 (opcode_modifiers): Add Drex, Drexv and Drexc.
508 (i386_opcode_modifier): Ditto.
510 * i386-opc.tbl (fmaddps,fmaddpd,fmaddss,fmaddsd): Define SSE5
512 (fmsubps,fmsubpd,fmsubss,fmsubsd): Ditto.
513 (fnmaddps,fnmaddpd,fnmaddss,fnmaddsd): Ditto.
514 (fnmsubps,fnmsubpd,fnmsubss,fnmsubsd): Ditto.
515 (pmacssww,pmacsww,pmacsswd,pmacswd): Ditto.
516 (pmacssdd,pmacsdd,pmacssdql,pmacssdqh): Ditto.
517 (pmacsdql,pmacsdqh,pmadcsswd,pmadcswd): Ditto.
518 (phaddbw,phaddbd,phaddbq,phaddwd): Ditto.
519 (phaddwq,phadddq,phaddubw,phaddubd): Ditto.
520 (phaddubq,phadduwd,phadduwq,phaddudq): Ditto.
521 (phsubbw,phsubwd,phsubdq): Ditto.
522 (pcmov,pperm,permps,permpd): Ditto.
523 (protb,protw,protd,protq): Ditto.
524 (pshlb,pshlw,pshld,pshlq): Ditto.
525 (pshab,pshaw,pshad,pshaq): Ditto.
526 (comps,comeqps,comltps,comungeps,comleps,comungtps): Ditto.
527 (comunordps,comneps,comneqps,comnltps,comugeps): Ditto.
528 (comnleps,comugtps,comordps,comueqps,comultps): Ditto.
529 (comngeps,comuleps,comngtps,comfalseps,comuneps): Ditto.
530 (comuneqps,comunltps,comgeps,comunleps,comgtps,comtrueps): Ditto.
531 (compd,comeqpd,comltpd,comungepd,comlepd,comungtpd,comunordpd): Ditto.
532 (comnepd,comneqpd,comnltpd,comugepd,comnlepd,comugtpd): Ditto.
533 (comordpd,comueqpd,comultpd,comngepd,comulepd,comngtpd): Ditto.
534 (comfalsepd,comunepd,comuneqpd,comunltpd,comgepd): Ditto.
535 (comunlepd,comgtpd,comtruepd): Ditto.
536 (comss,comeqss,comltss,comungess,comless,comungtss,comunordss): Ditto.
537 (comness,comneqss,comnltss,comugess,comnless,comugtss): Ditto.
538 (comordss,comueqss,comultss,comngess,comuless,comngtss): Ditto.
539 (comfalsess,comuness,comuneqss,comunltss,comgess): Ditto.
540 (comunless,comgtss,comtruess): Ditto.
541 (comsd,comeqsd,comltsd,comungesd,comlesd,comungtsd,comunordsd): Ditto.
542 (comnesd,comneqsd,comnltsd,comugesd,comnlesd,comugtsd): Ditto.
543 (comordsd,comueqsd,comultsd,comngesd,comulesd,comngtsd): Ditto.
544 (comfalsesd,comunesd,comuneqsd,comunltsd,comgesd): Ditto.
545 (comunlesd,comgtsd,comtruesd): Ditto.
546 (pcomub,pcomltub,pcomleub,pcomgtub,pcomgeub,pcomequb): Ditto.
547 (pcomnequb,pcomneub): Ditto.
548 (pcomuw,pcomltuw,pcomleuw,pcomgtuw,pcomgeuw,pcomequw): Ditto.
549 (pcomnequw,pcomneuw): Ditto.
550 (pcomud,pcomltud,pcomleud,pcomgtud,pcomgeud,pcomequd): Ditto.
551 (pcomnequd,pcomneud): Ditto.
552 (pcomuq,pcomltuq,pcomleuq,pcomgtuq,pcomgeuq,pcomequq): Ditto.
553 (pcomnequq,pcomneuq): Ditto.
554 (pcomb,pcomltb,pcomleb,pcomgtb,pcomgeb,pcomeqb): Ditto.
555 (pcomneqb,pcomneb): Ditto.
556 (pcomw,pcomltw,pcomlew,pcomgtw,pcomgew,pcomeqw): Ditto.
557 (pcomneqw,pcomnew): Ditto.
558 (pcomd,pcomltd,pcomled,pcomgtd,pcomged,pcomeqd): Ditto.
559 (pcomneqd,pcomned): Ditto.
560 (pcomq,pcomltq,pcomleq,pcomgtq,pcomgeq): Ditto.
561 (pcomeqq,pcomneqq,pcomneq): Ditto.
562 (pcomtrueb, pcomtruew, pcomtrued, pcomtrueq): Ditto.
563 (pcomtrueub, pcomtrueuw, pcomtrueud, pcomtrueuq): Ditto.
564 (pcomfalseb, pcomfalsew, pcomfalsed, pcomfalseq): Ditto.
565 (pcomfalseub, pcomfalseuw, pcomfalseud, pcomfalseuq): Ditto.
566 (frczps,frczpd,frczss,frczsd): Ditto.
567 (cvtph2ps,cvtps2ph): Ditto.
569 * i386-tbl.h: Regenerate from i386-opc.tbl.
570 * i386-init.h: Likewise.
572 * i386-dis.c (libiberty.h): Include to get ARRAY_SIZE.
573 (dis386_move_test): New disassembly support for move from test
574 register instruction that overlaps with SSE5 instructions.
575 (print_insn): Add support for special casing the i386/i486 move
576 from test register instruction that overlaps with the SSE5
577 0x0f24 4 operand instructions.
578 (OP_DREX_ICMP): New macros for SSE5 DREX handling.
579 (OP_DREX_FCMP): Ditto.
580 (OP_E_extended): Rename from OP_E, add additional argument to skip
582 (OP_E): Call OP_E_extended.
583 (DREX_REG_MEMORY): New macros for drex handling.
584 (DREX_REG_UNKNOWN): Ditto.
586 (DREX4_NO_OC0): Ditto.
588 (three_byte_table): Add SSE5 instructions.
589 (print_drex_arg): New function to print a DREX register or memory
591 (OP_DREX4): New function for handling DREX 4 argument ops.
592 (OP_DREX3): New function for handling DREX 3 argument ops.
593 (twobyte_has_modrm): 0f{25,7a,7b} all use the modrm byte.
594 (THREE_BYTE_SSE5_0F{24,25,7A,7B}): New macros for initializing 3
595 byte opcode support for SSE5 instructions.
596 (dis386_twobyte): Add SSE5 24/25/7a/7b support.
597 (three_byte_table): Add rows for describing SSE5 instructions.
599 2007-09-13 H.J. Lu <hongjiu.lu@intel.com>
601 * i386-dis.c (get_valid_dis386): Take a pointer to
602 disassemble_info. Handle IS_3BYTE_OPCODE.
603 (print_insn): Updated. Don't handle IS_3BYTE_OPCODE here.
605 2007-09-12 H.J. Lu <hongjiu.lu@intel.com>
607 * i386-opc.h (CpuUnused): Defined with CpuMax.
608 (OTUnused): Defined with OTMax.
610 2007-09-12 Jan Beulich <jbeulich@novell.com>
612 * i386-opc.tbl: Add two-operand forms of blendvps, blendvpd, and
614 * i386-tbl.h: Regenerate.
616 2007-09-09 H.J. Lu <hongjiu.lu@intel.com>
618 * i386-gen.c (main): Remove the local variable, unused.
620 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
622 * Makefile.am: Run "make dep-am".
623 * Makefile.in: Regenerate.
625 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
627 * configure.in (AC_CHECK_HEADERS): Add limits.h.
628 * configure: Regenerated.
629 * config.in: Likewise.
631 * i386-gen.c: Include "sysdep.h" instead of <stdlib.h> and
632 <string.h>. Use xstrerror instead of strerror.
634 (cpu_flag_init): Likewise.
635 (bitfield): Likewise.
637 (cpu_flags): Likewise.
638 (opcode_modifiers): Likewise.
639 (operand_types): Likewise.
641 (set_cpu_flags): Likewise.
642 (output_cpu_flags): Likewise.
643 (process_i386_cpu_flags): Likewise.
644 (output_opcode_modifier): Likewise.
645 (process_i386_opcode_modifier): Likewise.
646 (output_operand_type): Likewise.
647 (process_i386_operand_type): Likewise.
648 (set_bitfield): Likewise.
649 (operand_type_init): Likewise.
650 (process_i386_initializers): Likewise.
651 (process_i386_opcodes): Call process_i386_opcode_modifier to
652 process opcode_modifier. Call process_i386_operand_type to
653 process operand_types.
654 (process_i386_registers): Call process_i386_operand_type to
656 (main): Check unused bits in i386_cpu_flags and i386_operand_type.
657 Sort cpu_flags, opcode_modifiers and operand_types. Call
658 process_i386_initializers.
661 * i386-tbl.h: Regenerated.
663 * i386-opc.h: Include <limits.h>.
664 (CHAR_BIT): Define as 8 if not defined.
665 (Cpu186): Changed to position of bitfiled.
678 (Cpu3dnow): Likewise.
679 (Cpu3dnowA): Likewise.
681 (CpuPadLock): Likewise.
684 (CpuSSSE3): Likewise.
685 (CpuSSE4a): Likewise.
687 (CpuSSE4_1): Likewise.
688 (CpuSSE4_2): Likewise.
694 (ShortForm): Likewise.
696 (JumpDword): Likewise.
697 (JumpByte): Likewise.
698 (JumpInterSegment): Likewise.
705 (IgnoreSize): Likewise.
706 (DefaultSize): Likewise.
714 (IsString): Likewise.
715 (RegKludge): Likewise.
716 (IsPrefix): Likewise.
725 (FloatReg): Likewise.
735 (BaseIndex): Likewise.
741 (InOutPortReg): Likewise.
742 (ShiftCount): Likewise.
749 (FloatAcc): Likewise.
750 (JumpAbsolute): Likewise.
754 (Reg): Commented out.
756 (ImplicitRegister): Likewise.
761 (LLongMem): Likewise.
763 (ShortMem): Likewise.
768 (CpuNumOfUints): Likewise.
769 (CpuNumOfBits): Likewise.
770 (CpuUnused): Likewise.
771 (OTNumOfUints): Likewise.
772 (OTNumOfBits): Likewise.
773 (OTUnused): Likewise.
774 (i386_cpu_flags): New type.
775 (i386_operand_type): Likewise.
776 (i386_opcode_modifier): Likewise.
777 (CpuSledgehammer): Removed.
779 (CpuUnknownFlags): Likewise.
782 (ImplicitRegister): Likewise.
787 (LLongMem): Likewise.
789 (ShortMem): Likewise.
792 (template): Use i386_cpu_flags for cpu_flags, use
793 i386_opcode_modifier for opcode_modifier, use
794 i386_operand_type for operand_types.
795 (reg_entry): Use i386_operand_type for reg_type.
797 * Makefile.am (HFILES): Add i386-init.h.
798 ($(srcdir)/i386-init.h): New rule.
799 ($(srcdir)/i386-tbl.h): Depend on $(srcdir)/i386-init.h
801 * Makefile.in: Regenerated.
803 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
805 * i386-gen.c (next_field): Updated to take a separator.
806 (process_i386_opcodes): Updated.
807 (process_i386_registers): Likewise.
809 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
811 * i386-gen.c (table): Moved ...
812 (main): Here. Call process_copyright to output copyright.
813 (process_copyright): New.
814 (process_i386_opcodes): Take FILE *table.
815 (process_i386_registers): Likewise.
817 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
819 * i386-gen.c (table): New.
820 (process_i386_opcodes): Report errno when faied to open
821 i386-opc.tbl. Output opcodes to table. Close i386-opc.tbl
823 (process_i386_registers): Report errno when faied to open
824 i386-reg.tbl. Output opcodes to table. Close i386-reg.tbl
826 (main): Open i386-tbl.h for output.
828 * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@".
829 * Makefile.in: Regenerated.
831 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
833 * i386-opc.tbl: Correct SVME instructions to allow 32bit register
834 operand in 64bit mode.
835 * i386-tbl.h: Regenerated.
837 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
839 * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
840 (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
841 (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
843 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
845 * i386-dis.c (SVME_Fixup): Removed.
847 (OPC_EXT_RM_6): Likewise.
848 (grps): Use OPC_EXT_39.
849 (opc_ext_table): Add OPC_EXT_39.
850 (opc_ext_rm_table): Add OPC_EXT_RM_6.
852 * i386-opc.tbl: Correct SVME instructions to take register
854 * i386-tbl.h: Regenerated.
856 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
858 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
859 * Makefile.in: Regenerated.
861 * configure.in (AC_GNU_SOURCE): Added.
862 (AC_PROG_CC): Moved before AC_GNU_SOURCE.
863 (AC_CHECK_DECLS): Add stpcpy.
864 * configure: Regenerated.
865 * config.in: Likewise.
867 * i386-dis.c: Include "sysdep.h" before "dis-asm.h".
869 * sysdep.h (stpcpy): New.
871 2007-08-30 H.J. Lu <hongjiu.lu@intel.com>
873 * i386-dis.c (INVLPG_Fixup): Removed.
875 (OPC_EXT_RM_5): Likewise.
876 (grps): Use OPC_EXT_38.
877 (opc_ext_table): Add OPC_EXT_38.
878 (opc_ext_rm_table): Add OPC_EXT_RM_5.
880 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
882 * i386-dis.c (SIMD_Fixup): Removed.
883 (OPC_EXT_34...OPC_EXT_37): New.
884 (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
885 (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
886 (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
888 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
890 * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
891 (dis386): Use OPC_EXT_0...OPC_EXT_2.
892 (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
893 (grps): Updated to use OPC_EXT_6...OPC_EXT_31.
894 (prefix_user_table): Use OPC_EXT_32.
895 (x86_64_table): Use OPC_EXT_33.
896 (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
898 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
900 * i386-dis.c (prefix_user_table): Fix comment.
902 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
904 * i386-dis.c (OP_Skip_MODRM): New.
905 (OP_Monitor): Likewise.
906 (OP_Mwait): Likewise.
908 (Skip_MODRM): Likewise.
909 (USE_OPC_EXT_TABLE): Likewise.
910 (USE_OPC_EXT_RM_TABLE): Likewise.
911 (PREGRP98...PREGRP100): Likewise.
912 (OPC_EXT_0...OPC_EXT_24): Likewise.
913 (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
914 (lock_prefix): Likewise.
915 (data_prefix): Likewise.
916 (addr_prefix): Likewise.
917 (repz_prefix): Likewise.
918 (repnz_prefix): Likewise.
919 (opc_ext_table): Likewise.
920 (opc_ext_rm_table): Likewise.
921 (get_valid_dis386): Likewise.
924 (PNI_Fixup): Likewise.
925 (VMX_Fixup): Likewise.
927 (twobyte_uses_DATA_prefix): Likewise.
928 (twobyte_uses_REPNZ_prefix): Likewise.
929 (twobyte_uses_REPZ_prefix): Likewise.
930 (threebyte_0x38_uses_DATA_prefix): Likewise.
931 (threebyte_0x38_uses_REPNZ_prefix): Likewise.
932 (threebyte_0x38_uses_REPZ_prefix): Likewise.
933 (threebyte_0x3a_uses_DATA_prefix): Likewise.
934 (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
935 (threebyte_0x3a_uses_REPZ_prefix): Likewise.
936 (grps): Use OPC_EXT_0...OPC_EXT_24.
937 (prefix_user_table): Add PREGRP98...PREGRP100.
938 (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
939 uses_REPNZ_prefix and uses_REPZ_prefix. Initialize
940 repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
941 data_prefix based on prefixes. Call get_valid_dis386 to
942 get a pointer to the valid dis386. Print out prefixes if
944 (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
945 (REP_Fixup): Set repz_prefix to "rep " when seeing
948 2007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
950 * po/nl.po: Updated translation.
952 2007-08-28 H.J. Lu <hongjiu.lu@intel.com>
954 * i386-dis.c (Md): New.
955 (grps): Use 0 on invlpg. Use M on fxsave and fxrstor. Use
956 Md on ldmxcsr and stmxcsr. Use b_mode on clflush.
957 (OP_0fae): Clear bytemode for sfence.
959 2007-08-22 Ben Elliston <bje@au.ibm.com>
961 * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
962 (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
964 (powerpc_opcodes): Add all pair singles instructions.
965 * ppc-dis.c (powerpc_dialect): Handle "ppcps".
966 (print_ppc_disassembler_options): Document -Mppcps.
968 2007-08-21 Andreas Krebbel <krebbel1@de.ibm.com>
970 * s390-mkopc.c (struct s390_cond_ext_format): New global struct.
971 (s390_cond_ext_format): New global variable.
972 (expandConditionalJump): New function.
973 (main): Invoke expandConditionalJump for mnemonics containing '*'.
974 * s390-opc.txt: Replace mnemonics with conditional
975 mask extensions with instructions using the newly introduced '*' tag.
977 2007-08-17 Alan Modra <amodra@bigpond.net.au>
979 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
981 2007-08-10 Nick Clifton <nickc@redhat.com>
983 * po/fi.po: Updated Finnish translation.
984 * po/ga.po: Updated Irish translation.
985 * po/vi.po: Updated Vietnamese translation.
987 2007-08-09 H.J. Lu <hongjiu.lu@intel.com>
989 * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
990 pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
991 * i386-tbl.h: Regenerated.
993 2007-08-03 James E. Wilson <wilson@specifix.com>
995 * ia64-gen.c: (main): Add missing newline to copyright message.
996 * ia64-ic.tbl (fp-non-arith): Add xmpy.
997 * ia64-asmtab.c: Regenerate.
999 2007-08-01 Michael Snyder <msnyder@access-company.com>
1001 * i386-dis.c (print_insn): Guard against NULL.
1003 2007-07-29 H.J. Lu <hongjiu.lu@intel.com>
1006 * i386-dis.c (EXw): New.
1007 (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
1008 instructions when appropriated.
1010 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
1013 * i386-dis.c (Eq): New.
1014 (EMC): Renamed to ...
1015 (EMCq): This. Use q_mode instead of v_mode.
1016 (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
1019 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
1021 * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
1022 (prefix_user_table): Likewise. Use EXq instead of EXx on
1025 2007-07-27 Nathan Sidwell <nathan@codesourcery.com>
1027 * ppc-opc (PPC7450): New.
1028 (powerpc_opcodes): Use it in dcba.
1030 2007-07-24 H.J. Lu <hongjiu.lu@intel.com>
1032 * i386-gen.c (main): Print a newline after copyright notice.
1034 2007-07-19 Nick Clifton <nickc@redhat.com>
1037 * maxq-dis.c (get_reg_name): Fix the scan of the
1038 mem_access_syntax_table.
1040 2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
1042 * i386-dis.c (EMq): Removed.
1044 (prefix_user_table): Replace EMq with EMx.
1046 2007-07-16 Nick Clifton <nickc@redhat.com>
1048 * po/nl.po: Updated translation.
1050 2007-07-12 Nick Clifton <nickc@redhat.com>
1052 * po/vi.po: Updated translation.
1053 * po/nl.po: Updated translation.
1055 2007-07-06 Mark Kettenis <kettenis@gnu.org>
1056 H.J. Lu <hongjiu.lu@intel.com>
1058 * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
1059 (ia64-asmtab.c): Likewise.
1060 * Makefile.in: Regenerate.
1062 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
1064 * aclocal.m4: Regenerated.
1066 2007-07-04 Nick Clifton <nickc@redhat.com>
1068 * alpha-dis.c: Update copyright notice to refer to GPLv3.
1069 * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h,
1070 arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c,
1071 cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in,
1072 cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c,
1073 cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c,
1074 d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c,
1075 dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c,
1076 h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c,
1077 i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c,
1078 ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c,
1079 ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c,
1080 ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c,
1081 m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c,
1082 m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c,
1083 mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c,
1084 mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c,
1085 or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c,
1086 ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c,
1087 score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h,
1088 sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c,
1089 spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c,
1090 tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c,
1091 vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c,
1092 z8k-dis.c, z8kgen.c: Likewise.
1093 * i386-opc.tbl, i386-reg.tbl: Add copyright notice.
1094 * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h,
1095 fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c,
1096 frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c,
1097 frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c,
1098 ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h,
1099 iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c,
1100 iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c,
1101 m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c,
1102 m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
1103 m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c,
1104 mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c,
1105 mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c,
1106 mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c,
1107 openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c,
1108 openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h,
1109 xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h,
1110 xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h,
1111 xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c,
1112 xstormy16-opc.h, z8k-opc.h: Regenerated
1114 2007-07-04 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1116 * cr16-dis.c (getcinvstring): Add const qualifier to char *
1118 (print_insn_cr16): Remove cast to char *.
1120 2007-07-03 Nathan Sidwell <nathan@codesourcery.com>
1122 * m68k-dis.c (fetch_arg): Add E. Replace length switch with
1124 (print_ins_arg): Add j & K operand types.
1125 (match_insn_m68k): Check and skip initial '.' arg character.
1126 (m68k_scan_mask): Likewise.
1127 * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
1129 2007-07-02 Alan Modra <amodra@bigpond.net.au>
1131 * Makefile.am: Run "make dep-am".
1132 * Makefile.in: Regenerate.
1133 * aclocal.m4: Regenerate.
1134 * config.in: Regenerate.
1135 * po/POTFILES.in: Regenerate.
1136 * po/opcodes.pot: Regenerate.
1138 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
1140 * aclocal.m4: Regenerated.
1141 * Makefile.in: Likewise.
1143 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
1145 * i386-reg.tbl: Remove spaces before comments.
1147 2007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1149 * cr16-opc.c: New file.
1150 * cr16-dis.c: New file.
1151 * Makefile.am: Entries for cr16.
1152 * Makefile.in: Regenerate.
1153 * cofigure.in: Add cr16 target information.
1154 * configure : Regenerate.
1155 * disassemble.c: Add cr16 target information.
1157 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
1159 * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
1160 (CFILES): Add i386-gen.c.
1161 (i386-gen): New rule.
1162 (i386-gen.o): Likewise.
1163 (i386-tbl.h): Likewise.
1165 * Makefile.in: Regenerated.
1167 * i386-gen.c: New file.
1168 * i386-opc.tbl: Likewise.
1169 * i386-reg.tbl: Likewise.
1170 * i386-tbl.h: Likewise.
1172 * i386-opc.c: Include "i386-tbl.h".
1173 (i386_optab): Removed.
1174 (i386_regtab): Likewise.
1175 (i386_regtab_size): Likewise.
1177 2007-06-26 Paul Brook <paul@codesourcery.com>
1179 * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
1181 2007-06-25 H.J. Lu <hongjiu.lu@intel.com>
1183 * i386-opc.h (regKludge): Renamed to ...
1186 * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
1188 2007-06-23 H.J. Lu <hongjiu.lu@intel.com>
1191 * i386-dis.c (EX): Removed.
1197 (PREGRP93...PREGRP97): Likewise.
1198 (dis386_twobyte): Updated.
1199 (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
1200 (OP_EX): Remove Intel syntax handling.
1202 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
1204 * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
1206 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
1208 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
1210 * acinclude.m4: Removed.
1212 * Makefile.in: Regenerated.
1213 * doc/Makefile.in: Likewise.
1214 * aclocal.m4: Likewise.
1215 * configure: Likewise.
1217 2007-06-05 Paul Brook <paul@codesourcery.com>
1219 * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
1221 2007-05-24 Steve Ellcey <sje@cup.hp.com>
1223 * Makefile.in: Regnerate.
1224 * configure: Regenerate.
1225 * aclocal.m4: Regenerate.
1227 2007-05-18 Alan Modra <amodra@bigpond.net.au>
1229 * ppc-dis.c (print_insn_powerpc): Don't skip all operands
1230 after setting skip_optional.
1232 2007-05-16 Peter Bergner <bergner@vnet.ibm.com>
1234 * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
1235 (print_insn_powerpc): Use the new operand_value_powerpc and
1236 skip_optional_operands functions to omit or print all optional
1237 operands as a group.
1238 * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
1239 (XFL_MASK): Delete L and W bits from the mask.
1240 (mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK
1241 with XWRA_MASK. Use W.
1242 (mtfsf, mtfsf.): Use XFL_L and W.
1244 2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
1247 * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
1249 2007-05-10 H.J. Lu <hongjiu.lu@intel.com>
1251 * i386-opc.h (ShortForm): Redefined.
1253 (JumpDword): Likewise.
1254 (JumpByte): Likewise.
1255 (JumpInterSegment): Likewise.
1256 (FloatMF): Likewise.
1262 (IgnoreSize): Likewise.
1263 (DefaultSize): Likewise.
1264 (No_bSuf): Likewise.
1265 (No_wSuf): Likewise.
1266 (No_lSuf): Likewise.
1267 (No_sSuf): Likewise.
1268 (No_qSuf): Likewise.
1269 (No_xSuf): Likewise.
1271 (IsString): Likewise.
1272 (regKludge): Likewise.
1273 (IsPrefix): Likewise.
1275 (NoRex64): Likewise.
1279 2007-05-07 H.J. Lu <hongjiu.lu@intel.com>
1281 * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
1282 for some SSE4 instructions.
1283 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1285 2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
1287 * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
1289 * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
1292 2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
1294 * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
1295 check data size prefix in 16bit mode.
1297 * i386-opc.c (i386_optab): Default crc32 to non-8bit and
1300 2007-04-30 Mark Salter <msalter@redhat.com>
1302 * frv-desc.c: Regenerate.
1303 * frv-desc.h: Regenerate.
1305 2007-04-30 Alan Modra <amodra@bigpond.net.au>
1308 * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
1310 2007-04-27 H.J. Lu <hongjiu.lu@intel.com>
1312 * i386-dis.c (modrm): Put reg before rm.
1314 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1317 * i386-dis.c (print_displacement): New.
1318 (OP_E): Call print_displacement instead of print_operand_value
1319 to output displacement when either base or index exist. Print
1320 the explicit zero displacement in 16bit mode.
1322 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1325 * i386-dis.c (print_insn): Also swap the order of op_riprel
1326 when swapping op_index. Break when the RIP relative address
1328 (OP_E): Properly handle RIP relative addressing and print the
1329 explicit zero displacement for Intel mode.
1331 2007-04-27 Alan Modra <amodra@bigpond.net.au>
1333 * Makefile.am: Run "make dep-am".
1334 * Makefile.in: Regenerate.
1335 * ns32k-dis.c: Include sysdep.h first.
1337 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
1339 * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
1341 * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
1343 2007-04-24 Nick Clifton <nickc@redhat.com>
1345 * arm-dis.c (print_insn): Initialise type.
1347 2007-04-24 Alan Modra <amodra@bigpond.net.au>
1349 * cgen-types.h: Include bfd_stdint.h, not stdint.h.
1350 * Makefile.am: Run "make dep-am".
1351 * Makefile.in: Regenerate.
1353 2007-04-23 Nathan Sidwell <nathan@codesourcery.com>
1355 * m68k-opc.c: Mark mcfisa_c instructions.
1357 2007-04-21 Richard Earnshaw <rearnsha@arm.com>
1359 * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
1360 (thumb_opcodes): Add missing white space in adr.
1361 (arm_decode_shift): New parameter, print_shift. Only decode the
1362 shift parameter if set. Adjust callers.
1363 (print_insn_arm): Support for operand type q with no shift decode.
1365 2007-04-21 Alan Modra <amodra@bigpond.net.au>
1367 * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
1369 (i386_regtab): ..here.
1370 * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
1372 * ppc-opc.c (powerpc_operands): Delete duplicate entries.
1373 (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
1374 (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
1375 (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
1377 2007-04-20 Nathan Sidwell <nathan@codesourcery.com>
1379 * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
1382 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1384 * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
1386 * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
1387 in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove
1388 references to following deleted functions.
1389 (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
1390 (insert_ds, extract_ds, insert_de, extract_de): Delete.
1391 (insert_des, extract_des, insert_li, extract_li): Delete.
1392 (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
1393 (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
1394 (num_powerpc_operands): New constant.
1395 (XSPRG_MASK): Remove entire SPRG field.
1396 (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
1398 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1400 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
1402 (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
1404 2007-04-20 Richard Earnshaw <rearnsha@arm.com>
1406 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
1409 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1411 * Makefile.am: Run "make dep-am".
1412 * Makefile.in: Regenerate.
1413 * po/POTFILES.in: Regenerate.
1415 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1417 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
1418 db10cyc, db12cyc, db16cyc.
1420 2007-04-19 Nathan Froyd <froydnj@codesourcery.com>
1422 * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
1424 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1426 * i386-dis.c (CRC32_Fixup): New.
1427 (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
1429 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
1430 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1431 (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
1432 PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
1433 (three_byte_table): Likewise.
1435 * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
1437 * i386-opc.h (CpuSSE4_2): New.
1438 (CpuSSE4): Likewise.
1439 (CpuUnknownFlags): Add CpuSSE4_2.
1441 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1443 * i386-dis.c (XMM_Fixup): New.
1449 (PREGRP39 ... PREGRP85): New.
1450 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
1451 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1452 (prefix_user_table): Add PREGRP39 ... PREGRP85.
1453 (three_byte_table): Likewise.
1454 (putop): Handle 'K'.
1455 (intel_operand_size): Handle dqb_mode, dqd_mode):
1459 * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
1461 * i386-opc.h (CpuSSE4_1): New.
1462 (CpuUnknownFlags): Add CpuSSE4_1.
1463 (regKludge): Update comment.
1465 2007-04-18 Matthias Klose <doko@ubuntu.com>
1467 * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
1468 * Makefile.in: Regenerate.
1470 2007-04-14 Steve Ellcey <sje@cup.hp.com>
1472 * Makefile.am: Add ACLOCAL_AMFLAGS.
1473 * Makefile.in: Regenerate.
1475 2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
1477 * i386-dis.c: Remove trailing white spaces.
1478 * i386-opc.c: Likewise.
1479 * i386-opc.h: Likewise.
1481 2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
1484 * i386-dis.c (GRP1a): New.
1485 (GRP1b ... GRPPADLCK2): Update index.
1486 (dis386): Use GRP1a for entry 0x8f.
1487 (mod, rm, reg): Removed. Replaced by ...
1491 2007-04-09 Kazu Hirata <kazu@codesourcery.com>
1493 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
1494 info->print_address_func if longjmp is called.
1496 2007-03-29 DJ Delorie <dj@redhat.com>
1498 * m32c-desc.c: Regenerate.
1499 * m32c-dis.c: Regenerate.
1500 * m32c-opc.c: Regenerate.
1502 2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
1504 * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
1505 movq. Remove InvMem from sldt, smsw and str.
1507 * i386-opc.h (InvMem): Renamed to ...
1508 (RegMem): Update comments.
1509 (AnyMem): Remove InvMem.
1511 2007-03-27 Paul Brook <paul@codesourcery.com>
1513 * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
1515 2007-03-24 Paul Brook <paul@codesourcery.com>
1517 * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
1518 (print_insn_coprocessor): Handle %<bitfield>x.
1520 2007-03-24 Paul Brook <paul@codesourcery.com>
1521 Mark Shinwell <shinwell@codesourcery.com>
1523 * arm-dis.c (arm_opcodes): Print SRS base register.
1525 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
1527 * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
1529 * i386-opc.c (i386_optab): Add rex.wrxb.
1531 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1533 * i386-dis.c (REX_MODE64): Remove definition.
1534 (REX_EXTX): Likewise.
1535 (REX_EXTY): Likewise.
1536 (REX_EXTZ): Likewise.
1537 (USED_REX): Use REX_OPCODE instead of 0x40.
1538 Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
1539 REX_R, REX_X and REX_B respectively.
1541 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1544 * i386-dis.c (PREGRP38): New.
1545 (dis386): Use PREGRP38 for 0x90.
1546 (prefix_user_table): Add PREGRP38.
1547 (print_insn): Set uses_REPZ_prefix to 1 for pause.
1548 (NOP_Fixup1): Properly handle REX bits.
1549 (NOP_Fixup2): Likewise.
1551 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
1552 Allow register with nop.
1554 2007-03-20 DJ Delorie <dj@redhat.com>
1556 * m32c-asm.c: Regenerate.
1557 * m32c-desc.c: Regenerate.
1558 * m32c-desc.h: Regenerate.
1559 * m32c-dis.h: Regenerate.
1560 * m32c-ibld.c: Regenerate.
1561 * m32c-opc.c: Regenerate.
1562 * m32c-opc.h: Regenerate.
1564 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1566 * i386-opc.c: Include "libiberty.h".
1567 (i386_regtab): Remove the last entry.
1568 (i386_regtab_size): New.
1569 (i386_float_regtab_size): Likewise.
1571 * i386-opc.h (i386_regtab_size): New.
1572 (i386_float_regtab_size): Likewise.
1574 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1576 * Makefile.am (CFILES): Add i386-opc.c.
1577 (ALL_MACHINES): Add i386-opc.lo.
1579 * Makefile.in: Regenerated.
1581 * configure.in: Add i386-opc.lo for bfd_i386_arch.
1582 * configure: Regenerated.
1584 * i386-dis.c: Include "opcode/i386.h".
1585 (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
1586 (FWAIT_OPCODE): Remove definition.
1587 (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
1588 (MAX_OPERANDS): Remove definition.
1590 * i386-opc.c: New file.
1591 * i386-opc.h: Likewise.
1593 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1595 * Makefile.in: Regenerated.
1597 2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
1599 * i386-dis.c (OP_Rd): Renamed to ...
1604 2007-03-08 Alan Modra <amodra@bigpond.net.au>
1606 * fr30-asm.c: Regenerate.
1607 * frv-asm.c: Regenerate.
1608 * ip2k-asm.c: Regenerate.
1609 * iq2000-asm.c: Regenerate.
1610 * m32c-asm.c: Regenerate.
1611 * m32r-asm.c: Regenerate.
1612 * m32r-dis.c: Regenerate.
1613 * mt-asm.c: Regenerate.
1614 * mt-ibld.c: Regenerate.
1615 * mt-opc.c: Regenerate.
1616 * openrisc-asm.c: Regenerate.
1617 * xc16x-asm.c: Regenerate.
1618 * xstormy16-asm.c: Regenerate.
1620 * Makefile.am: Run "make dep-am".
1621 * Makefile.in: Regenerate.
1622 * po/POTFILES.in: Regenerate.
1624 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
1626 * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
1627 INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
1628 instruction formats added.
1629 (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
1630 MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
1632 * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
1634 * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1635 (main): z9-ec cpu type option added.
1636 * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1638 2007-02-22 DJ Delorie <dj@redhat.com>
1640 * s390-opc.c (INSTR_SS_L2RDRD): New.
1641 (MASK_SS_L2RDRD): New.
1642 * s390-opc.txt (pka): Use it.
1644 2007-02-20 Thiemo Seufer <ths@mips.com>
1645 Chao-Ying Fu <fu@mips.com>
1647 * mips-dis.c (mips_arch_choices): Add DSP R2 support.
1648 (print_insn_args): Add support for balign instruction.
1649 * mips-opc.c (D33): New shortcut for DSP R2 instructions.
1650 (mips_builtin_opcodes): Add DSP R2 instructions.
1652 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1654 * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
1655 (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
1656 * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
1657 cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
1659 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1661 * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
1662 * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
1663 (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
1666 2007-02-16 Nick Clifton <nickc@redhat.com>
1669 * avr-dis.c (comment_start): New variable, contains the prefix to
1670 use when printing addresses in comments.
1671 (print_insn_avr): Set comment_start to an empty space if there is
1672 no symbol table available as the generic address printing code
1673 will prefix the numeric value of the address with 0x.
1675 2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
1677 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
1680 2007-02-05 Dave Brolley <brolley@redhat.com>
1681 Richard Sandiford <rsandifo@redhat.com>
1682 DJ Delorie <dj@redhat.com>
1683 Graydon Hoare <graydon@redhat.com>
1684 Frank Ch. Eigler <fche@redhat.com>
1685 Ben Elliston <bje@redhat.com>
1687 * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
1688 (CFILES): Add mep-*.c
1689 (ALL_MACHINES): Add mep-*.lo.
1690 (CLEANFILES): Add stamp-mep.
1691 (CGEN_CPUS): Add mep.
1692 (MEP_DEPS): New variable.
1693 (mep-*): New targets.
1694 * configure.in: Handle bfd_mep_arch.
1695 * disassemble.c (ARCH_mep): New macro.
1696 (disassembler): Handle bfd_arch_mep.
1697 (disassemble_init_for_target): Likewise.
1698 * mep-*: New files for Toshiba Media Processor (MeP).
1699 * Makefile.in: Regenerated.
1700 * configure: Regenerated.
1702 2007-02-05 H.J. Lu <hongjiu.lu@intel.com>
1704 * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
1705 wrap around within the same segment in 16bit mode.
1707 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1709 * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
1712 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1714 * avr-dis.c (avr_operand): Correct PR number in comment.
1716 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1718 * disassemble.c (disassembler_usage): Call
1719 print_i386_disassembler_options for i386 disassembler.
1721 * i386-dis.c (print_i386_disassembler_options): New.
1722 (print_insn): Support the new addr64 option.
1724 2007-02-02 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
1726 * ppc-dis.c (powerpc_dialect): Handle ppc440.
1727 * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
1730 2007-02-02 Alan Modra <amodra@bigpond.net.au>
1732 * ppc-opc.c (insert_bdm): -Many comment.
1733 (valid_bo): Add "extract" param. Accept both powerpc and power4
1734 BO fields when disassembling with -Many.
1735 (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
1737 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
1739 * m68k-opc.c (m68k_opcodes): Replace cpu32 with
1740 cpu32 | fido_a except on tbl instructions.
1742 2007-01-04 Paul Brook <paul@codesourcery.com>
1744 * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
1746 2007-01-04 Andreas Schwab <schwab@suse.de>
1748 * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
1750 2007-01-04 Julian Brown <julian@codesourcery.com>
1752 * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
1753 vqrshl instructions.
1755 For older changes see ChangeLog-2006
1761 version-control: never