1 2007-11-06 Peter Bergner <bergner@vnet.ibm.com>
3 * ppc-opc.c (powerpc_opcodes): Remove the dcffix and dcffix. opcodes
4 which are not included in the "Preliminary Decimal Floating-Point
5 Architecture" document.
7 2007-11-01 H.J. Lu <hongjiu.lu@intel.com>
9 * i386-gen.c (opcode_modifiers): Replace No_xSuf with
11 * i386-opc.tbl: Likewise.
13 * i386-opc.h (No_xSuf): Renamed to ...
17 2007-11-01 H.J. Lu <hongjiu.lu@intel.com>
19 * i386-gen.c (opcode_modifiers): Add ByteOkIntel, ToDword,
20 ToQword and AddrPrefixOp0.
22 * i386-opc.h (ByteOkIntel): New.
25 (AddrPrefixOp0): Likewise.
27 (i386_opcode_modifier): Add byteokintel, todword, toqword
30 * i386-opc.tbl (cvtss2si): Add ToQword.
31 (cvttss2si): Likewise.
32 (cvtsd2si): Add ToDword.
33 (cvttsd2si): Likewise.
34 (monitor): Add AddrPrefixOp0.
39 (pextrb): Add ByteOkIntel.
41 * i386-tbl.h: Regenerated.
43 2007-10-31 H.J. Lu <hongjiu.lu@intel.com>
45 * i386-dis.c (USE_REG_TABLE): Defined as the previous one + 1.
46 (USE_REG_TABLE): Likewise.
47 (USE_MOD_TABLE): Likewise.
48 (USE_RM_TABLE): Likewise.
49 (USE_PREFIX_TABLE): Likewise.
50 (USE_X86_64_TABLE): Likewise.
51 (USE_3BYTE_TABLE): Likewise.
53 2007-10-26 H.J. Lu <hongjiu.lu@intel.com>
55 * i386-dis.c (MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3): New.
58 (MOD_0FE7_PREFIX_2): Likewise.
59 (MOD_0F382A_PREFIX_2): Likewise.
60 (MOD_0F71_REG_2): Updated.
61 (MOD_0FF0_PREFIX_3): Likewise.
62 (MOD_62_32BIT): Likewise.
63 (dis386_twobyte): Use MOD_0F51 and MOD_0FD7.
64 (prefix_table): Use MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
65 MOD_0FE7_PREFIX_2 and MOD_0F382A_PREFIX_2.
66 (mod_table): Add MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
67 MOD_0F51, MOD_0FD7 and MOD_0F382A_PREFIX_2.
69 2007-10-26 Nick Clifton <nickc@redhat.com>
71 * arm-dis.c (print_insn): Check for a symtab that exists but is
74 2007-10-24 Alan Modra <amodra@bigpond.net.au>
76 * po/POTFILES.in: Regenerate.
78 2007-10-23 H.J. Lu <hongjiu.lu@intel.com>
80 * i386-dis.c (OP_SIMD_Suffix): Renamed to ...
81 (CMP_Fixup): This. Rewrite.
82 (OPSIMD): Renamed to ...
84 (prefix_table): Update PREFIX_0FC2 entry.
86 2007-10-22 H.J. Lu <hongjiu.lu@intel.com>
88 * i386-dis.c (prefix_table): Reordered by opcode.
89 (mod_table): Likewise.
91 2007-10-19 H.J. Lu <hongjiu.lu@intel.com>
93 * i386-dis.c (prefix_table): Use XS on psrldq and pslldq.
95 2007-10-17 Nathan Sidwell <nathan@codesourcery.com>
97 * m68k-opc.c (m68k_opcodes): Correct move sr and ccr masks for
100 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
102 * ppc-opc.c (powerpc_opcodes): Fix the first two operands of
103 dquaiq. to use the TE and FRT macros.
105 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
107 * ppc-opc.c (TE): Correct signedness.
108 (powerpc_opcodes): Sort psq_st and psq_stu according to major
111 2007-10-15 H.J. Lu <hongjiu.lu@intel.com>
113 * i386-dis.c (dis386_twobyte): Reformat.
114 (prefix_table): Likewise.
115 (three_byte_table): Likewise.
117 2007-10-15 Alan Modra <amodra@bigpond.net.au>
119 * mcore-dis.c (print_insn_mcore): Protect "fprintf" var against
122 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
124 * i386-gen.c (opcode_modifiers): Add FirstXmm0.
126 * i386-opc.h (FirstXmm0): New.
128 (i386_opcode_modifier): Add firstxmm0.
130 * i386-opc.tbl (blendvpd): Replace RegKludge with FirstXmm0.
131 (blendvps): Likewise.
132 (pblendvb): Likewise.
133 * i386-tbl.h: Regenerated.
135 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
137 * i386-dis.c (prefix_table): Reformat pblendvb and blendvps.
139 2007-10-10 H.J. Lu <hongjiu.lu@intel.com>
141 * i386-dis.c (v_mode): Defined as previous one + 1.
148 (cond_jump_mode): Likewise.
149 (loop_jcxz_mode): Likewise.
151 (dqw_mode): Likewise.
153 (const_1_mode): Likewise.
154 (stack_v_mode): Likewise.
157 (dqb_mode): Likewise.
158 (dqd_mode): Likewise.
197 (z_mode_ax_reg): Likewise.
198 (indir_dx_reg): Likewise.
200 (DREX_NO_OC0): Likewise.
201 (DREX_MASK): Likewise.
202 (MAX_BYTEMODE): New. Issue an error if MAX_BYTEMODE is not
205 2007-10-08 H.J. Lu <hongjiu.lu@intel.com>
207 * i386-dis.c: Updated comments for 'Y'.
208 (putop): Don't add 'q' for 'Y' if suffix_always isn't true.
210 2007-10-08 Maciej W. Rozycki <macro@linux-mips.org>
212 * opcodes/mips-dis.c (mips_cp0_names_r3000): New definition.
213 (mips_cp0_names_r4000): Likewise.
214 (mips_arch_choices): Link to the above as appropriate.
216 2007-10-08 Nick Clifton <nickc@redhat.com>
218 * configure.in (SHARED_DEPENDENCIES): Change non-cygwin dependency
219 to be ../bfd/libbfd.la.
220 * configure: Regenerate.
222 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
224 * i386-dis.c (dis386_twobyte): Add getsec.
226 * i386-gen.c (cpu_flags): Add CpuSMX.
228 * i386-opc.h (CpuSMX): New.
230 (i386_cpu_flags): Add cpusmx.
232 * i386-opc.tbl: Add getsec.
233 * i386-init.h: Regenerated.
234 * i386-tbl.h: Likewise.
236 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
238 * i386-dis.c (reg_table): Use "{ XX }" on "(bad)".
239 (prefix_table): Likewise.
241 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
243 * i386-dis.c (dis386_twobyte): Use EXx instead of EXq on
244 unpckhpX and unpckhpX.
246 2007-10-04 David Daney <ddaney@avtrex.com>
248 * mips-opc.c (mips_builtin_opcodes): Mark lwxc1 as working on FP_S
251 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
253 * i386-dis.c (MOD_0F12_PREFIX_0): Use "movlps" and "movhlps"
254 instead of "movlpX" and "movhlpX", respectively.
255 (MOD_0F16_PREFIX_0): Use "movhps" and "movlhps" instead of
256 "movhpX" and "movlhpX", respectively.
258 2007-10-04 Nick Clifton <nickc@redhat.com>
260 * configure.in (WIN32LDFLAGS): Rename to SHARED_LDFLAGS.
261 (WIN32LIBADD): Rename to SHARED_LIBADD
262 (SHARED_DEPENDENCIES): New exported variable.
263 (enable_shared): Add dependency upon libbfd.la for non-cygwin
264 based shared library builds.
265 * Makefile.am (libopcodes_la_DEPENDENCIES): Append
267 (libopcodes_la_LIBADD): Rename WIN32LIBADD to SHARED_LIBADD.
268 (libopcodes_la_LDFLAGS): Rename WIN32LDFLAGS to SHARED_LDFLAGS.
269 * configure: Regenerate.
270 * Makefile.in: Regenerate.
273 * arc-opc.c (insert_offset): Fix spelling mistake in error
276 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
278 * i386-dis.c (OP_REG): Set add to 0 only when needed.
287 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
289 * i386-opc.tbl: Update SSE comments.
291 2007-10-01 H.J. Lu <hongjiu.lu@intel.com>
293 * i386-dis.c (THREE_BYTE_0FBA): Renamed to ...
294 (THREE_BYTE_0F7B): This.
295 (dis386_twobyte): Updated.
296 (three_byte_table): Updated comments.
298 2007-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
300 * cr16-opc.c: Updated the branch on condition instructions with
303 2007-09-30 H.J. Lu <hongjiu.lu@intel.com>
305 * 386-dis.c (prefix_table): Reformat comment.
307 2007-09-29 H.J. Lu <hongjiu.lu@intel.com>
309 * 386-dis.c (USE_GROUPS): Renamed to ...
310 (USE_REG_TABLE): This.
311 (USE_OPC_EXT_TABLE): Renamed to ...
312 (USE_MOD_TABLE): This.
313 (USE_OPC_EXT_RM_TABLE): Renamed to ...
314 (USE_RM_TABLE): This.
315 (USE_XXX_TABLE): Reordered.
316 (GRP): Renamed to ...
318 (OPC_EXT_TABLE): Renamed to ...
320 (OPC_EXT_RM_TABLE): Renamed to ...
322 (GRP_XXX): Renamed to ...
324 (PREGRP_XXX): Renamed to ...
326 (OPC_EXT_XXX): Renamed to ...
328 (OPC_EXT_RM_XXX): Renamed to ...
330 (grps): Renamed to ...
332 (prefix_user_table): Renamed to ...
334 (opc_ext_table): Renamed to ...
336 (opc_ext_rm_table): Renamed to ...
338 (OPC_EXT_RM_XXX): Likewise.
340 (dis386_twobyte): Likewise.
341 (reg_table): Likewise.
342 (prefix_table): Likewise.
343 (x86_64_table): Likewise.
344 (three_byte_table): Likewise.
345 (mod_table): Likewise.
346 (rm_table): Likewise.
347 (get_valid_dis386): Likewise.
349 2007-09-28 H.J. Lu <hongjiu.lu@intel.com>
351 * 386-dis.c (USE_PREFIX_USER_TABLE): Renamed to ...
352 (USE_PREFIX_TABLE): This.
353 (X86_64_SPECIAL): Renamed to ...
354 (USE_X86_64_TABLE): This.
355 (IS_3BYTE_OPCODE): Renamed to ...
356 (USE_3BYTE_TABLE): This.
358 (PREGRPXXX): Likewise.
359 (X86_64_XXX): Likewise.
360 (THREE_BYTE_XXX): Likewise.
361 (OPC_EXT_XXX): Likewise.
362 (OPC_EXT_RM_XXX): Likewise.
366 (X86_64_TABLE): Likewise.
367 (THREE_BYTE_TABLE): Likewise.
368 (OPC_EXT_TABLE): Likewise.
369 (OPC_EXT_RM_TABLE): Likewise.
371 (PREGRP_XXX): Likewise.
372 (X86_64_XXX): Likewise.
373 (THREE_BYTE_XXX): Likewise.
374 (OPC_EXT_XXX): Likewise.
375 (OPC_EXT_RM_XXX): Likewise.
377 (dis386_twobyte): Likewise.
379 (prefix_user_table): Likewise.
380 (x86_64_table): Likewise.
381 (three_byte_table): Likewise.
382 (opc_ext_table): Likewise.
383 (opc_ext_rm_table): Likewise.
384 (get_valid_dis386): Likewise.
386 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
388 * i386-dis.c (dis386): Swap X86_64_27 with OPC_EXT_2.
389 (x86_64_table): Likewise.
390 (opc_ext_table): Likewise.
392 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
395 * i386-dis.c: Update comments on '{', '}' and '|' to support
396 only AT&T and Intel modes.
397 (X86_64_4...X86_64_27): New.
398 (dis386): Updated. Use X86_64_4...X86_64_21.
399 (dis386_twobyte): Updated.
400 (float_mem): Likewise.
401 (x86_64_table): Add X86_64_4...X86_64_27.
402 (opc_ext_table): Updated. Use X86_64_22...X86_64_27.
403 (putop): Updated handling of '{', '}' and '|' to support only
404 AT&T and Intel modes.
406 2007-09-27 Kazu Hirata <kazu@codesourcery.com>
408 * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb.
410 2007-09-26 James E. Wilson <wilson@specifix.com>
412 * ia64-gen.c (print_dependency_table): Fix typo in last patch.
414 2007-09-26 Nick Clifton <nickc@redhat.com>
416 * mt-asm.c (parse_imm16): Reword error message in order to allow
417 it to be translated properly.
418 * ia64-gen.c (print_dependency_table): Likewise.
419 * mips-dis.c (print_insn_args): Likewise.
421 2007-09-26 Jan Beulich <jbeulich@novell.com>
423 * i386-dis.c (OP_E_extended): Distinguish rip- and eip-
424 relative addressing. Update used_prefixes based on whether any
425 base or index register was printed.
427 2007-09-26 Jan Beulich <jbeulich@novell.com>
429 * i386-opc.h (RegEip): Define.
431 * i386-reg.tbl: Add eip. Mark rip and eip with RegRex64.
432 * i386-tbl.h: Re-generate.
434 2007-09-25 H.J. Lu <hongjiu.lu@intel.com>
436 * i386-gen.c (process_i386_opcodes): Process opcode_length.
438 * i386-opc.h (template): Add opcode_length.
439 * 386-opc.tbl: Likewise.
440 * i386-tbl.h: Regenerated.
442 2007-09-21 H.J. Lu <hongjiu.lu@intel.com>
444 * i386-opc.h: Adjust whitespaces.
446 2007-09-21 Dave Brolley <brolley@redhat.com>
448 * mep-desc.c: Regenerated.
450 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
452 * i386-dis.c (OP_E_extended): Display eiz for [eiz*1 + offset].
454 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
457 * 386-dis.c (index64): New.
459 (intel_index64): Likewise.
460 (intel_index32): Likewise.
461 (att_index64): Likewise.
462 (att_index32): Likewise.
463 (print_insn): Set index64 and index32.
464 (OP_E_extended): Use index64/index32 for index register for
467 * i386-opc.h (RegEiz): New.
470 * i386-reg.tbl: Add eiz and riz.
471 * i386-tbl.h: Regenerated.
473 2007-09-19 H.J. Lu <hongjiu.lu@intel.com>
475 * i386-dis.c (OP_E_extended): Always display scale for memory.
477 2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
479 * i386-opc.h (RegRip): New.
481 * i386-reg.tbl (rip): Use RegRip for reg_num.
482 * i386-tbl.h: Regenerated.
484 2007-09-17 Nick Clifton <nickc@redhat.com>
486 * po/es.po: Updated Spanish translation.
488 2007-09-14 H.J. Lu <hongjiu.lu@intel.com>
490 * Makefile.am: Run "make dep-am".
491 * Makefile.in: Regenerate.
493 2007-09-14 Michael Meissner <michael.meissner@amd.com>
494 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
495 Tony Linthicum <tony.linthicum@amd.com>
497 * i386-opc.h (CpuSSE5): New macro.
498 (i386_cpu_flags): Add Drex, Drexv and Drexc.
500 * i386-gen.c (cpu_flag_init): Add CPU_SSE5_FLAGS.
501 (operand_type_init): Add CpuSSE5.
502 (opcode_modifiers): Add Drex, Drexv and Drexc.
503 (i386_opcode_modifier): Ditto.
505 * i386-opc.tbl (fmaddps,fmaddpd,fmaddss,fmaddsd): Define SSE5
507 (fmsubps,fmsubpd,fmsubss,fmsubsd): Ditto.
508 (fnmaddps,fnmaddpd,fnmaddss,fnmaddsd): Ditto.
509 (fnmsubps,fnmsubpd,fnmsubss,fnmsubsd): Ditto.
510 (pmacssww,pmacsww,pmacsswd,pmacswd): Ditto.
511 (pmacssdd,pmacsdd,pmacssdql,pmacssdqh): Ditto.
512 (pmacsdql,pmacsdqh,pmadcsswd,pmadcswd): Ditto.
513 (phaddbw,phaddbd,phaddbq,phaddwd): Ditto.
514 (phaddwq,phadddq,phaddubw,phaddubd): Ditto.
515 (phaddubq,phadduwd,phadduwq,phaddudq): Ditto.
516 (phsubbw,phsubwd,phsubdq): Ditto.
517 (pcmov,pperm,permps,permpd): Ditto.
518 (protb,protw,protd,protq): Ditto.
519 (pshlb,pshlw,pshld,pshlq): Ditto.
520 (pshab,pshaw,pshad,pshaq): Ditto.
521 (comps,comeqps,comltps,comungeps,comleps,comungtps): Ditto.
522 (comunordps,comneps,comneqps,comnltps,comugeps): Ditto.
523 (comnleps,comugtps,comordps,comueqps,comultps): Ditto.
524 (comngeps,comuleps,comngtps,comfalseps,comuneps): Ditto.
525 (comuneqps,comunltps,comgeps,comunleps,comgtps,comtrueps): Ditto.
526 (compd,comeqpd,comltpd,comungepd,comlepd,comungtpd,comunordpd): Ditto.
527 (comnepd,comneqpd,comnltpd,comugepd,comnlepd,comugtpd): Ditto.
528 (comordpd,comueqpd,comultpd,comngepd,comulepd,comngtpd): Ditto.
529 (comfalsepd,comunepd,comuneqpd,comunltpd,comgepd): Ditto.
530 (comunlepd,comgtpd,comtruepd): Ditto.
531 (comss,comeqss,comltss,comungess,comless,comungtss,comunordss): Ditto.
532 (comness,comneqss,comnltss,comugess,comnless,comugtss): Ditto.
533 (comordss,comueqss,comultss,comngess,comuless,comngtss): Ditto.
534 (comfalsess,comuness,comuneqss,comunltss,comgess): Ditto.
535 (comunless,comgtss,comtruess): Ditto.
536 (comsd,comeqsd,comltsd,comungesd,comlesd,comungtsd,comunordsd): Ditto.
537 (comnesd,comneqsd,comnltsd,comugesd,comnlesd,comugtsd): Ditto.
538 (comordsd,comueqsd,comultsd,comngesd,comulesd,comngtsd): Ditto.
539 (comfalsesd,comunesd,comuneqsd,comunltsd,comgesd): Ditto.
540 (comunlesd,comgtsd,comtruesd): Ditto.
541 (pcomub,pcomltub,pcomleub,pcomgtub,pcomgeub,pcomequb): Ditto.
542 (pcomnequb,pcomneub): Ditto.
543 (pcomuw,pcomltuw,pcomleuw,pcomgtuw,pcomgeuw,pcomequw): Ditto.
544 (pcomnequw,pcomneuw): Ditto.
545 (pcomud,pcomltud,pcomleud,pcomgtud,pcomgeud,pcomequd): Ditto.
546 (pcomnequd,pcomneud): Ditto.
547 (pcomuq,pcomltuq,pcomleuq,pcomgtuq,pcomgeuq,pcomequq): Ditto.
548 (pcomnequq,pcomneuq): Ditto.
549 (pcomb,pcomltb,pcomleb,pcomgtb,pcomgeb,pcomeqb): Ditto.
550 (pcomneqb,pcomneb): Ditto.
551 (pcomw,pcomltw,pcomlew,pcomgtw,pcomgew,pcomeqw): Ditto.
552 (pcomneqw,pcomnew): Ditto.
553 (pcomd,pcomltd,pcomled,pcomgtd,pcomged,pcomeqd): Ditto.
554 (pcomneqd,pcomned): Ditto.
555 (pcomq,pcomltq,pcomleq,pcomgtq,pcomgeq): Ditto.
556 (pcomeqq,pcomneqq,pcomneq): Ditto.
557 (pcomtrueb, pcomtruew, pcomtrued, pcomtrueq): Ditto.
558 (pcomtrueub, pcomtrueuw, pcomtrueud, pcomtrueuq): Ditto.
559 (pcomfalseb, pcomfalsew, pcomfalsed, pcomfalseq): Ditto.
560 (pcomfalseub, pcomfalseuw, pcomfalseud, pcomfalseuq): Ditto.
561 (frczps,frczpd,frczss,frczsd): Ditto.
562 (cvtph2ps,cvtps2ph): Ditto.
564 * i386-tbl.h: Regenerate from i386-opc.tbl.
565 * i386-init.h: Likewise.
567 * i386-dis.c (libiberty.h): Include to get ARRAY_SIZE.
568 (dis386_move_test): New disassembly support for move from test
569 register instruction that overlaps with SSE5 instructions.
570 (print_insn): Add support for special casing the i386/i486 move
571 from test register instruction that overlaps with the SSE5
572 0x0f24 4 operand instructions.
573 (OP_DREX_ICMP): New macros for SSE5 DREX handling.
574 (OP_DREX_FCMP): Ditto.
575 (OP_E_extended): Rename from OP_E, add additional argument to skip
577 (OP_E): Call OP_E_extended.
578 (DREX_REG_MEMORY): New macros for drex handling.
579 (DREX_REG_UNKNOWN): Ditto.
581 (DREX4_NO_OC0): Ditto.
583 (three_byte_table): Add SSE5 instructions.
584 (print_drex_arg): New function to print a DREX register or memory
586 (OP_DREX4): New function for handling DREX 4 argument ops.
587 (OP_DREX3): New function for handling DREX 3 argument ops.
588 (twobyte_has_modrm): 0f{25,7a,7b} all use the modrm byte.
589 (THREE_BYTE_SSE5_0F{24,25,7A,7B}): New macros for initializing 3
590 byte opcode support for SSE5 instructions.
591 (dis386_twobyte): Add SSE5 24/25/7a/7b support.
592 (three_byte_table): Add rows for describing SSE5 instructions.
594 2007-09-13 H.J. Lu <hongjiu.lu@intel.com>
596 * i386-dis.c (get_valid_dis386): Take a pointer to
597 disassemble_info. Handle IS_3BYTE_OPCODE.
598 (print_insn): Updated. Don't handle IS_3BYTE_OPCODE here.
600 2007-09-12 H.J. Lu <hongjiu.lu@intel.com>
602 * i386-opc.h (CpuUnused): Defined with CpuMax.
603 (OTUnused): Defined with OTMax.
605 2007-09-12 Jan Beulich <jbeulich@novell.com>
607 * i386-opc.tbl: Add two-operand forms of blendvps, blendvpd, and
609 * i386-tbl.h: Regenerate.
611 2007-09-09 H.J. Lu <hongjiu.lu@intel.com>
613 * i386-gen.c (main): Remove the local variable, unused.
615 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
617 * Makefile.am: Run "make dep-am".
618 * Makefile.in: Regenerate.
620 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
622 * configure.in (AC_CHECK_HEADERS): Add limits.h.
623 * configure: Regenerated.
624 * config.in: Likewise.
626 * i386-gen.c: Include "sysdep.h" instead of <stdlib.h> and
627 <string.h>. Use xstrerror instead of strerror.
629 (cpu_flag_init): Likewise.
630 (bitfield): Likewise.
632 (cpu_flags): Likewise.
633 (opcode_modifiers): Likewise.
634 (operand_types): Likewise.
636 (set_cpu_flags): Likewise.
637 (output_cpu_flags): Likewise.
638 (process_i386_cpu_flags): Likewise.
639 (output_opcode_modifier): Likewise.
640 (process_i386_opcode_modifier): Likewise.
641 (output_operand_type): Likewise.
642 (process_i386_operand_type): Likewise.
643 (set_bitfield): Likewise.
644 (operand_type_init): Likewise.
645 (process_i386_initializers): Likewise.
646 (process_i386_opcodes): Call process_i386_opcode_modifier to
647 process opcode_modifier. Call process_i386_operand_type to
648 process operand_types.
649 (process_i386_registers): Call process_i386_operand_type to
651 (main): Check unused bits in i386_cpu_flags and i386_operand_type.
652 Sort cpu_flags, opcode_modifiers and operand_types. Call
653 process_i386_initializers.
656 * i386-tbl.h: Regenerated.
658 * i386-opc.h: Include <limits.h>.
659 (CHAR_BIT): Define as 8 if not defined.
660 (Cpu186): Changed to position of bitfiled.
673 (Cpu3dnow): Likewise.
674 (Cpu3dnowA): Likewise.
676 (CpuPadLock): Likewise.
679 (CpuSSSE3): Likewise.
680 (CpuSSE4a): Likewise.
682 (CpuSSE4_1): Likewise.
683 (CpuSSE4_2): Likewise.
689 (ShortForm): Likewise.
691 (JumpDword): Likewise.
692 (JumpByte): Likewise.
693 (JumpInterSegment): Likewise.
700 (IgnoreSize): Likewise.
701 (DefaultSize): Likewise.
709 (IsString): Likewise.
710 (RegKludge): Likewise.
711 (IsPrefix): Likewise.
720 (FloatReg): Likewise.
730 (BaseIndex): Likewise.
736 (InOutPortReg): Likewise.
737 (ShiftCount): Likewise.
744 (FloatAcc): Likewise.
745 (JumpAbsolute): Likewise.
749 (Reg): Commented out.
751 (ImplicitRegister): Likewise.
756 (LLongMem): Likewise.
758 (ShortMem): Likewise.
763 (CpuNumOfUints): Likewise.
764 (CpuNumOfBits): Likewise.
765 (CpuUnused): Likewise.
766 (OTNumOfUints): Likewise.
767 (OTNumOfBits): Likewise.
768 (OTUnused): Likewise.
769 (i386_cpu_flags): New type.
770 (i386_operand_type): Likewise.
771 (i386_opcode_modifier): Likewise.
772 (CpuSledgehammer): Removed.
774 (CpuUnknownFlags): Likewise.
777 (ImplicitRegister): Likewise.
782 (LLongMem): Likewise.
784 (ShortMem): Likewise.
787 (template): Use i386_cpu_flags for cpu_flags, use
788 i386_opcode_modifier for opcode_modifier, use
789 i386_operand_type for operand_types.
790 (reg_entry): Use i386_operand_type for reg_type.
792 * Makefile.am (HFILES): Add i386-init.h.
793 ($(srcdir)/i386-init.h): New rule.
794 ($(srcdir)/i386-tbl.h): Depend on $(srcdir)/i386-init.h
796 * Makefile.in: Regenerated.
798 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
800 * i386-gen.c (next_field): Updated to take a separator.
801 (process_i386_opcodes): Updated.
802 (process_i386_registers): Likewise.
804 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
806 * i386-gen.c (table): Moved ...
807 (main): Here. Call process_copyright to output copyright.
808 (process_copyright): New.
809 (process_i386_opcodes): Take FILE *table.
810 (process_i386_registers): Likewise.
812 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
814 * i386-gen.c (table): New.
815 (process_i386_opcodes): Report errno when faied to open
816 i386-opc.tbl. Output opcodes to table. Close i386-opc.tbl
818 (process_i386_registers): Report errno when faied to open
819 i386-reg.tbl. Output opcodes to table. Close i386-reg.tbl
821 (main): Open i386-tbl.h for output.
823 * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@".
824 * Makefile.in: Regenerated.
826 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
828 * i386-opc.tbl: Correct SVME instructions to allow 32bit register
829 operand in 64bit mode.
830 * i386-tbl.h: Regenerated.
832 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
834 * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
835 (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
836 (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
838 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
840 * i386-dis.c (SVME_Fixup): Removed.
842 (OPC_EXT_RM_6): Likewise.
843 (grps): Use OPC_EXT_39.
844 (opc_ext_table): Add OPC_EXT_39.
845 (opc_ext_rm_table): Add OPC_EXT_RM_6.
847 * i386-opc.tbl: Correct SVME instructions to take register
849 * i386-tbl.h: Regenerated.
851 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
853 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
854 * Makefile.in: Regenerated.
856 * configure.in (AC_GNU_SOURCE): Added.
857 (AC_PROG_CC): Moved before AC_GNU_SOURCE.
858 (AC_CHECK_DECLS): Add stpcpy.
859 * configure: Regenerated.
860 * config.in: Likewise.
862 * i386-dis.c: Include "sysdep.h" before "dis-asm.h".
864 * sysdep.h (stpcpy): New.
866 2007-08-30 H.J. Lu <hongjiu.lu@intel.com>
868 * i386-dis.c (INVLPG_Fixup): Removed.
870 (OPC_EXT_RM_5): Likewise.
871 (grps): Use OPC_EXT_38.
872 (opc_ext_table): Add OPC_EXT_38.
873 (opc_ext_rm_table): Add OPC_EXT_RM_5.
875 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
877 * i386-dis.c (SIMD_Fixup): Removed.
878 (OPC_EXT_34...OPC_EXT_37): New.
879 (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
880 (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
881 (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
883 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
885 * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
886 (dis386): Use OPC_EXT_0...OPC_EXT_2.
887 (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
888 (grps): Updated to use OPC_EXT_6...OPC_EXT_31.
889 (prefix_user_table): Use OPC_EXT_32.
890 (x86_64_table): Use OPC_EXT_33.
891 (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
893 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
895 * i386-dis.c (prefix_user_table): Fix comment.
897 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
899 * i386-dis.c (OP_Skip_MODRM): New.
900 (OP_Monitor): Likewise.
901 (OP_Mwait): Likewise.
903 (Skip_MODRM): Likewise.
904 (USE_OPC_EXT_TABLE): Likewise.
905 (USE_OPC_EXT_RM_TABLE): Likewise.
906 (PREGRP98...PREGRP100): Likewise.
907 (OPC_EXT_0...OPC_EXT_24): Likewise.
908 (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
909 (lock_prefix): Likewise.
910 (data_prefix): Likewise.
911 (addr_prefix): Likewise.
912 (repz_prefix): Likewise.
913 (repnz_prefix): Likewise.
914 (opc_ext_table): Likewise.
915 (opc_ext_rm_table): Likewise.
916 (get_valid_dis386): Likewise.
919 (PNI_Fixup): Likewise.
920 (VMX_Fixup): Likewise.
922 (twobyte_uses_DATA_prefix): Likewise.
923 (twobyte_uses_REPNZ_prefix): Likewise.
924 (twobyte_uses_REPZ_prefix): Likewise.
925 (threebyte_0x38_uses_DATA_prefix): Likewise.
926 (threebyte_0x38_uses_REPNZ_prefix): Likewise.
927 (threebyte_0x38_uses_REPZ_prefix): Likewise.
928 (threebyte_0x3a_uses_DATA_prefix): Likewise.
929 (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
930 (threebyte_0x3a_uses_REPZ_prefix): Likewise.
931 (grps): Use OPC_EXT_0...OPC_EXT_24.
932 (prefix_user_table): Add PREGRP98...PREGRP100.
933 (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
934 uses_REPNZ_prefix and uses_REPZ_prefix. Initialize
935 repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
936 data_prefix based on prefixes. Call get_valid_dis386 to
937 get a pointer to the valid dis386. Print out prefixes if
939 (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
940 (REP_Fixup): Set repz_prefix to "rep " when seeing
943 2007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
945 * po/nl.po: Updated translation.
947 2007-08-28 H.J. Lu <hongjiu.lu@intel.com>
949 * i386-dis.c (Md): New.
950 (grps): Use 0 on invlpg. Use M on fxsave and fxrstor. Use
951 Md on ldmxcsr and stmxcsr. Use b_mode on clflush.
952 (OP_0fae): Clear bytemode for sfence.
954 2007-08-22 Ben Elliston <bje@au.ibm.com>
956 * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
957 (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
959 (powerpc_opcodes): Add all pair singles instructions.
960 * ppc-dis.c (powerpc_dialect): Handle "ppcps".
961 (print_ppc_disassembler_options): Document -Mppcps.
963 2007-08-21 Andreas Krebbel <krebbel1@de.ibm.com>
965 * s390-mkopc.c (struct s390_cond_ext_format): New global struct.
966 (s390_cond_ext_format): New global variable.
967 (expandConditionalJump): New function.
968 (main): Invoke expandConditionalJump for mnemonics containing '*'.
969 * s390-opc.txt: Replace mnemonics with conditional
970 mask extensions with instructions using the newly introduced '*' tag.
972 2007-08-17 Alan Modra <amodra@bigpond.net.au>
974 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
976 2007-08-10 Nick Clifton <nickc@redhat.com>
978 * po/fi.po: Updated Finnish translation.
979 * po/ga.po: Updated Irish translation.
980 * po/vi.po: Updated Vietnamese translation.
982 2007-08-09 H.J. Lu <hongjiu.lu@intel.com>
984 * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
985 pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
986 * i386-tbl.h: Regenerated.
988 2007-08-03 James E. Wilson <wilson@specifix.com>
990 * ia64-gen.c: (main): Add missing newline to copyright message.
991 * ia64-ic.tbl (fp-non-arith): Add xmpy.
992 * ia64-asmtab.c: Regenerate.
994 2007-08-01 Michael Snyder <msnyder@access-company.com>
996 * i386-dis.c (print_insn): Guard against NULL.
998 2007-07-29 H.J. Lu <hongjiu.lu@intel.com>
1001 * i386-dis.c (EXw): New.
1002 (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
1003 instructions when appropriated.
1005 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
1008 * i386-dis.c (Eq): New.
1009 (EMC): Renamed to ...
1010 (EMCq): This. Use q_mode instead of v_mode.
1011 (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
1014 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
1016 * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
1017 (prefix_user_table): Likewise. Use EXq instead of EXx on
1020 2007-07-27 Nathan Sidwell <nathan@codesourcery.com>
1022 * ppc-opc (PPC7450): New.
1023 (powerpc_opcodes): Use it in dcba.
1025 2007-07-24 H.J. Lu <hongjiu.lu@intel.com>
1027 * i386-gen.c (main): Print a newline after copyright notice.
1029 2007-07-19 Nick Clifton <nickc@redhat.com>
1032 * maxq-dis.c (get_reg_name): Fix the scan of the
1033 mem_access_syntax_table.
1035 2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
1037 * i386-dis.c (EMq): Removed.
1039 (prefix_user_table): Replace EMq with EMx.
1041 2007-07-16 Nick Clifton <nickc@redhat.com>
1043 * po/nl.po: Updated translation.
1045 2007-07-12 Nick Clifton <nickc@redhat.com>
1047 * po/vi.po: Updated translation.
1048 * po/nl.po: Updated translation.
1050 2007-07-06 Mark Kettenis <kettenis@gnu.org>
1051 H.J. Lu <hongjiu.lu@intel.com>
1053 * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
1054 (ia64-asmtab.c): Likewise.
1055 * Makefile.in: Regenerate.
1057 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
1059 * aclocal.m4: Regenerated.
1061 2007-07-04 Nick Clifton <nickc@redhat.com>
1063 * alpha-dis.c: Update copyright notice to refer to GPLv3.
1064 * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h,
1065 arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c,
1066 cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in,
1067 cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c,
1068 cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c,
1069 d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c,
1070 dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c,
1071 h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c,
1072 i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c,
1073 ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c,
1074 ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c,
1075 ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c,
1076 m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c,
1077 m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c,
1078 mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c,
1079 mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c,
1080 or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c,
1081 ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c,
1082 score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h,
1083 sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c,
1084 spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c,
1085 tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c,
1086 vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c,
1087 z8k-dis.c, z8kgen.c: Likewise.
1088 * i386-opc.tbl, i386-reg.tbl: Add copyright notice.
1089 * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h,
1090 fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c,
1091 frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c,
1092 frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c,
1093 ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h,
1094 iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c,
1095 iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c,
1096 m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c,
1097 m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
1098 m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c,
1099 mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c,
1100 mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c,
1101 mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c,
1102 openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c,
1103 openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h,
1104 xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h,
1105 xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h,
1106 xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c,
1107 xstormy16-opc.h, z8k-opc.h: Regenerated
1109 2007-07-04 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1111 * cr16-dis.c (getcinvstring): Add const qualifier to char *
1113 (print_insn_cr16): Remove cast to char *.
1115 2007-07-03 Nathan Sidwell <nathan@codesourcery.com>
1117 * m68k-dis.c (fetch_arg): Add E. Replace length switch with
1119 (print_ins_arg): Add j & K operand types.
1120 (match_insn_m68k): Check and skip initial '.' arg character.
1121 (m68k_scan_mask): Likewise.
1122 * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
1124 2007-07-02 Alan Modra <amodra@bigpond.net.au>
1126 * Makefile.am: Run "make dep-am".
1127 * Makefile.in: Regenerate.
1128 * aclocal.m4: Regenerate.
1129 * config.in: Regenerate.
1130 * po/POTFILES.in: Regenerate.
1131 * po/opcodes.pot: Regenerate.
1133 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
1135 * aclocal.m4: Regenerated.
1136 * Makefile.in: Likewise.
1138 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
1140 * i386-reg.tbl: Remove spaces before comments.
1142 2007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1144 * cr16-opc.c: New file.
1145 * cr16-dis.c: New file.
1146 * Makefile.am: Entries for cr16.
1147 * Makefile.in: Regenerate.
1148 * cofigure.in: Add cr16 target information.
1149 * configure : Regenerate.
1150 * disassemble.c: Add cr16 target information.
1152 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
1154 * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
1155 (CFILES): Add i386-gen.c.
1156 (i386-gen): New rule.
1157 (i386-gen.o): Likewise.
1158 (i386-tbl.h): Likewise.
1160 * Makefile.in: Regenerated.
1162 * i386-gen.c: New file.
1163 * i386-opc.tbl: Likewise.
1164 * i386-reg.tbl: Likewise.
1165 * i386-tbl.h: Likewise.
1167 * i386-opc.c: Include "i386-tbl.h".
1168 (i386_optab): Removed.
1169 (i386_regtab): Likewise.
1170 (i386_regtab_size): Likewise.
1172 2007-06-26 Paul Brook <paul@codesourcery.com>
1174 * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
1176 2007-06-25 H.J. Lu <hongjiu.lu@intel.com>
1178 * i386-opc.h (regKludge): Renamed to ...
1181 * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
1183 2007-06-23 H.J. Lu <hongjiu.lu@intel.com>
1186 * i386-dis.c (EX): Removed.
1192 (PREGRP93...PREGRP97): Likewise.
1193 (dis386_twobyte): Updated.
1194 (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
1195 (OP_EX): Remove Intel syntax handling.
1197 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
1199 * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
1201 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
1203 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
1205 * acinclude.m4: Removed.
1207 * Makefile.in: Regenerated.
1208 * doc/Makefile.in: Likewise.
1209 * aclocal.m4: Likewise.
1210 * configure: Likewise.
1212 2007-06-05 Paul Brook <paul@codesourcery.com>
1214 * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
1216 2007-05-24 Steve Ellcey <sje@cup.hp.com>
1218 * Makefile.in: Regnerate.
1219 * configure: Regenerate.
1220 * aclocal.m4: Regenerate.
1222 2007-05-18 Alan Modra <amodra@bigpond.net.au>
1224 * ppc-dis.c (print_insn_powerpc): Don't skip all operands
1225 after setting skip_optional.
1227 2007-05-16 Peter Bergner <bergner@vnet.ibm.com>
1229 * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
1230 (print_insn_powerpc): Use the new operand_value_powerpc and
1231 skip_optional_operands functions to omit or print all optional
1232 operands as a group.
1233 * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
1234 (XFL_MASK): Delete L and W bits from the mask.
1235 (mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK
1236 with XWRA_MASK. Use W.
1237 (mtfsf, mtfsf.): Use XFL_L and W.
1239 2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
1242 * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
1244 2007-05-10 H.J. Lu <hongjiu.lu@intel.com>
1246 * i386-opc.h (ShortForm): Redefined.
1248 (JumpDword): Likewise.
1249 (JumpByte): Likewise.
1250 (JumpInterSegment): Likewise.
1251 (FloatMF): Likewise.
1257 (IgnoreSize): Likewise.
1258 (DefaultSize): Likewise.
1259 (No_bSuf): Likewise.
1260 (No_wSuf): Likewise.
1261 (No_lSuf): Likewise.
1262 (No_sSuf): Likewise.
1263 (No_qSuf): Likewise.
1264 (No_xSuf): Likewise.
1266 (IsString): Likewise.
1267 (regKludge): Likewise.
1268 (IsPrefix): Likewise.
1270 (NoRex64): Likewise.
1274 2007-05-07 H.J. Lu <hongjiu.lu@intel.com>
1276 * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
1277 for some SSE4 instructions.
1278 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1280 2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
1282 * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
1284 * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
1287 2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
1289 * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
1290 check data size prefix in 16bit mode.
1292 * i386-opc.c (i386_optab): Default crc32 to non-8bit and
1295 2007-04-30 Mark Salter <msalter@redhat.com>
1297 * frv-desc.c: Regenerate.
1298 * frv-desc.h: Regenerate.
1300 2007-04-30 Alan Modra <amodra@bigpond.net.au>
1303 * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
1305 2007-04-27 H.J. Lu <hongjiu.lu@intel.com>
1307 * i386-dis.c (modrm): Put reg before rm.
1309 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1312 * i386-dis.c (print_displacement): New.
1313 (OP_E): Call print_displacement instead of print_operand_value
1314 to output displacement when either base or index exist. Print
1315 the explicit zero displacement in 16bit mode.
1317 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1320 * i386-dis.c (print_insn): Also swap the order of op_riprel
1321 when swapping op_index. Break when the RIP relative address
1323 (OP_E): Properly handle RIP relative addressing and print the
1324 explicit zero displacement for Intel mode.
1326 2007-04-27 Alan Modra <amodra@bigpond.net.au>
1328 * Makefile.am: Run "make dep-am".
1329 * Makefile.in: Regenerate.
1330 * ns32k-dis.c: Include sysdep.h first.
1332 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
1334 * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
1336 * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
1338 2007-04-24 Nick Clifton <nickc@redhat.com>
1340 * arm-dis.c (print_insn): Initialise type.
1342 2007-04-24 Alan Modra <amodra@bigpond.net.au>
1344 * cgen-types.h: Include bfd_stdint.h, not stdint.h.
1345 * Makefile.am: Run "make dep-am".
1346 * Makefile.in: Regenerate.
1348 2007-04-23 Nathan Sidwell <nathan@codesourcery.com>
1350 * m68k-opc.c: Mark mcfisa_c instructions.
1352 2007-04-21 Richard Earnshaw <rearnsha@arm.com>
1354 * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
1355 (thumb_opcodes): Add missing white space in adr.
1356 (arm_decode_shift): New parameter, print_shift. Only decode the
1357 shift parameter if set. Adjust callers.
1358 (print_insn_arm): Support for operand type q with no shift decode.
1360 2007-04-21 Alan Modra <amodra@bigpond.net.au>
1362 * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
1364 (i386_regtab): ..here.
1365 * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
1367 * ppc-opc.c (powerpc_operands): Delete duplicate entries.
1368 (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
1369 (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
1370 (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
1372 2007-04-20 Nathan Sidwell <nathan@codesourcery.com>
1374 * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
1377 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1379 * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
1381 * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
1382 in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove
1383 references to following deleted functions.
1384 (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
1385 (insert_ds, extract_ds, insert_de, extract_de): Delete.
1386 (insert_des, extract_des, insert_li, extract_li): Delete.
1387 (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
1388 (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
1389 (num_powerpc_operands): New constant.
1390 (XSPRG_MASK): Remove entire SPRG field.
1391 (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
1393 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1395 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
1397 (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
1399 2007-04-20 Richard Earnshaw <rearnsha@arm.com>
1401 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
1404 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1406 * Makefile.am: Run "make dep-am".
1407 * Makefile.in: Regenerate.
1408 * po/POTFILES.in: Regenerate.
1410 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1412 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
1413 db10cyc, db12cyc, db16cyc.
1415 2007-04-19 Nathan Froyd <froydnj@codesourcery.com>
1417 * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
1419 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1421 * i386-dis.c (CRC32_Fixup): New.
1422 (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
1424 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
1425 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1426 (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
1427 PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
1428 (three_byte_table): Likewise.
1430 * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
1432 * i386-opc.h (CpuSSE4_2): New.
1433 (CpuSSE4): Likewise.
1434 (CpuUnknownFlags): Add CpuSSE4_2.
1436 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1438 * i386-dis.c (XMM_Fixup): New.
1444 (PREGRP39 ... PREGRP85): New.
1445 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
1446 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1447 (prefix_user_table): Add PREGRP39 ... PREGRP85.
1448 (three_byte_table): Likewise.
1449 (putop): Handle 'K'.
1450 (intel_operand_size): Handle dqb_mode, dqd_mode):
1454 * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
1456 * i386-opc.h (CpuSSE4_1): New.
1457 (CpuUnknownFlags): Add CpuSSE4_1.
1458 (regKludge): Update comment.
1460 2007-04-18 Matthias Klose <doko@ubuntu.com>
1462 * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
1463 * Makefile.in: Regenerate.
1465 2007-04-14 Steve Ellcey <sje@cup.hp.com>
1467 * Makefile.am: Add ACLOCAL_AMFLAGS.
1468 * Makefile.in: Regenerate.
1470 2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
1472 * i386-dis.c: Remove trailing white spaces.
1473 * i386-opc.c: Likewise.
1474 * i386-opc.h: Likewise.
1476 2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
1479 * i386-dis.c (GRP1a): New.
1480 (GRP1b ... GRPPADLCK2): Update index.
1481 (dis386): Use GRP1a for entry 0x8f.
1482 (mod, rm, reg): Removed. Replaced by ...
1486 2007-04-09 Kazu Hirata <kazu@codesourcery.com>
1488 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
1489 info->print_address_func if longjmp is called.
1491 2007-03-29 DJ Delorie <dj@redhat.com>
1493 * m32c-desc.c: Regenerate.
1494 * m32c-dis.c: Regenerate.
1495 * m32c-opc.c: Regenerate.
1497 2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
1499 * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
1500 movq. Remove InvMem from sldt, smsw and str.
1502 * i386-opc.h (InvMem): Renamed to ...
1503 (RegMem): Update comments.
1504 (AnyMem): Remove InvMem.
1506 2007-03-27 Paul Brook <paul@codesourcery.com>
1508 * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
1510 2007-03-24 Paul Brook <paul@codesourcery.com>
1512 * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
1513 (print_insn_coprocessor): Handle %<bitfield>x.
1515 2007-03-24 Paul Brook <paul@codesourcery.com>
1516 Mark Shinwell <shinwell@codesourcery.com>
1518 * arm-dis.c (arm_opcodes): Print SRS base register.
1520 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
1522 * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
1524 * i386-opc.c (i386_optab): Add rex.wrxb.
1526 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1528 * i386-dis.c (REX_MODE64): Remove definition.
1529 (REX_EXTX): Likewise.
1530 (REX_EXTY): Likewise.
1531 (REX_EXTZ): Likewise.
1532 (USED_REX): Use REX_OPCODE instead of 0x40.
1533 Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
1534 REX_R, REX_X and REX_B respectively.
1536 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1539 * i386-dis.c (PREGRP38): New.
1540 (dis386): Use PREGRP38 for 0x90.
1541 (prefix_user_table): Add PREGRP38.
1542 (print_insn): Set uses_REPZ_prefix to 1 for pause.
1543 (NOP_Fixup1): Properly handle REX bits.
1544 (NOP_Fixup2): Likewise.
1546 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
1547 Allow register with nop.
1549 2007-03-20 DJ Delorie <dj@redhat.com>
1551 * m32c-asm.c: Regenerate.
1552 * m32c-desc.c: Regenerate.
1553 * m32c-desc.h: Regenerate.
1554 * m32c-dis.h: Regenerate.
1555 * m32c-ibld.c: Regenerate.
1556 * m32c-opc.c: Regenerate.
1557 * m32c-opc.h: Regenerate.
1559 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1561 * i386-opc.c: Include "libiberty.h".
1562 (i386_regtab): Remove the last entry.
1563 (i386_regtab_size): New.
1564 (i386_float_regtab_size): Likewise.
1566 * i386-opc.h (i386_regtab_size): New.
1567 (i386_float_regtab_size): Likewise.
1569 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1571 * Makefile.am (CFILES): Add i386-opc.c.
1572 (ALL_MACHINES): Add i386-opc.lo.
1574 * Makefile.in: Regenerated.
1576 * configure.in: Add i386-opc.lo for bfd_i386_arch.
1577 * configure: Regenerated.
1579 * i386-dis.c: Include "opcode/i386.h".
1580 (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
1581 (FWAIT_OPCODE): Remove definition.
1582 (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
1583 (MAX_OPERANDS): Remove definition.
1585 * i386-opc.c: New file.
1586 * i386-opc.h: Likewise.
1588 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1590 * Makefile.in: Regenerated.
1592 2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
1594 * i386-dis.c (OP_Rd): Renamed to ...
1599 2007-03-08 Alan Modra <amodra@bigpond.net.au>
1601 * fr30-asm.c: Regenerate.
1602 * frv-asm.c: Regenerate.
1603 * ip2k-asm.c: Regenerate.
1604 * iq2000-asm.c: Regenerate.
1605 * m32c-asm.c: Regenerate.
1606 * m32r-asm.c: Regenerate.
1607 * m32r-dis.c: Regenerate.
1608 * mt-asm.c: Regenerate.
1609 * mt-ibld.c: Regenerate.
1610 * mt-opc.c: Regenerate.
1611 * openrisc-asm.c: Regenerate.
1612 * xc16x-asm.c: Regenerate.
1613 * xstormy16-asm.c: Regenerate.
1615 * Makefile.am: Run "make dep-am".
1616 * Makefile.in: Regenerate.
1617 * po/POTFILES.in: Regenerate.
1619 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
1621 * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
1622 INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
1623 instruction formats added.
1624 (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
1625 MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
1627 * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
1629 * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1630 (main): z9-ec cpu type option added.
1631 * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1633 2007-02-22 DJ Delorie <dj@redhat.com>
1635 * s390-opc.c (INSTR_SS_L2RDRD): New.
1636 (MASK_SS_L2RDRD): New.
1637 * s390-opc.txt (pka): Use it.
1639 2007-02-20 Thiemo Seufer <ths@mips.com>
1640 Chao-Ying Fu <fu@mips.com>
1642 * mips-dis.c (mips_arch_choices): Add DSP R2 support.
1643 (print_insn_args): Add support for balign instruction.
1644 * mips-opc.c (D33): New shortcut for DSP R2 instructions.
1645 (mips_builtin_opcodes): Add DSP R2 instructions.
1647 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1649 * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
1650 (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
1651 * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
1652 cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
1654 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1656 * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
1657 * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
1658 (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
1661 2007-02-16 Nick Clifton <nickc@redhat.com>
1664 * avr-dis.c (comment_start): New variable, contains the prefix to
1665 use when printing addresses in comments.
1666 (print_insn_avr): Set comment_start to an empty space if there is
1667 no symbol table available as the generic address printing code
1668 will prefix the numeric value of the address with 0x.
1670 2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
1672 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
1675 2007-02-05 Dave Brolley <brolley@redhat.com>
1676 Richard Sandiford <rsandifo@redhat.com>
1677 DJ Delorie <dj@redhat.com>
1678 Graydon Hoare <graydon@redhat.com>
1679 Frank Ch. Eigler <fche@redhat.com>
1680 Ben Elliston <bje@redhat.com>
1682 * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
1683 (CFILES): Add mep-*.c
1684 (ALL_MACHINES): Add mep-*.lo.
1685 (CLEANFILES): Add stamp-mep.
1686 (CGEN_CPUS): Add mep.
1687 (MEP_DEPS): New variable.
1688 (mep-*): New targets.
1689 * configure.in: Handle bfd_mep_arch.
1690 * disassemble.c (ARCH_mep): New macro.
1691 (disassembler): Handle bfd_arch_mep.
1692 (disassemble_init_for_target): Likewise.
1693 * mep-*: New files for Toshiba Media Processor (MeP).
1694 * Makefile.in: Regenerated.
1695 * configure: Regenerated.
1697 2007-02-05 H.J. Lu <hongjiu.lu@intel.com>
1699 * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
1700 wrap around within the same segment in 16bit mode.
1702 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1704 * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
1707 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1709 * avr-dis.c (avr_operand): Correct PR number in comment.
1711 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1713 * disassemble.c (disassembler_usage): Call
1714 print_i386_disassembler_options for i386 disassembler.
1716 * i386-dis.c (print_i386_disassembler_options): New.
1717 (print_insn): Support the new addr64 option.
1719 2007-02-02 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
1721 * ppc-dis.c (powerpc_dialect): Handle ppc440.
1722 * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
1725 2007-02-02 Alan Modra <amodra@bigpond.net.au>
1727 * ppc-opc.c (insert_bdm): -Many comment.
1728 (valid_bo): Add "extract" param. Accept both powerpc and power4
1729 BO fields when disassembling with -Many.
1730 (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
1732 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
1734 * m68k-opc.c (m68k_opcodes): Replace cpu32 with
1735 cpu32 | fido_a except on tbl instructions.
1737 2007-01-04 Paul Brook <paul@codesourcery.com>
1739 * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
1741 2007-01-04 Andreas Schwab <schwab@suse.de>
1743 * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
1745 2007-01-04 Julian Brown <julian@codesourcery.com>
1747 * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
1748 vqrshl instructions.
1750 For older changes see ChangeLog-2006
1756 version-control: never