1 2007-11-01 H.J. Lu <hongjiu.lu@intel.com>
3 * i386-gen.c (opcode_modifiers): Add ByteOkIntel, ToDword,
4 ToQword and AddrPrefixOp0.
6 * i386-opc.h (ByteOkIntel): New.
9 (AddrPrefixOp0): Likewise.
11 (i386_opcode_modifier): Add byteokintel, todword, toqword
14 * i386-opc.tbl (cvtss2si): Add ToQword.
15 (cvttss2si): Likewise.
16 (cvtsd2si): Add ToDword.
17 (cvttsd2si): Likewise.
18 (monitor): Add AddrPrefixOp0.
23 (pextrb): Add ByteOkIntel.
25 * i386-tbl.h: Regenerated.
27 2007-10-31 H.J. Lu <hongjiu.lu@intel.com>
29 * i386-dis.c (USE_REG_TABLE): Defined as the previous one + 1.
30 (USE_REG_TABLE): Likewise.
31 (USE_MOD_TABLE): Likewise.
32 (USE_RM_TABLE): Likewise.
33 (USE_PREFIX_TABLE): Likewise.
34 (USE_X86_64_TABLE): Likewise.
35 (USE_3BYTE_TABLE): Likewise.
37 2007-10-26 H.J. Lu <hongjiu.lu@intel.com>
39 * i386-dis.c (MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3): New.
42 (MOD_0FE7_PREFIX_2): Likewise.
43 (MOD_0F382A_PREFIX_2): Likewise.
44 (MOD_0F71_REG_2): Updated.
45 (MOD_0FF0_PREFIX_3): Likewise.
46 (MOD_62_32BIT): Likewise.
47 (dis386_twobyte): Use MOD_0F51 and MOD_0FD7.
48 (prefix_table): Use MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
49 MOD_0FE7_PREFIX_2 and MOD_0F382A_PREFIX_2.
50 (mod_table): Add MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
51 MOD_0F51, MOD_0FD7 and MOD_0F382A_PREFIX_2.
53 2007-10-26 Nick Clifton <nickc@redhat.com>
55 * arm-dis.c (print_insn): Check for a symtab that exists but is
58 2007-10-24 Alan Modra <amodra@bigpond.net.au>
60 * po/POTFILES.in: Regenerate.
62 2007-10-23 H.J. Lu <hongjiu.lu@intel.com>
64 * i386-dis.c (OP_SIMD_Suffix): Renamed to ...
65 (CMP_Fixup): This. Rewrite.
66 (OPSIMD): Renamed to ...
68 (prefix_table): Update PREFIX_0FC2 entry.
70 2007-10-22 H.J. Lu <hongjiu.lu@intel.com>
72 * i386-dis.c (prefix_table): Reordered by opcode.
73 (mod_table): Likewise.
75 2007-10-19 H.J. Lu <hongjiu.lu@intel.com>
77 * i386-dis.c (prefix_table): Use XS on psrldq and pslldq.
79 2007-10-17 Nathan Sidwell <nathan@codesourcery.com>
81 * m68k-opc.c (m68k_opcodes): Correct move sr and ccr masks for
84 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
86 * ppc-opc.c (powerpc_opcodes): Fix the first two operands of
87 dquaiq. to use the TE and FRT macros.
89 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
91 * ppc-opc.c (TE): Correct signedness.
92 (powerpc_opcodes): Sort psq_st and psq_stu according to major
95 2007-10-15 H.J. Lu <hongjiu.lu@intel.com>
97 * i386-dis.c (dis386_twobyte): Reformat.
98 (prefix_table): Likewise.
99 (three_byte_table): Likewise.
101 2007-10-15 Alan Modra <amodra@bigpond.net.au>
103 * mcore-dis.c (print_insn_mcore): Protect "fprintf" var against
106 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
108 * i386-gen.c (opcode_modifiers): Add FirstXmm0.
110 * i386-opc.h (FirstXmm0): New.
112 (i386_opcode_modifier): Add firstxmm0.
114 * i386-opc.tbl (blendvpd): Replace RegKludge with FirstXmm0.
115 (blendvps): Likewise.
116 (pblendvb): Likewise.
117 * i386-tbl.h: Regenerated.
119 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
121 * i386-dis.c (prefix_table): Reformat pblendvb and blendvps.
123 2007-10-10 H.J. Lu <hongjiu.lu@intel.com>
125 * i386-dis.c (v_mode): Defined as previous one + 1.
132 (cond_jump_mode): Likewise.
133 (loop_jcxz_mode): Likewise.
135 (dqw_mode): Likewise.
137 (const_1_mode): Likewise.
138 (stack_v_mode): Likewise.
141 (dqb_mode): Likewise.
142 (dqd_mode): Likewise.
181 (z_mode_ax_reg): Likewise.
182 (indir_dx_reg): Likewise.
184 (DREX_NO_OC0): Likewise.
185 (DREX_MASK): Likewise.
186 (MAX_BYTEMODE): New. Issue an error if MAX_BYTEMODE is not
189 2007-10-08 H.J. Lu <hongjiu.lu@intel.com>
191 * i386-dis.c: Updated comments for 'Y'.
192 (putop): Don't add 'q' for 'Y' if suffix_always isn't true.
194 2007-10-08 Maciej W. Rozycki <macro@linux-mips.org>
196 * opcodes/mips-dis.c (mips_cp0_names_r3000): New definition.
197 (mips_cp0_names_r4000): Likewise.
198 (mips_arch_choices): Link to the above as appropriate.
200 2007-10-08 Nick Clifton <nickc@redhat.com>
202 * configure.in (SHARED_DEPENDENCIES): Change non-cygwin dependency
203 to be ../bfd/libbfd.la.
204 * configure: Regenerate.
206 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
208 * i386-dis.c (dis386_twobyte): Add getsec.
210 * i386-gen.c (cpu_flags): Add CpuSMX.
212 * i386-opc.h (CpuSMX): New.
214 (i386_cpu_flags): Add cpusmx.
216 * i386-opc.tbl: Add getsec.
217 * i386-init.h: Regenerated.
218 * i386-tbl.h: Likewise.
220 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
222 * i386-dis.c (reg_table): Use "{ XX }" on "(bad)".
223 (prefix_table): Likewise.
225 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
227 * i386-dis.c (dis386_twobyte): Use EXx instead of EXq on
228 unpckhpX and unpckhpX.
230 2007-10-04 David Daney <ddaney@avtrex.com>
232 * mips-opc.c (mips_builtin_opcodes): Mark lwxc1 as working on FP_S
235 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
237 * i386-dis.c (MOD_0F12_PREFIX_0): Use "movlps" and "movhlps"
238 instead of "movlpX" and "movhlpX", respectively.
239 (MOD_0F16_PREFIX_0): Use "movhps" and "movlhps" instead of
240 "movhpX" and "movlhpX", respectively.
242 2007-10-04 Nick Clifton <nickc@redhat.com>
244 * configure.in (WIN32LDFLAGS): Rename to SHARED_LDFLAGS.
245 (WIN32LIBADD): Rename to SHARED_LIBADD
246 (SHARED_DEPENDENCIES): New exported variable.
247 (enable_shared): Add dependency upon libbfd.la for non-cygwin
248 based shared library builds.
249 * Makefile.am (libopcodes_la_DEPENDENCIES): Append
251 (libopcodes_la_LIBADD): Rename WIN32LIBADD to SHARED_LIBADD.
252 (libopcodes_la_LDFLAGS): Rename WIN32LDFLAGS to SHARED_LDFLAGS.
253 * configure: Regenerate.
254 * Makefile.in: Regenerate.
257 * arc-opc.c (insert_offset): Fix spelling mistake in error
260 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
262 * i386-dis.c (OP_REG): Set add to 0 only when needed.
271 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
273 * i386-opc.tbl: Update SSE comments.
275 2007-10-01 H.J. Lu <hongjiu.lu@intel.com>
277 * i386-dis.c (THREE_BYTE_0FBA): Renamed to ...
278 (THREE_BYTE_0F7B): This.
279 (dis386_twobyte): Updated.
280 (three_byte_table): Updated comments.
282 2007-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
284 * cr16-opc.c: Updated the branch on condition instructions with
287 2007-09-30 H.J. Lu <hongjiu.lu@intel.com>
289 * 386-dis.c (prefix_table): Reformat comment.
291 2007-09-29 H.J. Lu <hongjiu.lu@intel.com>
293 * 386-dis.c (USE_GROUPS): Renamed to ...
294 (USE_REG_TABLE): This.
295 (USE_OPC_EXT_TABLE): Renamed to ...
296 (USE_MOD_TABLE): This.
297 (USE_OPC_EXT_RM_TABLE): Renamed to ...
298 (USE_RM_TABLE): This.
299 (USE_XXX_TABLE): Reordered.
300 (GRP): Renamed to ...
302 (OPC_EXT_TABLE): Renamed to ...
304 (OPC_EXT_RM_TABLE): Renamed to ...
306 (GRP_XXX): Renamed to ...
308 (PREGRP_XXX): Renamed to ...
310 (OPC_EXT_XXX): Renamed to ...
312 (OPC_EXT_RM_XXX): Renamed to ...
314 (grps): Renamed to ...
316 (prefix_user_table): Renamed to ...
318 (opc_ext_table): Renamed to ...
320 (opc_ext_rm_table): Renamed to ...
322 (OPC_EXT_RM_XXX): Likewise.
324 (dis386_twobyte): Likewise.
325 (reg_table): Likewise.
326 (prefix_table): Likewise.
327 (x86_64_table): Likewise.
328 (three_byte_table): Likewise.
329 (mod_table): Likewise.
330 (rm_table): Likewise.
331 (get_valid_dis386): Likewise.
333 2007-09-28 H.J. Lu <hongjiu.lu@intel.com>
335 * 386-dis.c (USE_PREFIX_USER_TABLE): Renamed to ...
336 (USE_PREFIX_TABLE): This.
337 (X86_64_SPECIAL): Renamed to ...
338 (USE_X86_64_TABLE): This.
339 (IS_3BYTE_OPCODE): Renamed to ...
340 (USE_3BYTE_TABLE): This.
342 (PREGRPXXX): Likewise.
343 (X86_64_XXX): Likewise.
344 (THREE_BYTE_XXX): Likewise.
345 (OPC_EXT_XXX): Likewise.
346 (OPC_EXT_RM_XXX): Likewise.
350 (X86_64_TABLE): Likewise.
351 (THREE_BYTE_TABLE): Likewise.
352 (OPC_EXT_TABLE): Likewise.
353 (OPC_EXT_RM_TABLE): Likewise.
355 (PREGRP_XXX): Likewise.
356 (X86_64_XXX): Likewise.
357 (THREE_BYTE_XXX): Likewise.
358 (OPC_EXT_XXX): Likewise.
359 (OPC_EXT_RM_XXX): Likewise.
361 (dis386_twobyte): Likewise.
363 (prefix_user_table): Likewise.
364 (x86_64_table): Likewise.
365 (three_byte_table): Likewise.
366 (opc_ext_table): Likewise.
367 (opc_ext_rm_table): Likewise.
368 (get_valid_dis386): Likewise.
370 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
372 * i386-dis.c (dis386): Swap X86_64_27 with OPC_EXT_2.
373 (x86_64_table): Likewise.
374 (opc_ext_table): Likewise.
376 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
379 * i386-dis.c: Update comments on '{', '}' and '|' to support
380 only AT&T and Intel modes.
381 (X86_64_4...X86_64_27): New.
382 (dis386): Updated. Use X86_64_4...X86_64_21.
383 (dis386_twobyte): Updated.
384 (float_mem): Likewise.
385 (x86_64_table): Add X86_64_4...X86_64_27.
386 (opc_ext_table): Updated. Use X86_64_22...X86_64_27.
387 (putop): Updated handling of '{', '}' and '|' to support only
388 AT&T and Intel modes.
390 2007-09-27 Kazu Hirata <kazu@codesourcery.com>
392 * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb.
394 2007-09-26 James E. Wilson <wilson@specifix.com>
396 * ia64-gen.c (print_dependency_table): Fix typo in last patch.
398 2007-09-26 Nick Clifton <nickc@redhat.com>
400 * mt-asm.c (parse_imm16): Reword error message in order to allow
401 it to be translated properly.
402 * ia64-gen.c (print_dependency_table): Likewise.
403 * mips-dis.c (print_insn_args): Likewise.
405 2007-09-26 Jan Beulich <jbeulich@novell.com>
407 * i386-dis.c (OP_E_extended): Distinguish rip- and eip-
408 relative addressing. Update used_prefixes based on whether any
409 base or index register was printed.
411 2007-09-26 Jan Beulich <jbeulich@novell.com>
413 * i386-opc.h (RegEip): Define.
415 * i386-reg.tbl: Add eip. Mark rip and eip with RegRex64.
416 * i386-tbl.h: Re-generate.
418 2007-09-25 H.J. Lu <hongjiu.lu@intel.com>
420 * i386-gen.c (process_i386_opcodes): Process opcode_length.
422 * i386-opc.h (template): Add opcode_length.
423 * 386-opc.tbl: Likewise.
424 * i386-tbl.h: Regenerated.
426 2007-09-21 H.J. Lu <hongjiu.lu@intel.com>
428 * i386-opc.h: Adjust whitespaces.
430 2007-09-21 Dave Brolley <brolley@redhat.com>
432 * mep-desc.c: Regenerated.
434 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
436 * i386-dis.c (OP_E_extended): Display eiz for [eiz*1 + offset].
438 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
441 * 386-dis.c (index64): New.
443 (intel_index64): Likewise.
444 (intel_index32): Likewise.
445 (att_index64): Likewise.
446 (att_index32): Likewise.
447 (print_insn): Set index64 and index32.
448 (OP_E_extended): Use index64/index32 for index register for
451 * i386-opc.h (RegEiz): New.
454 * i386-reg.tbl: Add eiz and riz.
455 * i386-tbl.h: Regenerated.
457 2007-09-19 H.J. Lu <hongjiu.lu@intel.com>
459 * i386-dis.c (OP_E_extended): Always display scale for memory.
461 2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
463 * i386-opc.h (RegRip): New.
465 * i386-reg.tbl (rip): Use RegRip for reg_num.
466 * i386-tbl.h: Regenerated.
468 2007-09-17 Nick Clifton <nickc@redhat.com>
470 * po/es.po: Updated Spanish translation.
472 2007-09-14 H.J. Lu <hongjiu.lu@intel.com>
474 * Makefile.am: Run "make dep-am".
475 * Makefile.in: Regenerate.
477 2007-09-14 Michael Meissner <michael.meissner@amd.com>
478 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
479 Tony Linthicum <tony.linthicum@amd.com>
481 * i386-opc.h (CpuSSE5): New macro.
482 (i386_cpu_flags): Add Drex, Drexv and Drexc.
484 * i386-gen.c (cpu_flag_init): Add CPU_SSE5_FLAGS.
485 (operand_type_init): Add CpuSSE5.
486 (opcode_modifiers): Add Drex, Drexv and Drexc.
487 (i386_opcode_modifier): Ditto.
489 * i386-opc.tbl (fmaddps,fmaddpd,fmaddss,fmaddsd): Define SSE5
491 (fmsubps,fmsubpd,fmsubss,fmsubsd): Ditto.
492 (fnmaddps,fnmaddpd,fnmaddss,fnmaddsd): Ditto.
493 (fnmsubps,fnmsubpd,fnmsubss,fnmsubsd): Ditto.
494 (pmacssww,pmacsww,pmacsswd,pmacswd): Ditto.
495 (pmacssdd,pmacsdd,pmacssdql,pmacssdqh): Ditto.
496 (pmacsdql,pmacsdqh,pmadcsswd,pmadcswd): Ditto.
497 (phaddbw,phaddbd,phaddbq,phaddwd): Ditto.
498 (phaddwq,phadddq,phaddubw,phaddubd): Ditto.
499 (phaddubq,phadduwd,phadduwq,phaddudq): Ditto.
500 (phsubbw,phsubwd,phsubdq): Ditto.
501 (pcmov,pperm,permps,permpd): Ditto.
502 (protb,protw,protd,protq): Ditto.
503 (pshlb,pshlw,pshld,pshlq): Ditto.
504 (pshab,pshaw,pshad,pshaq): Ditto.
505 (comps,comeqps,comltps,comungeps,comleps,comungtps): Ditto.
506 (comunordps,comneps,comneqps,comnltps,comugeps): Ditto.
507 (comnleps,comugtps,comordps,comueqps,comultps): Ditto.
508 (comngeps,comuleps,comngtps,comfalseps,comuneps): Ditto.
509 (comuneqps,comunltps,comgeps,comunleps,comgtps,comtrueps): Ditto.
510 (compd,comeqpd,comltpd,comungepd,comlepd,comungtpd,comunordpd): Ditto.
511 (comnepd,comneqpd,comnltpd,comugepd,comnlepd,comugtpd): Ditto.
512 (comordpd,comueqpd,comultpd,comngepd,comulepd,comngtpd): Ditto.
513 (comfalsepd,comunepd,comuneqpd,comunltpd,comgepd): Ditto.
514 (comunlepd,comgtpd,comtruepd): Ditto.
515 (comss,comeqss,comltss,comungess,comless,comungtss,comunordss): Ditto.
516 (comness,comneqss,comnltss,comugess,comnless,comugtss): Ditto.
517 (comordss,comueqss,comultss,comngess,comuless,comngtss): Ditto.
518 (comfalsess,comuness,comuneqss,comunltss,comgess): Ditto.
519 (comunless,comgtss,comtruess): Ditto.
520 (comsd,comeqsd,comltsd,comungesd,comlesd,comungtsd,comunordsd): Ditto.
521 (comnesd,comneqsd,comnltsd,comugesd,comnlesd,comugtsd): Ditto.
522 (comordsd,comueqsd,comultsd,comngesd,comulesd,comngtsd): Ditto.
523 (comfalsesd,comunesd,comuneqsd,comunltsd,comgesd): Ditto.
524 (comunlesd,comgtsd,comtruesd): Ditto.
525 (pcomub,pcomltub,pcomleub,pcomgtub,pcomgeub,pcomequb): Ditto.
526 (pcomnequb,pcomneub): Ditto.
527 (pcomuw,pcomltuw,pcomleuw,pcomgtuw,pcomgeuw,pcomequw): Ditto.
528 (pcomnequw,pcomneuw): Ditto.
529 (pcomud,pcomltud,pcomleud,pcomgtud,pcomgeud,pcomequd): Ditto.
530 (pcomnequd,pcomneud): Ditto.
531 (pcomuq,pcomltuq,pcomleuq,pcomgtuq,pcomgeuq,pcomequq): Ditto.
532 (pcomnequq,pcomneuq): Ditto.
533 (pcomb,pcomltb,pcomleb,pcomgtb,pcomgeb,pcomeqb): Ditto.
534 (pcomneqb,pcomneb): Ditto.
535 (pcomw,pcomltw,pcomlew,pcomgtw,pcomgew,pcomeqw): Ditto.
536 (pcomneqw,pcomnew): Ditto.
537 (pcomd,pcomltd,pcomled,pcomgtd,pcomged,pcomeqd): Ditto.
538 (pcomneqd,pcomned): Ditto.
539 (pcomq,pcomltq,pcomleq,pcomgtq,pcomgeq): Ditto.
540 (pcomeqq,pcomneqq,pcomneq): Ditto.
541 (pcomtrueb, pcomtruew, pcomtrued, pcomtrueq): Ditto.
542 (pcomtrueub, pcomtrueuw, pcomtrueud, pcomtrueuq): Ditto.
543 (pcomfalseb, pcomfalsew, pcomfalsed, pcomfalseq): Ditto.
544 (pcomfalseub, pcomfalseuw, pcomfalseud, pcomfalseuq): Ditto.
545 (frczps,frczpd,frczss,frczsd): Ditto.
546 (cvtph2ps,cvtps2ph): Ditto.
548 * i386-tbl.h: Regenerate from i386-opc.tbl.
549 * i386-init.h: Likewise.
551 * i386-dis.c (libiberty.h): Include to get ARRAY_SIZE.
552 (dis386_move_test): New disassembly support for move from test
553 register instruction that overlaps with SSE5 instructions.
554 (print_insn): Add support for special casing the i386/i486 move
555 from test register instruction that overlaps with the SSE5
556 0x0f24 4 operand instructions.
557 (OP_DREX_ICMP): New macros for SSE5 DREX handling.
558 (OP_DREX_FCMP): Ditto.
559 (OP_E_extended): Rename from OP_E, add additional argument to skip
561 (OP_E): Call OP_E_extended.
562 (DREX_REG_MEMORY): New macros for drex handling.
563 (DREX_REG_UNKNOWN): Ditto.
565 (DREX4_NO_OC0): Ditto.
567 (three_byte_table): Add SSE5 instructions.
568 (print_drex_arg): New function to print a DREX register or memory
570 (OP_DREX4): New function for handling DREX 4 argument ops.
571 (OP_DREX3): New function for handling DREX 3 argument ops.
572 (twobyte_has_modrm): 0f{25,7a,7b} all use the modrm byte.
573 (THREE_BYTE_SSE5_0F{24,25,7A,7B}): New macros for initializing 3
574 byte opcode support for SSE5 instructions.
575 (dis386_twobyte): Add SSE5 24/25/7a/7b support.
576 (three_byte_table): Add rows for describing SSE5 instructions.
578 2007-09-13 H.J. Lu <hongjiu.lu@intel.com>
580 * i386-dis.c (get_valid_dis386): Take a pointer to
581 disassemble_info. Handle IS_3BYTE_OPCODE.
582 (print_insn): Updated. Don't handle IS_3BYTE_OPCODE here.
584 2007-09-12 H.J. Lu <hongjiu.lu@intel.com>
586 * i386-opc.h (CpuUnused): Defined with CpuMax.
587 (OTUnused): Defined with OTMax.
589 2007-09-12 Jan Beulich <jbeulich@novell.com>
591 * i386-opc.tbl: Add two-operand forms of blendvps, blendvpd, and
593 * i386-tbl.h: Regenerate.
595 2007-09-09 H.J. Lu <hongjiu.lu@intel.com>
597 * i386-gen.c (main): Remove the local variable, unused.
599 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
601 * Makefile.am: Run "make dep-am".
602 * Makefile.in: Regenerate.
604 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
606 * configure.in (AC_CHECK_HEADERS): Add limits.h.
607 * configure: Regenerated.
608 * config.in: Likewise.
610 * i386-gen.c: Include "sysdep.h" instead of <stdlib.h> and
611 <string.h>. Use xstrerror instead of strerror.
613 (cpu_flag_init): Likewise.
614 (bitfield): Likewise.
616 (cpu_flags): Likewise.
617 (opcode_modifiers): Likewise.
618 (operand_types): Likewise.
620 (set_cpu_flags): Likewise.
621 (output_cpu_flags): Likewise.
622 (process_i386_cpu_flags): Likewise.
623 (output_opcode_modifier): Likewise.
624 (process_i386_opcode_modifier): Likewise.
625 (output_operand_type): Likewise.
626 (process_i386_operand_type): Likewise.
627 (set_bitfield): Likewise.
628 (operand_type_init): Likewise.
629 (process_i386_initializers): Likewise.
630 (process_i386_opcodes): Call process_i386_opcode_modifier to
631 process opcode_modifier. Call process_i386_operand_type to
632 process operand_types.
633 (process_i386_registers): Call process_i386_operand_type to
635 (main): Check unused bits in i386_cpu_flags and i386_operand_type.
636 Sort cpu_flags, opcode_modifiers and operand_types. Call
637 process_i386_initializers.
640 * i386-tbl.h: Regenerated.
642 * i386-opc.h: Include <limits.h>.
643 (CHAR_BIT): Define as 8 if not defined.
644 (Cpu186): Changed to position of bitfiled.
657 (Cpu3dnow): Likewise.
658 (Cpu3dnowA): Likewise.
660 (CpuPadLock): Likewise.
663 (CpuSSSE3): Likewise.
664 (CpuSSE4a): Likewise.
666 (CpuSSE4_1): Likewise.
667 (CpuSSE4_2): Likewise.
673 (ShortForm): Likewise.
675 (JumpDword): Likewise.
676 (JumpByte): Likewise.
677 (JumpInterSegment): Likewise.
684 (IgnoreSize): Likewise.
685 (DefaultSize): Likewise.
693 (IsString): Likewise.
694 (RegKludge): Likewise.
695 (IsPrefix): Likewise.
704 (FloatReg): Likewise.
714 (BaseIndex): Likewise.
720 (InOutPortReg): Likewise.
721 (ShiftCount): Likewise.
728 (FloatAcc): Likewise.
729 (JumpAbsolute): Likewise.
733 (Reg): Commented out.
735 (ImplicitRegister): Likewise.
740 (LLongMem): Likewise.
742 (ShortMem): Likewise.
747 (CpuNumOfUints): Likewise.
748 (CpuNumOfBits): Likewise.
749 (CpuUnused): Likewise.
750 (OTNumOfUints): Likewise.
751 (OTNumOfBits): Likewise.
752 (OTUnused): Likewise.
753 (i386_cpu_flags): New type.
754 (i386_operand_type): Likewise.
755 (i386_opcode_modifier): Likewise.
756 (CpuSledgehammer): Removed.
758 (CpuUnknownFlags): Likewise.
761 (ImplicitRegister): Likewise.
766 (LLongMem): Likewise.
768 (ShortMem): Likewise.
771 (template): Use i386_cpu_flags for cpu_flags, use
772 i386_opcode_modifier for opcode_modifier, use
773 i386_operand_type for operand_types.
774 (reg_entry): Use i386_operand_type for reg_type.
776 * Makefile.am (HFILES): Add i386-init.h.
777 ($(srcdir)/i386-init.h): New rule.
778 ($(srcdir)/i386-tbl.h): Depend on $(srcdir)/i386-init.h
780 * Makefile.in: Regenerated.
782 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
784 * i386-gen.c (next_field): Updated to take a separator.
785 (process_i386_opcodes): Updated.
786 (process_i386_registers): Likewise.
788 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
790 * i386-gen.c (table): Moved ...
791 (main): Here. Call process_copyright to output copyright.
792 (process_copyright): New.
793 (process_i386_opcodes): Take FILE *table.
794 (process_i386_registers): Likewise.
796 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
798 * i386-gen.c (table): New.
799 (process_i386_opcodes): Report errno when faied to open
800 i386-opc.tbl. Output opcodes to table. Close i386-opc.tbl
802 (process_i386_registers): Report errno when faied to open
803 i386-reg.tbl. Output opcodes to table. Close i386-reg.tbl
805 (main): Open i386-tbl.h for output.
807 * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@".
808 * Makefile.in: Regenerated.
810 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
812 * i386-opc.tbl: Correct SVME instructions to allow 32bit register
813 operand in 64bit mode.
814 * i386-tbl.h: Regenerated.
816 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
818 * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
819 (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
820 (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
822 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
824 * i386-dis.c (SVME_Fixup): Removed.
826 (OPC_EXT_RM_6): Likewise.
827 (grps): Use OPC_EXT_39.
828 (opc_ext_table): Add OPC_EXT_39.
829 (opc_ext_rm_table): Add OPC_EXT_RM_6.
831 * i386-opc.tbl: Correct SVME instructions to take register
833 * i386-tbl.h: Regenerated.
835 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
837 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
838 * Makefile.in: Regenerated.
840 * configure.in (AC_GNU_SOURCE): Added.
841 (AC_PROG_CC): Moved before AC_GNU_SOURCE.
842 (AC_CHECK_DECLS): Add stpcpy.
843 * configure: Regenerated.
844 * config.in: Likewise.
846 * i386-dis.c: Include "sysdep.h" before "dis-asm.h".
848 * sysdep.h (stpcpy): New.
850 2007-08-30 H.J. Lu <hongjiu.lu@intel.com>
852 * i386-dis.c (INVLPG_Fixup): Removed.
854 (OPC_EXT_RM_5): Likewise.
855 (grps): Use OPC_EXT_38.
856 (opc_ext_table): Add OPC_EXT_38.
857 (opc_ext_rm_table): Add OPC_EXT_RM_5.
859 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
861 * i386-dis.c (SIMD_Fixup): Removed.
862 (OPC_EXT_34...OPC_EXT_37): New.
863 (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
864 (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
865 (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
867 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
869 * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
870 (dis386): Use OPC_EXT_0...OPC_EXT_2.
871 (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
872 (grps): Updated to use OPC_EXT_6...OPC_EXT_31.
873 (prefix_user_table): Use OPC_EXT_32.
874 (x86_64_table): Use OPC_EXT_33.
875 (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
877 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
879 * i386-dis.c (prefix_user_table): Fix comment.
881 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
883 * i386-dis.c (OP_Skip_MODRM): New.
884 (OP_Monitor): Likewise.
885 (OP_Mwait): Likewise.
887 (Skip_MODRM): Likewise.
888 (USE_OPC_EXT_TABLE): Likewise.
889 (USE_OPC_EXT_RM_TABLE): Likewise.
890 (PREGRP98...PREGRP100): Likewise.
891 (OPC_EXT_0...OPC_EXT_24): Likewise.
892 (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
893 (lock_prefix): Likewise.
894 (data_prefix): Likewise.
895 (addr_prefix): Likewise.
896 (repz_prefix): Likewise.
897 (repnz_prefix): Likewise.
898 (opc_ext_table): Likewise.
899 (opc_ext_rm_table): Likewise.
900 (get_valid_dis386): Likewise.
903 (PNI_Fixup): Likewise.
904 (VMX_Fixup): Likewise.
906 (twobyte_uses_DATA_prefix): Likewise.
907 (twobyte_uses_REPNZ_prefix): Likewise.
908 (twobyte_uses_REPZ_prefix): Likewise.
909 (threebyte_0x38_uses_DATA_prefix): Likewise.
910 (threebyte_0x38_uses_REPNZ_prefix): Likewise.
911 (threebyte_0x38_uses_REPZ_prefix): Likewise.
912 (threebyte_0x3a_uses_DATA_prefix): Likewise.
913 (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
914 (threebyte_0x3a_uses_REPZ_prefix): Likewise.
915 (grps): Use OPC_EXT_0...OPC_EXT_24.
916 (prefix_user_table): Add PREGRP98...PREGRP100.
917 (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
918 uses_REPNZ_prefix and uses_REPZ_prefix. Initialize
919 repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
920 data_prefix based on prefixes. Call get_valid_dis386 to
921 get a pointer to the valid dis386. Print out prefixes if
923 (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
924 (REP_Fixup): Set repz_prefix to "rep " when seeing
927 2007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
929 * po/nl.po: Updated translation.
931 2007-08-28 H.J. Lu <hongjiu.lu@intel.com>
933 * i386-dis.c (Md): New.
934 (grps): Use 0 on invlpg. Use M on fxsave and fxrstor. Use
935 Md on ldmxcsr and stmxcsr. Use b_mode on clflush.
936 (OP_0fae): Clear bytemode for sfence.
938 2007-08-22 Ben Elliston <bje@au.ibm.com>
940 * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
941 (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
943 (powerpc_opcodes): Add all pair singles instructions.
944 * ppc-dis.c (powerpc_dialect): Handle "ppcps".
945 (print_ppc_disassembler_options): Document -Mppcps.
947 2007-08-21 Andreas Krebbel <krebbel1@de.ibm.com>
949 * s390-mkopc.c (struct s390_cond_ext_format): New global struct.
950 (s390_cond_ext_format): New global variable.
951 (expandConditionalJump): New function.
952 (main): Invoke expandConditionalJump for mnemonics containing '*'.
953 * s390-opc.txt: Replace mnemonics with conditional
954 mask extensions with instructions using the newly introduced '*' tag.
956 2007-08-17 Alan Modra <amodra@bigpond.net.au>
958 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
960 2007-08-10 Nick Clifton <nickc@redhat.com>
962 * po/fi.po: Updated Finnish translation.
963 * po/ga.po: Updated Irish translation.
964 * po/vi.po: Updated Vietnamese translation.
966 2007-08-09 H.J. Lu <hongjiu.lu@intel.com>
968 * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
969 pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
970 * i386-tbl.h: Regenerated.
972 2007-08-03 James E. Wilson <wilson@specifix.com>
974 * ia64-gen.c: (main): Add missing newline to copyright message.
975 * ia64-ic.tbl (fp-non-arith): Add xmpy.
976 * ia64-asmtab.c: Regenerate.
978 2007-08-01 Michael Snyder <msnyder@access-company.com>
980 * i386-dis.c (print_insn): Guard against NULL.
982 2007-07-29 H.J. Lu <hongjiu.lu@intel.com>
985 * i386-dis.c (EXw): New.
986 (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
987 instructions when appropriated.
989 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
992 * i386-dis.c (Eq): New.
993 (EMC): Renamed to ...
994 (EMCq): This. Use q_mode instead of v_mode.
995 (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
998 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
1000 * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
1001 (prefix_user_table): Likewise. Use EXq instead of EXx on
1004 2007-07-27 Nathan Sidwell <nathan@codesourcery.com>
1006 * ppc-opc (PPC7450): New.
1007 (powerpc_opcodes): Use it in dcba.
1009 2007-07-24 H.J. Lu <hongjiu.lu@intel.com>
1011 * i386-gen.c (main): Print a newline after copyright notice.
1013 2007-07-19 Nick Clifton <nickc@redhat.com>
1016 * maxq-dis.c (get_reg_name): Fix the scan of the
1017 mem_access_syntax_table.
1019 2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
1021 * i386-dis.c (EMq): Removed.
1023 (prefix_user_table): Replace EMq with EMx.
1025 2007-07-16 Nick Clifton <nickc@redhat.com>
1027 * po/nl.po: Updated translation.
1029 2007-07-12 Nick Clifton <nickc@redhat.com>
1031 * po/vi.po: Updated translation.
1032 * po/nl.po: Updated translation.
1034 2007-07-06 Mark Kettenis <kettenis@gnu.org>
1035 H.J. Lu <hongjiu.lu@intel.com>
1037 * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
1038 (ia64-asmtab.c): Likewise.
1039 * Makefile.in: Regenerate.
1041 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
1043 * aclocal.m4: Regenerated.
1045 2007-07-04 Nick Clifton <nickc@redhat.com>
1047 * alpha-dis.c: Update copyright notice to refer to GPLv3.
1048 * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h,
1049 arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c,
1050 cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in,
1051 cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c,
1052 cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c,
1053 d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c,
1054 dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c,
1055 h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c,
1056 i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c,
1057 ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c,
1058 ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c,
1059 ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c,
1060 m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c,
1061 m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c,
1062 mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c,
1063 mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c,
1064 or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c,
1065 ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c,
1066 score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h,
1067 sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c,
1068 spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c,
1069 tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c,
1070 vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c,
1071 z8k-dis.c, z8kgen.c: Likewise.
1072 * i386-opc.tbl, i386-reg.tbl: Add copyright notice.
1073 * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h,
1074 fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c,
1075 frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c,
1076 frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c,
1077 ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h,
1078 iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c,
1079 iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c,
1080 m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c,
1081 m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
1082 m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c,
1083 mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c,
1084 mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c,
1085 mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c,
1086 openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c,
1087 openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h,
1088 xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h,
1089 xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h,
1090 xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c,
1091 xstormy16-opc.h, z8k-opc.h: Regenerated
1093 2007-07-04 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1095 * cr16-dis.c (getcinvstring): Add const qualifier to char *
1097 (print_insn_cr16): Remove cast to char *.
1099 2007-07-03 Nathan Sidwell <nathan@codesourcery.com>
1101 * m68k-dis.c (fetch_arg): Add E. Replace length switch with
1103 (print_ins_arg): Add j & K operand types.
1104 (match_insn_m68k): Check and skip initial '.' arg character.
1105 (m68k_scan_mask): Likewise.
1106 * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
1108 2007-07-02 Alan Modra <amodra@bigpond.net.au>
1110 * Makefile.am: Run "make dep-am".
1111 * Makefile.in: Regenerate.
1112 * aclocal.m4: Regenerate.
1113 * config.in: Regenerate.
1114 * po/POTFILES.in: Regenerate.
1115 * po/opcodes.pot: Regenerate.
1117 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
1119 * aclocal.m4: Regenerated.
1120 * Makefile.in: Likewise.
1122 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
1124 * i386-reg.tbl: Remove spaces before comments.
1126 2007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1128 * cr16-opc.c: New file.
1129 * cr16-dis.c: New file.
1130 * Makefile.am: Entries for cr16.
1131 * Makefile.in: Regenerate.
1132 * cofigure.in: Add cr16 target information.
1133 * configure : Regenerate.
1134 * disassemble.c: Add cr16 target information.
1136 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
1138 * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
1139 (CFILES): Add i386-gen.c.
1140 (i386-gen): New rule.
1141 (i386-gen.o): Likewise.
1142 (i386-tbl.h): Likewise.
1144 * Makefile.in: Regenerated.
1146 * i386-gen.c: New file.
1147 * i386-opc.tbl: Likewise.
1148 * i386-reg.tbl: Likewise.
1149 * i386-tbl.h: Likewise.
1151 * i386-opc.c: Include "i386-tbl.h".
1152 (i386_optab): Removed.
1153 (i386_regtab): Likewise.
1154 (i386_regtab_size): Likewise.
1156 2007-06-26 Paul Brook <paul@codesourcery.com>
1158 * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
1160 2007-06-25 H.J. Lu <hongjiu.lu@intel.com>
1162 * i386-opc.h (regKludge): Renamed to ...
1165 * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
1167 2007-06-23 H.J. Lu <hongjiu.lu@intel.com>
1170 * i386-dis.c (EX): Removed.
1176 (PREGRP93...PREGRP97): Likewise.
1177 (dis386_twobyte): Updated.
1178 (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
1179 (OP_EX): Remove Intel syntax handling.
1181 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
1183 * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
1185 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
1187 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
1189 * acinclude.m4: Removed.
1191 * Makefile.in: Regenerated.
1192 * doc/Makefile.in: Likewise.
1193 * aclocal.m4: Likewise.
1194 * configure: Likewise.
1196 2007-06-05 Paul Brook <paul@codesourcery.com>
1198 * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
1200 2007-05-24 Steve Ellcey <sje@cup.hp.com>
1202 * Makefile.in: Regnerate.
1203 * configure: Regenerate.
1204 * aclocal.m4: Regenerate.
1206 2007-05-18 Alan Modra <amodra@bigpond.net.au>
1208 * ppc-dis.c (print_insn_powerpc): Don't skip all operands
1209 after setting skip_optional.
1211 2007-05-16 Peter Bergner <bergner@vnet.ibm.com>
1213 * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
1214 (print_insn_powerpc): Use the new operand_value_powerpc and
1215 skip_optional_operands functions to omit or print all optional
1216 operands as a group.
1217 * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
1218 (XFL_MASK): Delete L and W bits from the mask.
1219 (mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK
1220 with XWRA_MASK. Use W.
1221 (mtfsf, mtfsf.): Use XFL_L and W.
1223 2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
1226 * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
1228 2007-05-10 H.J. Lu <hongjiu.lu@intel.com>
1230 * i386-opc.h (ShortForm): Redefined.
1232 (JumpDword): Likewise.
1233 (JumpByte): Likewise.
1234 (JumpInterSegment): Likewise.
1235 (FloatMF): Likewise.
1241 (IgnoreSize): Likewise.
1242 (DefaultSize): Likewise.
1243 (No_bSuf): Likewise.
1244 (No_wSuf): Likewise.
1245 (No_lSuf): Likewise.
1246 (No_sSuf): Likewise.
1247 (No_qSuf): Likewise.
1248 (No_xSuf): Likewise.
1250 (IsString): Likewise.
1251 (regKludge): Likewise.
1252 (IsPrefix): Likewise.
1254 (NoRex64): Likewise.
1258 2007-05-07 H.J. Lu <hongjiu.lu@intel.com>
1260 * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
1261 for some SSE4 instructions.
1262 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1264 2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
1266 * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
1268 * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
1271 2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
1273 * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
1274 check data size prefix in 16bit mode.
1276 * i386-opc.c (i386_optab): Default crc32 to non-8bit and
1279 2007-04-30 Mark Salter <msalter@redhat.com>
1281 * frv-desc.c: Regenerate.
1282 * frv-desc.h: Regenerate.
1284 2007-04-30 Alan Modra <amodra@bigpond.net.au>
1287 * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
1289 2007-04-27 H.J. Lu <hongjiu.lu@intel.com>
1291 * i386-dis.c (modrm): Put reg before rm.
1293 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1296 * i386-dis.c (print_displacement): New.
1297 (OP_E): Call print_displacement instead of print_operand_value
1298 to output displacement when either base or index exist. Print
1299 the explicit zero displacement in 16bit mode.
1301 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1304 * i386-dis.c (print_insn): Also swap the order of op_riprel
1305 when swapping op_index. Break when the RIP relative address
1307 (OP_E): Properly handle RIP relative addressing and print the
1308 explicit zero displacement for Intel mode.
1310 2007-04-27 Alan Modra <amodra@bigpond.net.au>
1312 * Makefile.am: Run "make dep-am".
1313 * Makefile.in: Regenerate.
1314 * ns32k-dis.c: Include sysdep.h first.
1316 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
1318 * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
1320 * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
1322 2007-04-24 Nick Clifton <nickc@redhat.com>
1324 * arm-dis.c (print_insn): Initialise type.
1326 2007-04-24 Alan Modra <amodra@bigpond.net.au>
1328 * cgen-types.h: Include bfd_stdint.h, not stdint.h.
1329 * Makefile.am: Run "make dep-am".
1330 * Makefile.in: Regenerate.
1332 2007-04-23 Nathan Sidwell <nathan@codesourcery.com>
1334 * m68k-opc.c: Mark mcfisa_c instructions.
1336 2007-04-21 Richard Earnshaw <rearnsha@arm.com>
1338 * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
1339 (thumb_opcodes): Add missing white space in adr.
1340 (arm_decode_shift): New parameter, print_shift. Only decode the
1341 shift parameter if set. Adjust callers.
1342 (print_insn_arm): Support for operand type q with no shift decode.
1344 2007-04-21 Alan Modra <amodra@bigpond.net.au>
1346 * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
1348 (i386_regtab): ..here.
1349 * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
1351 * ppc-opc.c (powerpc_operands): Delete duplicate entries.
1352 (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
1353 (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
1354 (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
1356 2007-04-20 Nathan Sidwell <nathan@codesourcery.com>
1358 * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
1361 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1363 * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
1365 * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
1366 in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove
1367 references to following deleted functions.
1368 (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
1369 (insert_ds, extract_ds, insert_de, extract_de): Delete.
1370 (insert_des, extract_des, insert_li, extract_li): Delete.
1371 (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
1372 (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
1373 (num_powerpc_operands): New constant.
1374 (XSPRG_MASK): Remove entire SPRG field.
1375 (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
1377 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1379 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
1381 (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
1383 2007-04-20 Richard Earnshaw <rearnsha@arm.com>
1385 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
1388 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1390 * Makefile.am: Run "make dep-am".
1391 * Makefile.in: Regenerate.
1392 * po/POTFILES.in: Regenerate.
1394 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1396 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
1397 db10cyc, db12cyc, db16cyc.
1399 2007-04-19 Nathan Froyd <froydnj@codesourcery.com>
1401 * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
1403 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1405 * i386-dis.c (CRC32_Fixup): New.
1406 (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
1408 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
1409 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1410 (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
1411 PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
1412 (three_byte_table): Likewise.
1414 * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
1416 * i386-opc.h (CpuSSE4_2): New.
1417 (CpuSSE4): Likewise.
1418 (CpuUnknownFlags): Add CpuSSE4_2.
1420 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1422 * i386-dis.c (XMM_Fixup): New.
1428 (PREGRP39 ... PREGRP85): New.
1429 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
1430 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1431 (prefix_user_table): Add PREGRP39 ... PREGRP85.
1432 (three_byte_table): Likewise.
1433 (putop): Handle 'K'.
1434 (intel_operand_size): Handle dqb_mode, dqd_mode):
1438 * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
1440 * i386-opc.h (CpuSSE4_1): New.
1441 (CpuUnknownFlags): Add CpuSSE4_1.
1442 (regKludge): Update comment.
1444 2007-04-18 Matthias Klose <doko@ubuntu.com>
1446 * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
1447 * Makefile.in: Regenerate.
1449 2007-04-14 Steve Ellcey <sje@cup.hp.com>
1451 * Makefile.am: Add ACLOCAL_AMFLAGS.
1452 * Makefile.in: Regenerate.
1454 2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
1456 * i386-dis.c: Remove trailing white spaces.
1457 * i386-opc.c: Likewise.
1458 * i386-opc.h: Likewise.
1460 2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
1463 * i386-dis.c (GRP1a): New.
1464 (GRP1b ... GRPPADLCK2): Update index.
1465 (dis386): Use GRP1a for entry 0x8f.
1466 (mod, rm, reg): Removed. Replaced by ...
1470 2007-04-09 Kazu Hirata <kazu@codesourcery.com>
1472 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
1473 info->print_address_func if longjmp is called.
1475 2007-03-29 DJ Delorie <dj@redhat.com>
1477 * m32c-desc.c: Regenerate.
1478 * m32c-dis.c: Regenerate.
1479 * m32c-opc.c: Regenerate.
1481 2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
1483 * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
1484 movq. Remove InvMem from sldt, smsw and str.
1486 * i386-opc.h (InvMem): Renamed to ...
1487 (RegMem): Update comments.
1488 (AnyMem): Remove InvMem.
1490 2007-03-27 Paul Brook <paul@codesourcery.com>
1492 * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
1494 2007-03-24 Paul Brook <paul@codesourcery.com>
1496 * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
1497 (print_insn_coprocessor): Handle %<bitfield>x.
1499 2007-03-24 Paul Brook <paul@codesourcery.com>
1500 Mark Shinwell <shinwell@codesourcery.com>
1502 * arm-dis.c (arm_opcodes): Print SRS base register.
1504 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
1506 * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
1508 * i386-opc.c (i386_optab): Add rex.wrxb.
1510 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1512 * i386-dis.c (REX_MODE64): Remove definition.
1513 (REX_EXTX): Likewise.
1514 (REX_EXTY): Likewise.
1515 (REX_EXTZ): Likewise.
1516 (USED_REX): Use REX_OPCODE instead of 0x40.
1517 Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
1518 REX_R, REX_X and REX_B respectively.
1520 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1523 * i386-dis.c (PREGRP38): New.
1524 (dis386): Use PREGRP38 for 0x90.
1525 (prefix_user_table): Add PREGRP38.
1526 (print_insn): Set uses_REPZ_prefix to 1 for pause.
1527 (NOP_Fixup1): Properly handle REX bits.
1528 (NOP_Fixup2): Likewise.
1530 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
1531 Allow register with nop.
1533 2007-03-20 DJ Delorie <dj@redhat.com>
1535 * m32c-asm.c: Regenerate.
1536 * m32c-desc.c: Regenerate.
1537 * m32c-desc.h: Regenerate.
1538 * m32c-dis.h: Regenerate.
1539 * m32c-ibld.c: Regenerate.
1540 * m32c-opc.c: Regenerate.
1541 * m32c-opc.h: Regenerate.
1543 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1545 * i386-opc.c: Include "libiberty.h".
1546 (i386_regtab): Remove the last entry.
1547 (i386_regtab_size): New.
1548 (i386_float_regtab_size): Likewise.
1550 * i386-opc.h (i386_regtab_size): New.
1551 (i386_float_regtab_size): Likewise.
1553 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1555 * Makefile.am (CFILES): Add i386-opc.c.
1556 (ALL_MACHINES): Add i386-opc.lo.
1558 * Makefile.in: Regenerated.
1560 * configure.in: Add i386-opc.lo for bfd_i386_arch.
1561 * configure: Regenerated.
1563 * i386-dis.c: Include "opcode/i386.h".
1564 (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
1565 (FWAIT_OPCODE): Remove definition.
1566 (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
1567 (MAX_OPERANDS): Remove definition.
1569 * i386-opc.c: New file.
1570 * i386-opc.h: Likewise.
1572 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1574 * Makefile.in: Regenerated.
1576 2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
1578 * i386-dis.c (OP_Rd): Renamed to ...
1583 2007-03-08 Alan Modra <amodra@bigpond.net.au>
1585 * fr30-asm.c: Regenerate.
1586 * frv-asm.c: Regenerate.
1587 * ip2k-asm.c: Regenerate.
1588 * iq2000-asm.c: Regenerate.
1589 * m32c-asm.c: Regenerate.
1590 * m32r-asm.c: Regenerate.
1591 * m32r-dis.c: Regenerate.
1592 * mt-asm.c: Regenerate.
1593 * mt-ibld.c: Regenerate.
1594 * mt-opc.c: Regenerate.
1595 * openrisc-asm.c: Regenerate.
1596 * xc16x-asm.c: Regenerate.
1597 * xstormy16-asm.c: Regenerate.
1599 * Makefile.am: Run "make dep-am".
1600 * Makefile.in: Regenerate.
1601 * po/POTFILES.in: Regenerate.
1603 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
1605 * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
1606 INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
1607 instruction formats added.
1608 (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
1609 MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
1611 * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
1613 * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1614 (main): z9-ec cpu type option added.
1615 * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1617 2007-02-22 DJ Delorie <dj@redhat.com>
1619 * s390-opc.c (INSTR_SS_L2RDRD): New.
1620 (MASK_SS_L2RDRD): New.
1621 * s390-opc.txt (pka): Use it.
1623 2007-02-20 Thiemo Seufer <ths@mips.com>
1624 Chao-Ying Fu <fu@mips.com>
1626 * mips-dis.c (mips_arch_choices): Add DSP R2 support.
1627 (print_insn_args): Add support for balign instruction.
1628 * mips-opc.c (D33): New shortcut for DSP R2 instructions.
1629 (mips_builtin_opcodes): Add DSP R2 instructions.
1631 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1633 * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
1634 (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
1635 * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
1636 cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
1638 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1640 * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
1641 * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
1642 (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
1645 2007-02-16 Nick Clifton <nickc@redhat.com>
1648 * avr-dis.c (comment_start): New variable, contains the prefix to
1649 use when printing addresses in comments.
1650 (print_insn_avr): Set comment_start to an empty space if there is
1651 no symbol table available as the generic address printing code
1652 will prefix the numeric value of the address with 0x.
1654 2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
1656 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
1659 2007-02-05 Dave Brolley <brolley@redhat.com>
1660 Richard Sandiford <rsandifo@redhat.com>
1661 DJ Delorie <dj@redhat.com>
1662 Graydon Hoare <graydon@redhat.com>
1663 Frank Ch. Eigler <fche@redhat.com>
1664 Ben Elliston <bje@redhat.com>
1666 * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
1667 (CFILES): Add mep-*.c
1668 (ALL_MACHINES): Add mep-*.lo.
1669 (CLEANFILES): Add stamp-mep.
1670 (CGEN_CPUS): Add mep.
1671 (MEP_DEPS): New variable.
1672 (mep-*): New targets.
1673 * configure.in: Handle bfd_mep_arch.
1674 * disassemble.c (ARCH_mep): New macro.
1675 (disassembler): Handle bfd_arch_mep.
1676 (disassemble_init_for_target): Likewise.
1677 * mep-*: New files for Toshiba Media Processor (MeP).
1678 * Makefile.in: Regenerated.
1679 * configure: Regenerated.
1681 2007-02-05 H.J. Lu <hongjiu.lu@intel.com>
1683 * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
1684 wrap around within the same segment in 16bit mode.
1686 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1688 * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
1691 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1693 * avr-dis.c (avr_operand): Correct PR number in comment.
1695 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1697 * disassemble.c (disassembler_usage): Call
1698 print_i386_disassembler_options for i386 disassembler.
1700 * i386-dis.c (print_i386_disassembler_options): New.
1701 (print_insn): Support the new addr64 option.
1703 2007-02-02 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
1705 * ppc-dis.c (powerpc_dialect): Handle ppc440.
1706 * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
1709 2007-02-02 Alan Modra <amodra@bigpond.net.au>
1711 * ppc-opc.c (insert_bdm): -Many comment.
1712 (valid_bo): Add "extract" param. Accept both powerpc and power4
1713 BO fields when disassembling with -Many.
1714 (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
1716 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
1718 * m68k-opc.c (m68k_opcodes): Replace cpu32 with
1719 cpu32 | fido_a except on tbl instructions.
1721 2007-01-04 Paul Brook <paul@codesourcery.com>
1723 * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
1725 2007-01-04 Andreas Schwab <schwab@suse.de>
1727 * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
1729 2007-01-04 Julian Brown <julian@codesourcery.com>
1731 * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
1732 vqrshl instructions.
1734 For older changes see ChangeLog-2006
1740 version-control: never