1 2007-11-01 H.J. Lu <hongjiu.lu@intel.com>
3 * i386-gen.c (opcode_modifiers): Replace No_xSuf with
5 * i386-opc.tbl: Likewise.
7 * i386-opc.h (No_xSuf): Renamed to ...
11 2007-11-01 H.J. Lu <hongjiu.lu@intel.com>
13 * i386-gen.c (opcode_modifiers): Add ByteOkIntel, ToDword,
14 ToQword and AddrPrefixOp0.
16 * i386-opc.h (ByteOkIntel): New.
19 (AddrPrefixOp0): Likewise.
21 (i386_opcode_modifier): Add byteokintel, todword, toqword
24 * i386-opc.tbl (cvtss2si): Add ToQword.
25 (cvttss2si): Likewise.
26 (cvtsd2si): Add ToDword.
27 (cvttsd2si): Likewise.
28 (monitor): Add AddrPrefixOp0.
33 (pextrb): Add ByteOkIntel.
35 * i386-tbl.h: Regenerated.
37 2007-10-31 H.J. Lu <hongjiu.lu@intel.com>
39 * i386-dis.c (USE_REG_TABLE): Defined as the previous one + 1.
40 (USE_REG_TABLE): Likewise.
41 (USE_MOD_TABLE): Likewise.
42 (USE_RM_TABLE): Likewise.
43 (USE_PREFIX_TABLE): Likewise.
44 (USE_X86_64_TABLE): Likewise.
45 (USE_3BYTE_TABLE): Likewise.
47 2007-10-26 H.J. Lu <hongjiu.lu@intel.com>
49 * i386-dis.c (MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3): New.
52 (MOD_0FE7_PREFIX_2): Likewise.
53 (MOD_0F382A_PREFIX_2): Likewise.
54 (MOD_0F71_REG_2): Updated.
55 (MOD_0FF0_PREFIX_3): Likewise.
56 (MOD_62_32BIT): Likewise.
57 (dis386_twobyte): Use MOD_0F51 and MOD_0FD7.
58 (prefix_table): Use MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
59 MOD_0FE7_PREFIX_2 and MOD_0F382A_PREFIX_2.
60 (mod_table): Add MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
61 MOD_0F51, MOD_0FD7 and MOD_0F382A_PREFIX_2.
63 2007-10-26 Nick Clifton <nickc@redhat.com>
65 * arm-dis.c (print_insn): Check for a symtab that exists but is
68 2007-10-24 Alan Modra <amodra@bigpond.net.au>
70 * po/POTFILES.in: Regenerate.
72 2007-10-23 H.J. Lu <hongjiu.lu@intel.com>
74 * i386-dis.c (OP_SIMD_Suffix): Renamed to ...
75 (CMP_Fixup): This. Rewrite.
76 (OPSIMD): Renamed to ...
78 (prefix_table): Update PREFIX_0FC2 entry.
80 2007-10-22 H.J. Lu <hongjiu.lu@intel.com>
82 * i386-dis.c (prefix_table): Reordered by opcode.
83 (mod_table): Likewise.
85 2007-10-19 H.J. Lu <hongjiu.lu@intel.com>
87 * i386-dis.c (prefix_table): Use XS on psrldq and pslldq.
89 2007-10-17 Nathan Sidwell <nathan@codesourcery.com>
91 * m68k-opc.c (m68k_opcodes): Correct move sr and ccr masks for
94 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
96 * ppc-opc.c (powerpc_opcodes): Fix the first two operands of
97 dquaiq. to use the TE and FRT macros.
99 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
101 * ppc-opc.c (TE): Correct signedness.
102 (powerpc_opcodes): Sort psq_st and psq_stu according to major
105 2007-10-15 H.J. Lu <hongjiu.lu@intel.com>
107 * i386-dis.c (dis386_twobyte): Reformat.
108 (prefix_table): Likewise.
109 (three_byte_table): Likewise.
111 2007-10-15 Alan Modra <amodra@bigpond.net.au>
113 * mcore-dis.c (print_insn_mcore): Protect "fprintf" var against
116 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
118 * i386-gen.c (opcode_modifiers): Add FirstXmm0.
120 * i386-opc.h (FirstXmm0): New.
122 (i386_opcode_modifier): Add firstxmm0.
124 * i386-opc.tbl (blendvpd): Replace RegKludge with FirstXmm0.
125 (blendvps): Likewise.
126 (pblendvb): Likewise.
127 * i386-tbl.h: Regenerated.
129 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
131 * i386-dis.c (prefix_table): Reformat pblendvb and blendvps.
133 2007-10-10 H.J. Lu <hongjiu.lu@intel.com>
135 * i386-dis.c (v_mode): Defined as previous one + 1.
142 (cond_jump_mode): Likewise.
143 (loop_jcxz_mode): Likewise.
145 (dqw_mode): Likewise.
147 (const_1_mode): Likewise.
148 (stack_v_mode): Likewise.
151 (dqb_mode): Likewise.
152 (dqd_mode): Likewise.
191 (z_mode_ax_reg): Likewise.
192 (indir_dx_reg): Likewise.
194 (DREX_NO_OC0): Likewise.
195 (DREX_MASK): Likewise.
196 (MAX_BYTEMODE): New. Issue an error if MAX_BYTEMODE is not
199 2007-10-08 H.J. Lu <hongjiu.lu@intel.com>
201 * i386-dis.c: Updated comments for 'Y'.
202 (putop): Don't add 'q' for 'Y' if suffix_always isn't true.
204 2007-10-08 Maciej W. Rozycki <macro@linux-mips.org>
206 * opcodes/mips-dis.c (mips_cp0_names_r3000): New definition.
207 (mips_cp0_names_r4000): Likewise.
208 (mips_arch_choices): Link to the above as appropriate.
210 2007-10-08 Nick Clifton <nickc@redhat.com>
212 * configure.in (SHARED_DEPENDENCIES): Change non-cygwin dependency
213 to be ../bfd/libbfd.la.
214 * configure: Regenerate.
216 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
218 * i386-dis.c (dis386_twobyte): Add getsec.
220 * i386-gen.c (cpu_flags): Add CpuSMX.
222 * i386-opc.h (CpuSMX): New.
224 (i386_cpu_flags): Add cpusmx.
226 * i386-opc.tbl: Add getsec.
227 * i386-init.h: Regenerated.
228 * i386-tbl.h: Likewise.
230 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
232 * i386-dis.c (reg_table): Use "{ XX }" on "(bad)".
233 (prefix_table): Likewise.
235 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
237 * i386-dis.c (dis386_twobyte): Use EXx instead of EXq on
238 unpckhpX and unpckhpX.
240 2007-10-04 David Daney <ddaney@avtrex.com>
242 * mips-opc.c (mips_builtin_opcodes): Mark lwxc1 as working on FP_S
245 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
247 * i386-dis.c (MOD_0F12_PREFIX_0): Use "movlps" and "movhlps"
248 instead of "movlpX" and "movhlpX", respectively.
249 (MOD_0F16_PREFIX_0): Use "movhps" and "movlhps" instead of
250 "movhpX" and "movlhpX", respectively.
252 2007-10-04 Nick Clifton <nickc@redhat.com>
254 * configure.in (WIN32LDFLAGS): Rename to SHARED_LDFLAGS.
255 (WIN32LIBADD): Rename to SHARED_LIBADD
256 (SHARED_DEPENDENCIES): New exported variable.
257 (enable_shared): Add dependency upon libbfd.la for non-cygwin
258 based shared library builds.
259 * Makefile.am (libopcodes_la_DEPENDENCIES): Append
261 (libopcodes_la_LIBADD): Rename WIN32LIBADD to SHARED_LIBADD.
262 (libopcodes_la_LDFLAGS): Rename WIN32LDFLAGS to SHARED_LDFLAGS.
263 * configure: Regenerate.
264 * Makefile.in: Regenerate.
267 * arc-opc.c (insert_offset): Fix spelling mistake in error
270 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
272 * i386-dis.c (OP_REG): Set add to 0 only when needed.
281 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
283 * i386-opc.tbl: Update SSE comments.
285 2007-10-01 H.J. Lu <hongjiu.lu@intel.com>
287 * i386-dis.c (THREE_BYTE_0FBA): Renamed to ...
288 (THREE_BYTE_0F7B): This.
289 (dis386_twobyte): Updated.
290 (three_byte_table): Updated comments.
292 2007-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
294 * cr16-opc.c: Updated the branch on condition instructions with
297 2007-09-30 H.J. Lu <hongjiu.lu@intel.com>
299 * 386-dis.c (prefix_table): Reformat comment.
301 2007-09-29 H.J. Lu <hongjiu.lu@intel.com>
303 * 386-dis.c (USE_GROUPS): Renamed to ...
304 (USE_REG_TABLE): This.
305 (USE_OPC_EXT_TABLE): Renamed to ...
306 (USE_MOD_TABLE): This.
307 (USE_OPC_EXT_RM_TABLE): Renamed to ...
308 (USE_RM_TABLE): This.
309 (USE_XXX_TABLE): Reordered.
310 (GRP): Renamed to ...
312 (OPC_EXT_TABLE): Renamed to ...
314 (OPC_EXT_RM_TABLE): Renamed to ...
316 (GRP_XXX): Renamed to ...
318 (PREGRP_XXX): Renamed to ...
320 (OPC_EXT_XXX): Renamed to ...
322 (OPC_EXT_RM_XXX): Renamed to ...
324 (grps): Renamed to ...
326 (prefix_user_table): Renamed to ...
328 (opc_ext_table): Renamed to ...
330 (opc_ext_rm_table): Renamed to ...
332 (OPC_EXT_RM_XXX): Likewise.
334 (dis386_twobyte): Likewise.
335 (reg_table): Likewise.
336 (prefix_table): Likewise.
337 (x86_64_table): Likewise.
338 (three_byte_table): Likewise.
339 (mod_table): Likewise.
340 (rm_table): Likewise.
341 (get_valid_dis386): Likewise.
343 2007-09-28 H.J. Lu <hongjiu.lu@intel.com>
345 * 386-dis.c (USE_PREFIX_USER_TABLE): Renamed to ...
346 (USE_PREFIX_TABLE): This.
347 (X86_64_SPECIAL): Renamed to ...
348 (USE_X86_64_TABLE): This.
349 (IS_3BYTE_OPCODE): Renamed to ...
350 (USE_3BYTE_TABLE): This.
352 (PREGRPXXX): Likewise.
353 (X86_64_XXX): Likewise.
354 (THREE_BYTE_XXX): Likewise.
355 (OPC_EXT_XXX): Likewise.
356 (OPC_EXT_RM_XXX): Likewise.
360 (X86_64_TABLE): Likewise.
361 (THREE_BYTE_TABLE): Likewise.
362 (OPC_EXT_TABLE): Likewise.
363 (OPC_EXT_RM_TABLE): Likewise.
365 (PREGRP_XXX): Likewise.
366 (X86_64_XXX): Likewise.
367 (THREE_BYTE_XXX): Likewise.
368 (OPC_EXT_XXX): Likewise.
369 (OPC_EXT_RM_XXX): Likewise.
371 (dis386_twobyte): Likewise.
373 (prefix_user_table): Likewise.
374 (x86_64_table): Likewise.
375 (three_byte_table): Likewise.
376 (opc_ext_table): Likewise.
377 (opc_ext_rm_table): Likewise.
378 (get_valid_dis386): Likewise.
380 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
382 * i386-dis.c (dis386): Swap X86_64_27 with OPC_EXT_2.
383 (x86_64_table): Likewise.
384 (opc_ext_table): Likewise.
386 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
389 * i386-dis.c: Update comments on '{', '}' and '|' to support
390 only AT&T and Intel modes.
391 (X86_64_4...X86_64_27): New.
392 (dis386): Updated. Use X86_64_4...X86_64_21.
393 (dis386_twobyte): Updated.
394 (float_mem): Likewise.
395 (x86_64_table): Add X86_64_4...X86_64_27.
396 (opc_ext_table): Updated. Use X86_64_22...X86_64_27.
397 (putop): Updated handling of '{', '}' and '|' to support only
398 AT&T and Intel modes.
400 2007-09-27 Kazu Hirata <kazu@codesourcery.com>
402 * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb.
404 2007-09-26 James E. Wilson <wilson@specifix.com>
406 * ia64-gen.c (print_dependency_table): Fix typo in last patch.
408 2007-09-26 Nick Clifton <nickc@redhat.com>
410 * mt-asm.c (parse_imm16): Reword error message in order to allow
411 it to be translated properly.
412 * ia64-gen.c (print_dependency_table): Likewise.
413 * mips-dis.c (print_insn_args): Likewise.
415 2007-09-26 Jan Beulich <jbeulich@novell.com>
417 * i386-dis.c (OP_E_extended): Distinguish rip- and eip-
418 relative addressing. Update used_prefixes based on whether any
419 base or index register was printed.
421 2007-09-26 Jan Beulich <jbeulich@novell.com>
423 * i386-opc.h (RegEip): Define.
425 * i386-reg.tbl: Add eip. Mark rip and eip with RegRex64.
426 * i386-tbl.h: Re-generate.
428 2007-09-25 H.J. Lu <hongjiu.lu@intel.com>
430 * i386-gen.c (process_i386_opcodes): Process opcode_length.
432 * i386-opc.h (template): Add opcode_length.
433 * 386-opc.tbl: Likewise.
434 * i386-tbl.h: Regenerated.
436 2007-09-21 H.J. Lu <hongjiu.lu@intel.com>
438 * i386-opc.h: Adjust whitespaces.
440 2007-09-21 Dave Brolley <brolley@redhat.com>
442 * mep-desc.c: Regenerated.
444 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
446 * i386-dis.c (OP_E_extended): Display eiz for [eiz*1 + offset].
448 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
451 * 386-dis.c (index64): New.
453 (intel_index64): Likewise.
454 (intel_index32): Likewise.
455 (att_index64): Likewise.
456 (att_index32): Likewise.
457 (print_insn): Set index64 and index32.
458 (OP_E_extended): Use index64/index32 for index register for
461 * i386-opc.h (RegEiz): New.
464 * i386-reg.tbl: Add eiz and riz.
465 * i386-tbl.h: Regenerated.
467 2007-09-19 H.J. Lu <hongjiu.lu@intel.com>
469 * i386-dis.c (OP_E_extended): Always display scale for memory.
471 2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
473 * i386-opc.h (RegRip): New.
475 * i386-reg.tbl (rip): Use RegRip for reg_num.
476 * i386-tbl.h: Regenerated.
478 2007-09-17 Nick Clifton <nickc@redhat.com>
480 * po/es.po: Updated Spanish translation.
482 2007-09-14 H.J. Lu <hongjiu.lu@intel.com>
484 * Makefile.am: Run "make dep-am".
485 * Makefile.in: Regenerate.
487 2007-09-14 Michael Meissner <michael.meissner@amd.com>
488 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
489 Tony Linthicum <tony.linthicum@amd.com>
491 * i386-opc.h (CpuSSE5): New macro.
492 (i386_cpu_flags): Add Drex, Drexv and Drexc.
494 * i386-gen.c (cpu_flag_init): Add CPU_SSE5_FLAGS.
495 (operand_type_init): Add CpuSSE5.
496 (opcode_modifiers): Add Drex, Drexv and Drexc.
497 (i386_opcode_modifier): Ditto.
499 * i386-opc.tbl (fmaddps,fmaddpd,fmaddss,fmaddsd): Define SSE5
501 (fmsubps,fmsubpd,fmsubss,fmsubsd): Ditto.
502 (fnmaddps,fnmaddpd,fnmaddss,fnmaddsd): Ditto.
503 (fnmsubps,fnmsubpd,fnmsubss,fnmsubsd): Ditto.
504 (pmacssww,pmacsww,pmacsswd,pmacswd): Ditto.
505 (pmacssdd,pmacsdd,pmacssdql,pmacssdqh): Ditto.
506 (pmacsdql,pmacsdqh,pmadcsswd,pmadcswd): Ditto.
507 (phaddbw,phaddbd,phaddbq,phaddwd): Ditto.
508 (phaddwq,phadddq,phaddubw,phaddubd): Ditto.
509 (phaddubq,phadduwd,phadduwq,phaddudq): Ditto.
510 (phsubbw,phsubwd,phsubdq): Ditto.
511 (pcmov,pperm,permps,permpd): Ditto.
512 (protb,protw,protd,protq): Ditto.
513 (pshlb,pshlw,pshld,pshlq): Ditto.
514 (pshab,pshaw,pshad,pshaq): Ditto.
515 (comps,comeqps,comltps,comungeps,comleps,comungtps): Ditto.
516 (comunordps,comneps,comneqps,comnltps,comugeps): Ditto.
517 (comnleps,comugtps,comordps,comueqps,comultps): Ditto.
518 (comngeps,comuleps,comngtps,comfalseps,comuneps): Ditto.
519 (comuneqps,comunltps,comgeps,comunleps,comgtps,comtrueps): Ditto.
520 (compd,comeqpd,comltpd,comungepd,comlepd,comungtpd,comunordpd): Ditto.
521 (comnepd,comneqpd,comnltpd,comugepd,comnlepd,comugtpd): Ditto.
522 (comordpd,comueqpd,comultpd,comngepd,comulepd,comngtpd): Ditto.
523 (comfalsepd,comunepd,comuneqpd,comunltpd,comgepd): Ditto.
524 (comunlepd,comgtpd,comtruepd): Ditto.
525 (comss,comeqss,comltss,comungess,comless,comungtss,comunordss): Ditto.
526 (comness,comneqss,comnltss,comugess,comnless,comugtss): Ditto.
527 (comordss,comueqss,comultss,comngess,comuless,comngtss): Ditto.
528 (comfalsess,comuness,comuneqss,comunltss,comgess): Ditto.
529 (comunless,comgtss,comtruess): Ditto.
530 (comsd,comeqsd,comltsd,comungesd,comlesd,comungtsd,comunordsd): Ditto.
531 (comnesd,comneqsd,comnltsd,comugesd,comnlesd,comugtsd): Ditto.
532 (comordsd,comueqsd,comultsd,comngesd,comulesd,comngtsd): Ditto.
533 (comfalsesd,comunesd,comuneqsd,comunltsd,comgesd): Ditto.
534 (comunlesd,comgtsd,comtruesd): Ditto.
535 (pcomub,pcomltub,pcomleub,pcomgtub,pcomgeub,pcomequb): Ditto.
536 (pcomnequb,pcomneub): Ditto.
537 (pcomuw,pcomltuw,pcomleuw,pcomgtuw,pcomgeuw,pcomequw): Ditto.
538 (pcomnequw,pcomneuw): Ditto.
539 (pcomud,pcomltud,pcomleud,pcomgtud,pcomgeud,pcomequd): Ditto.
540 (pcomnequd,pcomneud): Ditto.
541 (pcomuq,pcomltuq,pcomleuq,pcomgtuq,pcomgeuq,pcomequq): Ditto.
542 (pcomnequq,pcomneuq): Ditto.
543 (pcomb,pcomltb,pcomleb,pcomgtb,pcomgeb,pcomeqb): Ditto.
544 (pcomneqb,pcomneb): Ditto.
545 (pcomw,pcomltw,pcomlew,pcomgtw,pcomgew,pcomeqw): Ditto.
546 (pcomneqw,pcomnew): Ditto.
547 (pcomd,pcomltd,pcomled,pcomgtd,pcomged,pcomeqd): Ditto.
548 (pcomneqd,pcomned): Ditto.
549 (pcomq,pcomltq,pcomleq,pcomgtq,pcomgeq): Ditto.
550 (pcomeqq,pcomneqq,pcomneq): Ditto.
551 (pcomtrueb, pcomtruew, pcomtrued, pcomtrueq): Ditto.
552 (pcomtrueub, pcomtrueuw, pcomtrueud, pcomtrueuq): Ditto.
553 (pcomfalseb, pcomfalsew, pcomfalsed, pcomfalseq): Ditto.
554 (pcomfalseub, pcomfalseuw, pcomfalseud, pcomfalseuq): Ditto.
555 (frczps,frczpd,frczss,frczsd): Ditto.
556 (cvtph2ps,cvtps2ph): Ditto.
558 * i386-tbl.h: Regenerate from i386-opc.tbl.
559 * i386-init.h: Likewise.
561 * i386-dis.c (libiberty.h): Include to get ARRAY_SIZE.
562 (dis386_move_test): New disassembly support for move from test
563 register instruction that overlaps with SSE5 instructions.
564 (print_insn): Add support for special casing the i386/i486 move
565 from test register instruction that overlaps with the SSE5
566 0x0f24 4 operand instructions.
567 (OP_DREX_ICMP): New macros for SSE5 DREX handling.
568 (OP_DREX_FCMP): Ditto.
569 (OP_E_extended): Rename from OP_E, add additional argument to skip
571 (OP_E): Call OP_E_extended.
572 (DREX_REG_MEMORY): New macros for drex handling.
573 (DREX_REG_UNKNOWN): Ditto.
575 (DREX4_NO_OC0): Ditto.
577 (three_byte_table): Add SSE5 instructions.
578 (print_drex_arg): New function to print a DREX register or memory
580 (OP_DREX4): New function for handling DREX 4 argument ops.
581 (OP_DREX3): New function for handling DREX 3 argument ops.
582 (twobyte_has_modrm): 0f{25,7a,7b} all use the modrm byte.
583 (THREE_BYTE_SSE5_0F{24,25,7A,7B}): New macros for initializing 3
584 byte opcode support for SSE5 instructions.
585 (dis386_twobyte): Add SSE5 24/25/7a/7b support.
586 (three_byte_table): Add rows for describing SSE5 instructions.
588 2007-09-13 H.J. Lu <hongjiu.lu@intel.com>
590 * i386-dis.c (get_valid_dis386): Take a pointer to
591 disassemble_info. Handle IS_3BYTE_OPCODE.
592 (print_insn): Updated. Don't handle IS_3BYTE_OPCODE here.
594 2007-09-12 H.J. Lu <hongjiu.lu@intel.com>
596 * i386-opc.h (CpuUnused): Defined with CpuMax.
597 (OTUnused): Defined with OTMax.
599 2007-09-12 Jan Beulich <jbeulich@novell.com>
601 * i386-opc.tbl: Add two-operand forms of blendvps, blendvpd, and
603 * i386-tbl.h: Regenerate.
605 2007-09-09 H.J. Lu <hongjiu.lu@intel.com>
607 * i386-gen.c (main): Remove the local variable, unused.
609 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
611 * Makefile.am: Run "make dep-am".
612 * Makefile.in: Regenerate.
614 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
616 * configure.in (AC_CHECK_HEADERS): Add limits.h.
617 * configure: Regenerated.
618 * config.in: Likewise.
620 * i386-gen.c: Include "sysdep.h" instead of <stdlib.h> and
621 <string.h>. Use xstrerror instead of strerror.
623 (cpu_flag_init): Likewise.
624 (bitfield): Likewise.
626 (cpu_flags): Likewise.
627 (opcode_modifiers): Likewise.
628 (operand_types): Likewise.
630 (set_cpu_flags): Likewise.
631 (output_cpu_flags): Likewise.
632 (process_i386_cpu_flags): Likewise.
633 (output_opcode_modifier): Likewise.
634 (process_i386_opcode_modifier): Likewise.
635 (output_operand_type): Likewise.
636 (process_i386_operand_type): Likewise.
637 (set_bitfield): Likewise.
638 (operand_type_init): Likewise.
639 (process_i386_initializers): Likewise.
640 (process_i386_opcodes): Call process_i386_opcode_modifier to
641 process opcode_modifier. Call process_i386_operand_type to
642 process operand_types.
643 (process_i386_registers): Call process_i386_operand_type to
645 (main): Check unused bits in i386_cpu_flags and i386_operand_type.
646 Sort cpu_flags, opcode_modifiers and operand_types. Call
647 process_i386_initializers.
650 * i386-tbl.h: Regenerated.
652 * i386-opc.h: Include <limits.h>.
653 (CHAR_BIT): Define as 8 if not defined.
654 (Cpu186): Changed to position of bitfiled.
667 (Cpu3dnow): Likewise.
668 (Cpu3dnowA): Likewise.
670 (CpuPadLock): Likewise.
673 (CpuSSSE3): Likewise.
674 (CpuSSE4a): Likewise.
676 (CpuSSE4_1): Likewise.
677 (CpuSSE4_2): Likewise.
683 (ShortForm): Likewise.
685 (JumpDword): Likewise.
686 (JumpByte): Likewise.
687 (JumpInterSegment): Likewise.
694 (IgnoreSize): Likewise.
695 (DefaultSize): Likewise.
703 (IsString): Likewise.
704 (RegKludge): Likewise.
705 (IsPrefix): Likewise.
714 (FloatReg): Likewise.
724 (BaseIndex): Likewise.
730 (InOutPortReg): Likewise.
731 (ShiftCount): Likewise.
738 (FloatAcc): Likewise.
739 (JumpAbsolute): Likewise.
743 (Reg): Commented out.
745 (ImplicitRegister): Likewise.
750 (LLongMem): Likewise.
752 (ShortMem): Likewise.
757 (CpuNumOfUints): Likewise.
758 (CpuNumOfBits): Likewise.
759 (CpuUnused): Likewise.
760 (OTNumOfUints): Likewise.
761 (OTNumOfBits): Likewise.
762 (OTUnused): Likewise.
763 (i386_cpu_flags): New type.
764 (i386_operand_type): Likewise.
765 (i386_opcode_modifier): Likewise.
766 (CpuSledgehammer): Removed.
768 (CpuUnknownFlags): Likewise.
771 (ImplicitRegister): Likewise.
776 (LLongMem): Likewise.
778 (ShortMem): Likewise.
781 (template): Use i386_cpu_flags for cpu_flags, use
782 i386_opcode_modifier for opcode_modifier, use
783 i386_operand_type for operand_types.
784 (reg_entry): Use i386_operand_type for reg_type.
786 * Makefile.am (HFILES): Add i386-init.h.
787 ($(srcdir)/i386-init.h): New rule.
788 ($(srcdir)/i386-tbl.h): Depend on $(srcdir)/i386-init.h
790 * Makefile.in: Regenerated.
792 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
794 * i386-gen.c (next_field): Updated to take a separator.
795 (process_i386_opcodes): Updated.
796 (process_i386_registers): Likewise.
798 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
800 * i386-gen.c (table): Moved ...
801 (main): Here. Call process_copyright to output copyright.
802 (process_copyright): New.
803 (process_i386_opcodes): Take FILE *table.
804 (process_i386_registers): Likewise.
806 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
808 * i386-gen.c (table): New.
809 (process_i386_opcodes): Report errno when faied to open
810 i386-opc.tbl. Output opcodes to table. Close i386-opc.tbl
812 (process_i386_registers): Report errno when faied to open
813 i386-reg.tbl. Output opcodes to table. Close i386-reg.tbl
815 (main): Open i386-tbl.h for output.
817 * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@".
818 * Makefile.in: Regenerated.
820 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
822 * i386-opc.tbl: Correct SVME instructions to allow 32bit register
823 operand in 64bit mode.
824 * i386-tbl.h: Regenerated.
826 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
828 * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
829 (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
830 (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
832 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
834 * i386-dis.c (SVME_Fixup): Removed.
836 (OPC_EXT_RM_6): Likewise.
837 (grps): Use OPC_EXT_39.
838 (opc_ext_table): Add OPC_EXT_39.
839 (opc_ext_rm_table): Add OPC_EXT_RM_6.
841 * i386-opc.tbl: Correct SVME instructions to take register
843 * i386-tbl.h: Regenerated.
845 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
847 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
848 * Makefile.in: Regenerated.
850 * configure.in (AC_GNU_SOURCE): Added.
851 (AC_PROG_CC): Moved before AC_GNU_SOURCE.
852 (AC_CHECK_DECLS): Add stpcpy.
853 * configure: Regenerated.
854 * config.in: Likewise.
856 * i386-dis.c: Include "sysdep.h" before "dis-asm.h".
858 * sysdep.h (stpcpy): New.
860 2007-08-30 H.J. Lu <hongjiu.lu@intel.com>
862 * i386-dis.c (INVLPG_Fixup): Removed.
864 (OPC_EXT_RM_5): Likewise.
865 (grps): Use OPC_EXT_38.
866 (opc_ext_table): Add OPC_EXT_38.
867 (opc_ext_rm_table): Add OPC_EXT_RM_5.
869 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
871 * i386-dis.c (SIMD_Fixup): Removed.
872 (OPC_EXT_34...OPC_EXT_37): New.
873 (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
874 (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
875 (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
877 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
879 * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
880 (dis386): Use OPC_EXT_0...OPC_EXT_2.
881 (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
882 (grps): Updated to use OPC_EXT_6...OPC_EXT_31.
883 (prefix_user_table): Use OPC_EXT_32.
884 (x86_64_table): Use OPC_EXT_33.
885 (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
887 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
889 * i386-dis.c (prefix_user_table): Fix comment.
891 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
893 * i386-dis.c (OP_Skip_MODRM): New.
894 (OP_Monitor): Likewise.
895 (OP_Mwait): Likewise.
897 (Skip_MODRM): Likewise.
898 (USE_OPC_EXT_TABLE): Likewise.
899 (USE_OPC_EXT_RM_TABLE): Likewise.
900 (PREGRP98...PREGRP100): Likewise.
901 (OPC_EXT_0...OPC_EXT_24): Likewise.
902 (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
903 (lock_prefix): Likewise.
904 (data_prefix): Likewise.
905 (addr_prefix): Likewise.
906 (repz_prefix): Likewise.
907 (repnz_prefix): Likewise.
908 (opc_ext_table): Likewise.
909 (opc_ext_rm_table): Likewise.
910 (get_valid_dis386): Likewise.
913 (PNI_Fixup): Likewise.
914 (VMX_Fixup): Likewise.
916 (twobyte_uses_DATA_prefix): Likewise.
917 (twobyte_uses_REPNZ_prefix): Likewise.
918 (twobyte_uses_REPZ_prefix): Likewise.
919 (threebyte_0x38_uses_DATA_prefix): Likewise.
920 (threebyte_0x38_uses_REPNZ_prefix): Likewise.
921 (threebyte_0x38_uses_REPZ_prefix): Likewise.
922 (threebyte_0x3a_uses_DATA_prefix): Likewise.
923 (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
924 (threebyte_0x3a_uses_REPZ_prefix): Likewise.
925 (grps): Use OPC_EXT_0...OPC_EXT_24.
926 (prefix_user_table): Add PREGRP98...PREGRP100.
927 (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
928 uses_REPNZ_prefix and uses_REPZ_prefix. Initialize
929 repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
930 data_prefix based on prefixes. Call get_valid_dis386 to
931 get a pointer to the valid dis386. Print out prefixes if
933 (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
934 (REP_Fixup): Set repz_prefix to "rep " when seeing
937 2007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
939 * po/nl.po: Updated translation.
941 2007-08-28 H.J. Lu <hongjiu.lu@intel.com>
943 * i386-dis.c (Md): New.
944 (grps): Use 0 on invlpg. Use M on fxsave and fxrstor. Use
945 Md on ldmxcsr and stmxcsr. Use b_mode on clflush.
946 (OP_0fae): Clear bytemode for sfence.
948 2007-08-22 Ben Elliston <bje@au.ibm.com>
950 * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
951 (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
953 (powerpc_opcodes): Add all pair singles instructions.
954 * ppc-dis.c (powerpc_dialect): Handle "ppcps".
955 (print_ppc_disassembler_options): Document -Mppcps.
957 2007-08-21 Andreas Krebbel <krebbel1@de.ibm.com>
959 * s390-mkopc.c (struct s390_cond_ext_format): New global struct.
960 (s390_cond_ext_format): New global variable.
961 (expandConditionalJump): New function.
962 (main): Invoke expandConditionalJump for mnemonics containing '*'.
963 * s390-opc.txt: Replace mnemonics with conditional
964 mask extensions with instructions using the newly introduced '*' tag.
966 2007-08-17 Alan Modra <amodra@bigpond.net.au>
968 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
970 2007-08-10 Nick Clifton <nickc@redhat.com>
972 * po/fi.po: Updated Finnish translation.
973 * po/ga.po: Updated Irish translation.
974 * po/vi.po: Updated Vietnamese translation.
976 2007-08-09 H.J. Lu <hongjiu.lu@intel.com>
978 * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
979 pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
980 * i386-tbl.h: Regenerated.
982 2007-08-03 James E. Wilson <wilson@specifix.com>
984 * ia64-gen.c: (main): Add missing newline to copyright message.
985 * ia64-ic.tbl (fp-non-arith): Add xmpy.
986 * ia64-asmtab.c: Regenerate.
988 2007-08-01 Michael Snyder <msnyder@access-company.com>
990 * i386-dis.c (print_insn): Guard against NULL.
992 2007-07-29 H.J. Lu <hongjiu.lu@intel.com>
995 * i386-dis.c (EXw): New.
996 (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
997 instructions when appropriated.
999 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
1002 * i386-dis.c (Eq): New.
1003 (EMC): Renamed to ...
1004 (EMCq): This. Use q_mode instead of v_mode.
1005 (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
1008 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
1010 * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
1011 (prefix_user_table): Likewise. Use EXq instead of EXx on
1014 2007-07-27 Nathan Sidwell <nathan@codesourcery.com>
1016 * ppc-opc (PPC7450): New.
1017 (powerpc_opcodes): Use it in dcba.
1019 2007-07-24 H.J. Lu <hongjiu.lu@intel.com>
1021 * i386-gen.c (main): Print a newline after copyright notice.
1023 2007-07-19 Nick Clifton <nickc@redhat.com>
1026 * maxq-dis.c (get_reg_name): Fix the scan of the
1027 mem_access_syntax_table.
1029 2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
1031 * i386-dis.c (EMq): Removed.
1033 (prefix_user_table): Replace EMq with EMx.
1035 2007-07-16 Nick Clifton <nickc@redhat.com>
1037 * po/nl.po: Updated translation.
1039 2007-07-12 Nick Clifton <nickc@redhat.com>
1041 * po/vi.po: Updated translation.
1042 * po/nl.po: Updated translation.
1044 2007-07-06 Mark Kettenis <kettenis@gnu.org>
1045 H.J. Lu <hongjiu.lu@intel.com>
1047 * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
1048 (ia64-asmtab.c): Likewise.
1049 * Makefile.in: Regenerate.
1051 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
1053 * aclocal.m4: Regenerated.
1055 2007-07-04 Nick Clifton <nickc@redhat.com>
1057 * alpha-dis.c: Update copyright notice to refer to GPLv3.
1058 * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h,
1059 arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c,
1060 cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in,
1061 cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c,
1062 cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c,
1063 d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c,
1064 dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c,
1065 h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c,
1066 i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c,
1067 ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c,
1068 ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c,
1069 ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c,
1070 m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c,
1071 m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c,
1072 mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c,
1073 mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c,
1074 or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c,
1075 ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c,
1076 score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h,
1077 sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c,
1078 spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c,
1079 tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c,
1080 vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c,
1081 z8k-dis.c, z8kgen.c: Likewise.
1082 * i386-opc.tbl, i386-reg.tbl: Add copyright notice.
1083 * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h,
1084 fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c,
1085 frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c,
1086 frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c,
1087 ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h,
1088 iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c,
1089 iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c,
1090 m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c,
1091 m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
1092 m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c,
1093 mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c,
1094 mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c,
1095 mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c,
1096 openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c,
1097 openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h,
1098 xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h,
1099 xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h,
1100 xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c,
1101 xstormy16-opc.h, z8k-opc.h: Regenerated
1103 2007-07-04 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1105 * cr16-dis.c (getcinvstring): Add const qualifier to char *
1107 (print_insn_cr16): Remove cast to char *.
1109 2007-07-03 Nathan Sidwell <nathan@codesourcery.com>
1111 * m68k-dis.c (fetch_arg): Add E. Replace length switch with
1113 (print_ins_arg): Add j & K operand types.
1114 (match_insn_m68k): Check and skip initial '.' arg character.
1115 (m68k_scan_mask): Likewise.
1116 * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
1118 2007-07-02 Alan Modra <amodra@bigpond.net.au>
1120 * Makefile.am: Run "make dep-am".
1121 * Makefile.in: Regenerate.
1122 * aclocal.m4: Regenerate.
1123 * config.in: Regenerate.
1124 * po/POTFILES.in: Regenerate.
1125 * po/opcodes.pot: Regenerate.
1127 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
1129 * aclocal.m4: Regenerated.
1130 * Makefile.in: Likewise.
1132 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
1134 * i386-reg.tbl: Remove spaces before comments.
1136 2007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1138 * cr16-opc.c: New file.
1139 * cr16-dis.c: New file.
1140 * Makefile.am: Entries for cr16.
1141 * Makefile.in: Regenerate.
1142 * cofigure.in: Add cr16 target information.
1143 * configure : Regenerate.
1144 * disassemble.c: Add cr16 target information.
1146 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
1148 * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
1149 (CFILES): Add i386-gen.c.
1150 (i386-gen): New rule.
1151 (i386-gen.o): Likewise.
1152 (i386-tbl.h): Likewise.
1154 * Makefile.in: Regenerated.
1156 * i386-gen.c: New file.
1157 * i386-opc.tbl: Likewise.
1158 * i386-reg.tbl: Likewise.
1159 * i386-tbl.h: Likewise.
1161 * i386-opc.c: Include "i386-tbl.h".
1162 (i386_optab): Removed.
1163 (i386_regtab): Likewise.
1164 (i386_regtab_size): Likewise.
1166 2007-06-26 Paul Brook <paul@codesourcery.com>
1168 * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
1170 2007-06-25 H.J. Lu <hongjiu.lu@intel.com>
1172 * i386-opc.h (regKludge): Renamed to ...
1175 * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
1177 2007-06-23 H.J. Lu <hongjiu.lu@intel.com>
1180 * i386-dis.c (EX): Removed.
1186 (PREGRP93...PREGRP97): Likewise.
1187 (dis386_twobyte): Updated.
1188 (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
1189 (OP_EX): Remove Intel syntax handling.
1191 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
1193 * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
1195 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
1197 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
1199 * acinclude.m4: Removed.
1201 * Makefile.in: Regenerated.
1202 * doc/Makefile.in: Likewise.
1203 * aclocal.m4: Likewise.
1204 * configure: Likewise.
1206 2007-06-05 Paul Brook <paul@codesourcery.com>
1208 * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
1210 2007-05-24 Steve Ellcey <sje@cup.hp.com>
1212 * Makefile.in: Regnerate.
1213 * configure: Regenerate.
1214 * aclocal.m4: Regenerate.
1216 2007-05-18 Alan Modra <amodra@bigpond.net.au>
1218 * ppc-dis.c (print_insn_powerpc): Don't skip all operands
1219 after setting skip_optional.
1221 2007-05-16 Peter Bergner <bergner@vnet.ibm.com>
1223 * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
1224 (print_insn_powerpc): Use the new operand_value_powerpc and
1225 skip_optional_operands functions to omit or print all optional
1226 operands as a group.
1227 * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
1228 (XFL_MASK): Delete L and W bits from the mask.
1229 (mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK
1230 with XWRA_MASK. Use W.
1231 (mtfsf, mtfsf.): Use XFL_L and W.
1233 2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
1236 * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
1238 2007-05-10 H.J. Lu <hongjiu.lu@intel.com>
1240 * i386-opc.h (ShortForm): Redefined.
1242 (JumpDword): Likewise.
1243 (JumpByte): Likewise.
1244 (JumpInterSegment): Likewise.
1245 (FloatMF): Likewise.
1251 (IgnoreSize): Likewise.
1252 (DefaultSize): Likewise.
1253 (No_bSuf): Likewise.
1254 (No_wSuf): Likewise.
1255 (No_lSuf): Likewise.
1256 (No_sSuf): Likewise.
1257 (No_qSuf): Likewise.
1258 (No_xSuf): Likewise.
1260 (IsString): Likewise.
1261 (regKludge): Likewise.
1262 (IsPrefix): Likewise.
1264 (NoRex64): Likewise.
1268 2007-05-07 H.J. Lu <hongjiu.lu@intel.com>
1270 * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
1271 for some SSE4 instructions.
1272 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1274 2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
1276 * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
1278 * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
1281 2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
1283 * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
1284 check data size prefix in 16bit mode.
1286 * i386-opc.c (i386_optab): Default crc32 to non-8bit and
1289 2007-04-30 Mark Salter <msalter@redhat.com>
1291 * frv-desc.c: Regenerate.
1292 * frv-desc.h: Regenerate.
1294 2007-04-30 Alan Modra <amodra@bigpond.net.au>
1297 * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
1299 2007-04-27 H.J. Lu <hongjiu.lu@intel.com>
1301 * i386-dis.c (modrm): Put reg before rm.
1303 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1306 * i386-dis.c (print_displacement): New.
1307 (OP_E): Call print_displacement instead of print_operand_value
1308 to output displacement when either base or index exist. Print
1309 the explicit zero displacement in 16bit mode.
1311 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1314 * i386-dis.c (print_insn): Also swap the order of op_riprel
1315 when swapping op_index. Break when the RIP relative address
1317 (OP_E): Properly handle RIP relative addressing and print the
1318 explicit zero displacement for Intel mode.
1320 2007-04-27 Alan Modra <amodra@bigpond.net.au>
1322 * Makefile.am: Run "make dep-am".
1323 * Makefile.in: Regenerate.
1324 * ns32k-dis.c: Include sysdep.h first.
1326 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
1328 * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
1330 * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
1332 2007-04-24 Nick Clifton <nickc@redhat.com>
1334 * arm-dis.c (print_insn): Initialise type.
1336 2007-04-24 Alan Modra <amodra@bigpond.net.au>
1338 * cgen-types.h: Include bfd_stdint.h, not stdint.h.
1339 * Makefile.am: Run "make dep-am".
1340 * Makefile.in: Regenerate.
1342 2007-04-23 Nathan Sidwell <nathan@codesourcery.com>
1344 * m68k-opc.c: Mark mcfisa_c instructions.
1346 2007-04-21 Richard Earnshaw <rearnsha@arm.com>
1348 * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
1349 (thumb_opcodes): Add missing white space in adr.
1350 (arm_decode_shift): New parameter, print_shift. Only decode the
1351 shift parameter if set. Adjust callers.
1352 (print_insn_arm): Support for operand type q with no shift decode.
1354 2007-04-21 Alan Modra <amodra@bigpond.net.au>
1356 * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
1358 (i386_regtab): ..here.
1359 * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
1361 * ppc-opc.c (powerpc_operands): Delete duplicate entries.
1362 (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
1363 (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
1364 (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
1366 2007-04-20 Nathan Sidwell <nathan@codesourcery.com>
1368 * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
1371 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1373 * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
1375 * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
1376 in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove
1377 references to following deleted functions.
1378 (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
1379 (insert_ds, extract_ds, insert_de, extract_de): Delete.
1380 (insert_des, extract_des, insert_li, extract_li): Delete.
1381 (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
1382 (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
1383 (num_powerpc_operands): New constant.
1384 (XSPRG_MASK): Remove entire SPRG field.
1385 (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
1387 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1389 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
1391 (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
1393 2007-04-20 Richard Earnshaw <rearnsha@arm.com>
1395 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
1398 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1400 * Makefile.am: Run "make dep-am".
1401 * Makefile.in: Regenerate.
1402 * po/POTFILES.in: Regenerate.
1404 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1406 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
1407 db10cyc, db12cyc, db16cyc.
1409 2007-04-19 Nathan Froyd <froydnj@codesourcery.com>
1411 * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
1413 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1415 * i386-dis.c (CRC32_Fixup): New.
1416 (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
1418 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
1419 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1420 (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
1421 PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
1422 (three_byte_table): Likewise.
1424 * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
1426 * i386-opc.h (CpuSSE4_2): New.
1427 (CpuSSE4): Likewise.
1428 (CpuUnknownFlags): Add CpuSSE4_2.
1430 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1432 * i386-dis.c (XMM_Fixup): New.
1438 (PREGRP39 ... PREGRP85): New.
1439 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
1440 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1441 (prefix_user_table): Add PREGRP39 ... PREGRP85.
1442 (three_byte_table): Likewise.
1443 (putop): Handle 'K'.
1444 (intel_operand_size): Handle dqb_mode, dqd_mode):
1448 * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
1450 * i386-opc.h (CpuSSE4_1): New.
1451 (CpuUnknownFlags): Add CpuSSE4_1.
1452 (regKludge): Update comment.
1454 2007-04-18 Matthias Klose <doko@ubuntu.com>
1456 * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
1457 * Makefile.in: Regenerate.
1459 2007-04-14 Steve Ellcey <sje@cup.hp.com>
1461 * Makefile.am: Add ACLOCAL_AMFLAGS.
1462 * Makefile.in: Regenerate.
1464 2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
1466 * i386-dis.c: Remove trailing white spaces.
1467 * i386-opc.c: Likewise.
1468 * i386-opc.h: Likewise.
1470 2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
1473 * i386-dis.c (GRP1a): New.
1474 (GRP1b ... GRPPADLCK2): Update index.
1475 (dis386): Use GRP1a for entry 0x8f.
1476 (mod, rm, reg): Removed. Replaced by ...
1480 2007-04-09 Kazu Hirata <kazu@codesourcery.com>
1482 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
1483 info->print_address_func if longjmp is called.
1485 2007-03-29 DJ Delorie <dj@redhat.com>
1487 * m32c-desc.c: Regenerate.
1488 * m32c-dis.c: Regenerate.
1489 * m32c-opc.c: Regenerate.
1491 2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
1493 * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
1494 movq. Remove InvMem from sldt, smsw and str.
1496 * i386-opc.h (InvMem): Renamed to ...
1497 (RegMem): Update comments.
1498 (AnyMem): Remove InvMem.
1500 2007-03-27 Paul Brook <paul@codesourcery.com>
1502 * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
1504 2007-03-24 Paul Brook <paul@codesourcery.com>
1506 * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
1507 (print_insn_coprocessor): Handle %<bitfield>x.
1509 2007-03-24 Paul Brook <paul@codesourcery.com>
1510 Mark Shinwell <shinwell@codesourcery.com>
1512 * arm-dis.c (arm_opcodes): Print SRS base register.
1514 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
1516 * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
1518 * i386-opc.c (i386_optab): Add rex.wrxb.
1520 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1522 * i386-dis.c (REX_MODE64): Remove definition.
1523 (REX_EXTX): Likewise.
1524 (REX_EXTY): Likewise.
1525 (REX_EXTZ): Likewise.
1526 (USED_REX): Use REX_OPCODE instead of 0x40.
1527 Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
1528 REX_R, REX_X and REX_B respectively.
1530 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1533 * i386-dis.c (PREGRP38): New.
1534 (dis386): Use PREGRP38 for 0x90.
1535 (prefix_user_table): Add PREGRP38.
1536 (print_insn): Set uses_REPZ_prefix to 1 for pause.
1537 (NOP_Fixup1): Properly handle REX bits.
1538 (NOP_Fixup2): Likewise.
1540 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
1541 Allow register with nop.
1543 2007-03-20 DJ Delorie <dj@redhat.com>
1545 * m32c-asm.c: Regenerate.
1546 * m32c-desc.c: Regenerate.
1547 * m32c-desc.h: Regenerate.
1548 * m32c-dis.h: Regenerate.
1549 * m32c-ibld.c: Regenerate.
1550 * m32c-opc.c: Regenerate.
1551 * m32c-opc.h: Regenerate.
1553 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1555 * i386-opc.c: Include "libiberty.h".
1556 (i386_regtab): Remove the last entry.
1557 (i386_regtab_size): New.
1558 (i386_float_regtab_size): Likewise.
1560 * i386-opc.h (i386_regtab_size): New.
1561 (i386_float_regtab_size): Likewise.
1563 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1565 * Makefile.am (CFILES): Add i386-opc.c.
1566 (ALL_MACHINES): Add i386-opc.lo.
1568 * Makefile.in: Regenerated.
1570 * configure.in: Add i386-opc.lo for bfd_i386_arch.
1571 * configure: Regenerated.
1573 * i386-dis.c: Include "opcode/i386.h".
1574 (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
1575 (FWAIT_OPCODE): Remove definition.
1576 (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
1577 (MAX_OPERANDS): Remove definition.
1579 * i386-opc.c: New file.
1580 * i386-opc.h: Likewise.
1582 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1584 * Makefile.in: Regenerated.
1586 2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
1588 * i386-dis.c (OP_Rd): Renamed to ...
1593 2007-03-08 Alan Modra <amodra@bigpond.net.au>
1595 * fr30-asm.c: Regenerate.
1596 * frv-asm.c: Regenerate.
1597 * ip2k-asm.c: Regenerate.
1598 * iq2000-asm.c: Regenerate.
1599 * m32c-asm.c: Regenerate.
1600 * m32r-asm.c: Regenerate.
1601 * m32r-dis.c: Regenerate.
1602 * mt-asm.c: Regenerate.
1603 * mt-ibld.c: Regenerate.
1604 * mt-opc.c: Regenerate.
1605 * openrisc-asm.c: Regenerate.
1606 * xc16x-asm.c: Regenerate.
1607 * xstormy16-asm.c: Regenerate.
1609 * Makefile.am: Run "make dep-am".
1610 * Makefile.in: Regenerate.
1611 * po/POTFILES.in: Regenerate.
1613 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
1615 * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
1616 INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
1617 instruction formats added.
1618 (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
1619 MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
1621 * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
1623 * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1624 (main): z9-ec cpu type option added.
1625 * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1627 2007-02-22 DJ Delorie <dj@redhat.com>
1629 * s390-opc.c (INSTR_SS_L2RDRD): New.
1630 (MASK_SS_L2RDRD): New.
1631 * s390-opc.txt (pka): Use it.
1633 2007-02-20 Thiemo Seufer <ths@mips.com>
1634 Chao-Ying Fu <fu@mips.com>
1636 * mips-dis.c (mips_arch_choices): Add DSP R2 support.
1637 (print_insn_args): Add support for balign instruction.
1638 * mips-opc.c (D33): New shortcut for DSP R2 instructions.
1639 (mips_builtin_opcodes): Add DSP R2 instructions.
1641 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1643 * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
1644 (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
1645 * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
1646 cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
1648 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1650 * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
1651 * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
1652 (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
1655 2007-02-16 Nick Clifton <nickc@redhat.com>
1658 * avr-dis.c (comment_start): New variable, contains the prefix to
1659 use when printing addresses in comments.
1660 (print_insn_avr): Set comment_start to an empty space if there is
1661 no symbol table available as the generic address printing code
1662 will prefix the numeric value of the address with 0x.
1664 2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
1666 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
1669 2007-02-05 Dave Brolley <brolley@redhat.com>
1670 Richard Sandiford <rsandifo@redhat.com>
1671 DJ Delorie <dj@redhat.com>
1672 Graydon Hoare <graydon@redhat.com>
1673 Frank Ch. Eigler <fche@redhat.com>
1674 Ben Elliston <bje@redhat.com>
1676 * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
1677 (CFILES): Add mep-*.c
1678 (ALL_MACHINES): Add mep-*.lo.
1679 (CLEANFILES): Add stamp-mep.
1680 (CGEN_CPUS): Add mep.
1681 (MEP_DEPS): New variable.
1682 (mep-*): New targets.
1683 * configure.in: Handle bfd_mep_arch.
1684 * disassemble.c (ARCH_mep): New macro.
1685 (disassembler): Handle bfd_arch_mep.
1686 (disassemble_init_for_target): Likewise.
1687 * mep-*: New files for Toshiba Media Processor (MeP).
1688 * Makefile.in: Regenerated.
1689 * configure: Regenerated.
1691 2007-02-05 H.J. Lu <hongjiu.lu@intel.com>
1693 * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
1694 wrap around within the same segment in 16bit mode.
1696 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1698 * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
1701 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1703 * avr-dis.c (avr_operand): Correct PR number in comment.
1705 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1707 * disassemble.c (disassembler_usage): Call
1708 print_i386_disassembler_options for i386 disassembler.
1710 * i386-dis.c (print_i386_disassembler_options): New.
1711 (print_insn): Support the new addr64 option.
1713 2007-02-02 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
1715 * ppc-dis.c (powerpc_dialect): Handle ppc440.
1716 * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
1719 2007-02-02 Alan Modra <amodra@bigpond.net.au>
1721 * ppc-opc.c (insert_bdm): -Many comment.
1722 (valid_bo): Add "extract" param. Accept both powerpc and power4
1723 BO fields when disassembling with -Many.
1724 (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
1726 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
1728 * m68k-opc.c (m68k_opcodes): Replace cpu32 with
1729 cpu32 | fido_a except on tbl instructions.
1731 2007-01-04 Paul Brook <paul@codesourcery.com>
1733 * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
1735 2007-01-04 Andreas Schwab <schwab@suse.de>
1737 * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
1739 2007-01-04 Julian Brown <julian@codesourcery.com>
1741 * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
1742 vqrshl instructions.
1744 For older changes see ChangeLog-2006
1750 version-control: never