1 2007-11-14 H.J. Lu <hongjiu.lu@intel.com>
3 * ia64-ic.tbl: Updated for Itanium 9100 series.
4 * ia64-raw.tbl: Likewise.
5 * ia64-waw.tbl: Likewise.
6 * ia64-asmtab.c: Regenerated.
8 2007-11-14 Tristan Gingold <gingold@adacore.com>
10 * ia64-dis.c (print_insn_ia64): Handle ar.ruc.
11 * ia64-gen.c (lookup_regindex): Likewise.
13 2007-11-07 Jens Arnold <jens@jens-arnold.net>
16 * m68k-opc.c (m68k_opcodes): Fix coldfire msac.w instructions with
19 2007-11-07 Tristan Gingold <gingold@adacore.com>
21 * ia64-dis.c (print_insn_ia64): Generate symbolic names for cr
22 registers instead of register number.
24 2007-11-07 David O'Brien <obrien@FreeBSD.org>
26 * arm-dis.c (arm_opcodes): Remove superflous escapes of percent
29 2007-11-06 Peter Bergner <bergner@vnet.ibm.com>
31 * ppc-opc.c (powerpc_opcodes): Remove the dcffix and dcffix. opcodes
32 which are not included in the "Preliminary Decimal Floating-Point
33 Architecture" document.
35 2007-11-01 H.J. Lu <hongjiu.lu@intel.com>
37 * i386-gen.c (opcode_modifiers): Replace No_xSuf with
39 * i386-opc.tbl: Likewise.
41 * i386-opc.h (No_xSuf): Renamed to ...
45 2007-11-01 H.J. Lu <hongjiu.lu@intel.com>
47 * i386-gen.c (opcode_modifiers): Add ByteOkIntel, ToDword,
48 ToQword and AddrPrefixOp0.
50 * i386-opc.h (ByteOkIntel): New.
53 (AddrPrefixOp0): Likewise.
55 (i386_opcode_modifier): Add byteokintel, todword, toqword
58 * i386-opc.tbl (cvtss2si): Add ToQword.
59 (cvttss2si): Likewise.
60 (cvtsd2si): Add ToDword.
61 (cvttsd2si): Likewise.
62 (monitor): Add AddrPrefixOp0.
67 (pextrb): Add ByteOkIntel.
69 * i386-tbl.h: Regenerated.
71 2007-10-31 H.J. Lu <hongjiu.lu@intel.com>
73 * i386-dis.c (USE_REG_TABLE): Defined as the previous one + 1.
74 (USE_REG_TABLE): Likewise.
75 (USE_MOD_TABLE): Likewise.
76 (USE_RM_TABLE): Likewise.
77 (USE_PREFIX_TABLE): Likewise.
78 (USE_X86_64_TABLE): Likewise.
79 (USE_3BYTE_TABLE): Likewise.
81 2007-10-26 H.J. Lu <hongjiu.lu@intel.com>
83 * i386-dis.c (MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3): New.
86 (MOD_0FE7_PREFIX_2): Likewise.
87 (MOD_0F382A_PREFIX_2): Likewise.
88 (MOD_0F71_REG_2): Updated.
89 (MOD_0FF0_PREFIX_3): Likewise.
90 (MOD_62_32BIT): Likewise.
91 (dis386_twobyte): Use MOD_0F51 and MOD_0FD7.
92 (prefix_table): Use MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
93 MOD_0FE7_PREFIX_2 and MOD_0F382A_PREFIX_2.
94 (mod_table): Add MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
95 MOD_0F51, MOD_0FD7 and MOD_0F382A_PREFIX_2.
97 2007-10-26 Nick Clifton <nickc@redhat.com>
99 * arm-dis.c (print_insn): Check for a symtab that exists but is
102 2007-10-24 Alan Modra <amodra@bigpond.net.au>
104 * po/POTFILES.in: Regenerate.
106 2007-10-23 H.J. Lu <hongjiu.lu@intel.com>
108 * i386-dis.c (OP_SIMD_Suffix): Renamed to ...
109 (CMP_Fixup): This. Rewrite.
110 (OPSIMD): Renamed to ...
111 (CMP): This. Updated.
112 (prefix_table): Update PREFIX_0FC2 entry.
114 2007-10-22 H.J. Lu <hongjiu.lu@intel.com>
116 * i386-dis.c (prefix_table): Reordered by opcode.
117 (mod_table): Likewise.
119 2007-10-19 H.J. Lu <hongjiu.lu@intel.com>
121 * i386-dis.c (prefix_table): Use XS on psrldq and pslldq.
123 2007-10-17 Nathan Sidwell <nathan@codesourcery.com>
125 * m68k-opc.c (m68k_opcodes): Correct move sr and ccr masks for
128 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
130 * ppc-opc.c (powerpc_opcodes): Fix the first two operands of
131 dquaiq. to use the TE and FRT macros.
133 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
135 * ppc-opc.c (TE): Correct signedness.
136 (powerpc_opcodes): Sort psq_st and psq_stu according to major
139 2007-10-15 H.J. Lu <hongjiu.lu@intel.com>
141 * i386-dis.c (dis386_twobyte): Reformat.
142 (prefix_table): Likewise.
143 (three_byte_table): Likewise.
145 2007-10-15 Alan Modra <amodra@bigpond.net.au>
147 * mcore-dis.c (print_insn_mcore): Protect "fprintf" var against
150 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
152 * i386-gen.c (opcode_modifiers): Add FirstXmm0.
154 * i386-opc.h (FirstXmm0): New.
156 (i386_opcode_modifier): Add firstxmm0.
158 * i386-opc.tbl (blendvpd): Replace RegKludge with FirstXmm0.
159 (blendvps): Likewise.
160 (pblendvb): Likewise.
161 * i386-tbl.h: Regenerated.
163 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
165 * i386-dis.c (prefix_table): Reformat pblendvb and blendvps.
167 2007-10-10 H.J. Lu <hongjiu.lu@intel.com>
169 * i386-dis.c (v_mode): Defined as previous one + 1.
176 (cond_jump_mode): Likewise.
177 (loop_jcxz_mode): Likewise.
179 (dqw_mode): Likewise.
181 (const_1_mode): Likewise.
182 (stack_v_mode): Likewise.
185 (dqb_mode): Likewise.
186 (dqd_mode): Likewise.
225 (z_mode_ax_reg): Likewise.
226 (indir_dx_reg): Likewise.
228 (DREX_NO_OC0): Likewise.
229 (DREX_MASK): Likewise.
230 (MAX_BYTEMODE): New. Issue an error if MAX_BYTEMODE is not
233 2007-10-08 H.J. Lu <hongjiu.lu@intel.com>
235 * i386-dis.c: Updated comments for 'Y'.
236 (putop): Don't add 'q' for 'Y' if suffix_always isn't true.
238 2007-10-08 Maciej W. Rozycki <macro@linux-mips.org>
240 * opcodes/mips-dis.c (mips_cp0_names_r3000): New definition.
241 (mips_cp0_names_r4000): Likewise.
242 (mips_arch_choices): Link to the above as appropriate.
244 2007-10-08 Nick Clifton <nickc@redhat.com>
246 * configure.in (SHARED_DEPENDENCIES): Change non-cygwin dependency
247 to be ../bfd/libbfd.la.
248 * configure: Regenerate.
250 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
252 * i386-dis.c (dis386_twobyte): Add getsec.
254 * i386-gen.c (cpu_flags): Add CpuSMX.
256 * i386-opc.h (CpuSMX): New.
258 (i386_cpu_flags): Add cpusmx.
260 * i386-opc.tbl: Add getsec.
261 * i386-init.h: Regenerated.
262 * i386-tbl.h: Likewise.
264 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
266 * i386-dis.c (reg_table): Use "{ XX }" on "(bad)".
267 (prefix_table): Likewise.
269 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
271 * i386-dis.c (dis386_twobyte): Use EXx instead of EXq on
272 unpckhpX and unpckhpX.
274 2007-10-04 David Daney <ddaney@avtrex.com>
276 * mips-opc.c (mips_builtin_opcodes): Mark lwxc1 as working on FP_S
279 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
281 * i386-dis.c (MOD_0F12_PREFIX_0): Use "movlps" and "movhlps"
282 instead of "movlpX" and "movhlpX", respectively.
283 (MOD_0F16_PREFIX_0): Use "movhps" and "movlhps" instead of
284 "movhpX" and "movlhpX", respectively.
286 2007-10-04 Nick Clifton <nickc@redhat.com>
288 * configure.in (WIN32LDFLAGS): Rename to SHARED_LDFLAGS.
289 (WIN32LIBADD): Rename to SHARED_LIBADD
290 (SHARED_DEPENDENCIES): New exported variable.
291 (enable_shared): Add dependency upon libbfd.la for non-cygwin
292 based shared library builds.
293 * Makefile.am (libopcodes_la_DEPENDENCIES): Append
295 (libopcodes_la_LIBADD): Rename WIN32LIBADD to SHARED_LIBADD.
296 (libopcodes_la_LDFLAGS): Rename WIN32LDFLAGS to SHARED_LDFLAGS.
297 * configure: Regenerate.
298 * Makefile.in: Regenerate.
301 * arc-opc.c (insert_offset): Fix spelling mistake in error
304 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
306 * i386-dis.c (OP_REG): Set add to 0 only when needed.
315 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
317 * i386-opc.tbl: Update SSE comments.
319 2007-10-01 H.J. Lu <hongjiu.lu@intel.com>
321 * i386-dis.c (THREE_BYTE_0FBA): Renamed to ...
322 (THREE_BYTE_0F7B): This.
323 (dis386_twobyte): Updated.
324 (three_byte_table): Updated comments.
326 2007-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
328 * cr16-opc.c: Updated the branch on condition instructions with
331 2007-09-30 H.J. Lu <hongjiu.lu@intel.com>
333 * 386-dis.c (prefix_table): Reformat comment.
335 2007-09-29 H.J. Lu <hongjiu.lu@intel.com>
337 * 386-dis.c (USE_GROUPS): Renamed to ...
338 (USE_REG_TABLE): This.
339 (USE_OPC_EXT_TABLE): Renamed to ...
340 (USE_MOD_TABLE): This.
341 (USE_OPC_EXT_RM_TABLE): Renamed to ...
342 (USE_RM_TABLE): This.
343 (USE_XXX_TABLE): Reordered.
344 (GRP): Renamed to ...
346 (OPC_EXT_TABLE): Renamed to ...
348 (OPC_EXT_RM_TABLE): Renamed to ...
350 (GRP_XXX): Renamed to ...
352 (PREGRP_XXX): Renamed to ...
354 (OPC_EXT_XXX): Renamed to ...
356 (OPC_EXT_RM_XXX): Renamed to ...
358 (grps): Renamed to ...
360 (prefix_user_table): Renamed to ...
362 (opc_ext_table): Renamed to ...
364 (opc_ext_rm_table): Renamed to ...
366 (OPC_EXT_RM_XXX): Likewise.
368 (dis386_twobyte): Likewise.
369 (reg_table): Likewise.
370 (prefix_table): Likewise.
371 (x86_64_table): Likewise.
372 (three_byte_table): Likewise.
373 (mod_table): Likewise.
374 (rm_table): Likewise.
375 (get_valid_dis386): Likewise.
377 2007-09-28 H.J. Lu <hongjiu.lu@intel.com>
379 * 386-dis.c (USE_PREFIX_USER_TABLE): Renamed to ...
380 (USE_PREFIX_TABLE): This.
381 (X86_64_SPECIAL): Renamed to ...
382 (USE_X86_64_TABLE): This.
383 (IS_3BYTE_OPCODE): Renamed to ...
384 (USE_3BYTE_TABLE): This.
386 (PREGRPXXX): Likewise.
387 (X86_64_XXX): Likewise.
388 (THREE_BYTE_XXX): Likewise.
389 (OPC_EXT_XXX): Likewise.
390 (OPC_EXT_RM_XXX): Likewise.
394 (X86_64_TABLE): Likewise.
395 (THREE_BYTE_TABLE): Likewise.
396 (OPC_EXT_TABLE): Likewise.
397 (OPC_EXT_RM_TABLE): Likewise.
399 (PREGRP_XXX): Likewise.
400 (X86_64_XXX): Likewise.
401 (THREE_BYTE_XXX): Likewise.
402 (OPC_EXT_XXX): Likewise.
403 (OPC_EXT_RM_XXX): Likewise.
405 (dis386_twobyte): Likewise.
407 (prefix_user_table): Likewise.
408 (x86_64_table): Likewise.
409 (three_byte_table): Likewise.
410 (opc_ext_table): Likewise.
411 (opc_ext_rm_table): Likewise.
412 (get_valid_dis386): Likewise.
414 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
416 * i386-dis.c (dis386): Swap X86_64_27 with OPC_EXT_2.
417 (x86_64_table): Likewise.
418 (opc_ext_table): Likewise.
420 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
423 * i386-dis.c: Update comments on '{', '}' and '|' to support
424 only AT&T and Intel modes.
425 (X86_64_4...X86_64_27): New.
426 (dis386): Updated. Use X86_64_4...X86_64_21.
427 (dis386_twobyte): Updated.
428 (float_mem): Likewise.
429 (x86_64_table): Add X86_64_4...X86_64_27.
430 (opc_ext_table): Updated. Use X86_64_22...X86_64_27.
431 (putop): Updated handling of '{', '}' and '|' to support only
432 AT&T and Intel modes.
434 2007-09-27 Kazu Hirata <kazu@codesourcery.com>
436 * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb.
438 2007-09-26 James E. Wilson <wilson@specifix.com>
440 * ia64-gen.c (print_dependency_table): Fix typo in last patch.
442 2007-09-26 Nick Clifton <nickc@redhat.com>
444 * mt-asm.c (parse_imm16): Reword error message in order to allow
445 it to be translated properly.
446 * ia64-gen.c (print_dependency_table): Likewise.
447 * mips-dis.c (print_insn_args): Likewise.
449 2007-09-26 Jan Beulich <jbeulich@novell.com>
451 * i386-dis.c (OP_E_extended): Distinguish rip- and eip-
452 relative addressing. Update used_prefixes based on whether any
453 base or index register was printed.
455 2007-09-26 Jan Beulich <jbeulich@novell.com>
457 * i386-opc.h (RegEip): Define.
459 * i386-reg.tbl: Add eip. Mark rip and eip with RegRex64.
460 * i386-tbl.h: Re-generate.
462 2007-09-25 H.J. Lu <hongjiu.lu@intel.com>
464 * i386-gen.c (process_i386_opcodes): Process opcode_length.
466 * i386-opc.h (template): Add opcode_length.
467 * 386-opc.tbl: Likewise.
468 * i386-tbl.h: Regenerated.
470 2007-09-21 H.J. Lu <hongjiu.lu@intel.com>
472 * i386-opc.h: Adjust whitespaces.
474 2007-09-21 Dave Brolley <brolley@redhat.com>
476 * mep-desc.c: Regenerated.
478 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
480 * i386-dis.c (OP_E_extended): Display eiz for [eiz*1 + offset].
482 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
485 * 386-dis.c (index64): New.
487 (intel_index64): Likewise.
488 (intel_index32): Likewise.
489 (att_index64): Likewise.
490 (att_index32): Likewise.
491 (print_insn): Set index64 and index32.
492 (OP_E_extended): Use index64/index32 for index register for
495 * i386-opc.h (RegEiz): New.
498 * i386-reg.tbl: Add eiz and riz.
499 * i386-tbl.h: Regenerated.
501 2007-09-19 H.J. Lu <hongjiu.lu@intel.com>
503 * i386-dis.c (OP_E_extended): Always display scale for memory.
505 2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
507 * i386-opc.h (RegRip): New.
509 * i386-reg.tbl (rip): Use RegRip for reg_num.
510 * i386-tbl.h: Regenerated.
512 2007-09-17 Nick Clifton <nickc@redhat.com>
514 * po/es.po: Updated Spanish translation.
516 2007-09-14 H.J. Lu <hongjiu.lu@intel.com>
518 * Makefile.am: Run "make dep-am".
519 * Makefile.in: Regenerate.
521 2007-09-14 Michael Meissner <michael.meissner@amd.com>
522 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
523 Tony Linthicum <tony.linthicum@amd.com>
525 * i386-opc.h (CpuSSE5): New macro.
526 (i386_cpu_flags): Add Drex, Drexv and Drexc.
528 * i386-gen.c (cpu_flag_init): Add CPU_SSE5_FLAGS.
529 (operand_type_init): Add CpuSSE5.
530 (opcode_modifiers): Add Drex, Drexv and Drexc.
531 (i386_opcode_modifier): Ditto.
533 * i386-opc.tbl (fmaddps,fmaddpd,fmaddss,fmaddsd): Define SSE5
535 (fmsubps,fmsubpd,fmsubss,fmsubsd): Ditto.
536 (fnmaddps,fnmaddpd,fnmaddss,fnmaddsd): Ditto.
537 (fnmsubps,fnmsubpd,fnmsubss,fnmsubsd): Ditto.
538 (pmacssww,pmacsww,pmacsswd,pmacswd): Ditto.
539 (pmacssdd,pmacsdd,pmacssdql,pmacssdqh): Ditto.
540 (pmacsdql,pmacsdqh,pmadcsswd,pmadcswd): Ditto.
541 (phaddbw,phaddbd,phaddbq,phaddwd): Ditto.
542 (phaddwq,phadddq,phaddubw,phaddubd): Ditto.
543 (phaddubq,phadduwd,phadduwq,phaddudq): Ditto.
544 (phsubbw,phsubwd,phsubdq): Ditto.
545 (pcmov,pperm,permps,permpd): Ditto.
546 (protb,protw,protd,protq): Ditto.
547 (pshlb,pshlw,pshld,pshlq): Ditto.
548 (pshab,pshaw,pshad,pshaq): Ditto.
549 (comps,comeqps,comltps,comungeps,comleps,comungtps): Ditto.
550 (comunordps,comneps,comneqps,comnltps,comugeps): Ditto.
551 (comnleps,comugtps,comordps,comueqps,comultps): Ditto.
552 (comngeps,comuleps,comngtps,comfalseps,comuneps): Ditto.
553 (comuneqps,comunltps,comgeps,comunleps,comgtps,comtrueps): Ditto.
554 (compd,comeqpd,comltpd,comungepd,comlepd,comungtpd,comunordpd): Ditto.
555 (comnepd,comneqpd,comnltpd,comugepd,comnlepd,comugtpd): Ditto.
556 (comordpd,comueqpd,comultpd,comngepd,comulepd,comngtpd): Ditto.
557 (comfalsepd,comunepd,comuneqpd,comunltpd,comgepd): Ditto.
558 (comunlepd,comgtpd,comtruepd): Ditto.
559 (comss,comeqss,comltss,comungess,comless,comungtss,comunordss): Ditto.
560 (comness,comneqss,comnltss,comugess,comnless,comugtss): Ditto.
561 (comordss,comueqss,comultss,comngess,comuless,comngtss): Ditto.
562 (comfalsess,comuness,comuneqss,comunltss,comgess): Ditto.
563 (comunless,comgtss,comtruess): Ditto.
564 (comsd,comeqsd,comltsd,comungesd,comlesd,comungtsd,comunordsd): Ditto.
565 (comnesd,comneqsd,comnltsd,comugesd,comnlesd,comugtsd): Ditto.
566 (comordsd,comueqsd,comultsd,comngesd,comulesd,comngtsd): Ditto.
567 (comfalsesd,comunesd,comuneqsd,comunltsd,comgesd): Ditto.
568 (comunlesd,comgtsd,comtruesd): Ditto.
569 (pcomub,pcomltub,pcomleub,pcomgtub,pcomgeub,pcomequb): Ditto.
570 (pcomnequb,pcomneub): Ditto.
571 (pcomuw,pcomltuw,pcomleuw,pcomgtuw,pcomgeuw,pcomequw): Ditto.
572 (pcomnequw,pcomneuw): Ditto.
573 (pcomud,pcomltud,pcomleud,pcomgtud,pcomgeud,pcomequd): Ditto.
574 (pcomnequd,pcomneud): Ditto.
575 (pcomuq,pcomltuq,pcomleuq,pcomgtuq,pcomgeuq,pcomequq): Ditto.
576 (pcomnequq,pcomneuq): Ditto.
577 (pcomb,pcomltb,pcomleb,pcomgtb,pcomgeb,pcomeqb): Ditto.
578 (pcomneqb,pcomneb): Ditto.
579 (pcomw,pcomltw,pcomlew,pcomgtw,pcomgew,pcomeqw): Ditto.
580 (pcomneqw,pcomnew): Ditto.
581 (pcomd,pcomltd,pcomled,pcomgtd,pcomged,pcomeqd): Ditto.
582 (pcomneqd,pcomned): Ditto.
583 (pcomq,pcomltq,pcomleq,pcomgtq,pcomgeq): Ditto.
584 (pcomeqq,pcomneqq,pcomneq): Ditto.
585 (pcomtrueb, pcomtruew, pcomtrued, pcomtrueq): Ditto.
586 (pcomtrueub, pcomtrueuw, pcomtrueud, pcomtrueuq): Ditto.
587 (pcomfalseb, pcomfalsew, pcomfalsed, pcomfalseq): Ditto.
588 (pcomfalseub, pcomfalseuw, pcomfalseud, pcomfalseuq): Ditto.
589 (frczps,frczpd,frczss,frczsd): Ditto.
590 (cvtph2ps,cvtps2ph): Ditto.
592 * i386-tbl.h: Regenerate from i386-opc.tbl.
593 * i386-init.h: Likewise.
595 * i386-dis.c (libiberty.h): Include to get ARRAY_SIZE.
596 (dis386_move_test): New disassembly support for move from test
597 register instruction that overlaps with SSE5 instructions.
598 (print_insn): Add support for special casing the i386/i486 move
599 from test register instruction that overlaps with the SSE5
600 0x0f24 4 operand instructions.
601 (OP_DREX_ICMP): New macros for SSE5 DREX handling.
602 (OP_DREX_FCMP): Ditto.
603 (OP_E_extended): Rename from OP_E, add additional argument to skip
605 (OP_E): Call OP_E_extended.
606 (DREX_REG_MEMORY): New macros for drex handling.
607 (DREX_REG_UNKNOWN): Ditto.
609 (DREX4_NO_OC0): Ditto.
611 (three_byte_table): Add SSE5 instructions.
612 (print_drex_arg): New function to print a DREX register or memory
614 (OP_DREX4): New function for handling DREX 4 argument ops.
615 (OP_DREX3): New function for handling DREX 3 argument ops.
616 (twobyte_has_modrm): 0f{25,7a,7b} all use the modrm byte.
617 (THREE_BYTE_SSE5_0F{24,25,7A,7B}): New macros for initializing 3
618 byte opcode support for SSE5 instructions.
619 (dis386_twobyte): Add SSE5 24/25/7a/7b support.
620 (three_byte_table): Add rows for describing SSE5 instructions.
622 2007-09-13 H.J. Lu <hongjiu.lu@intel.com>
624 * i386-dis.c (get_valid_dis386): Take a pointer to
625 disassemble_info. Handle IS_3BYTE_OPCODE.
626 (print_insn): Updated. Don't handle IS_3BYTE_OPCODE here.
628 2007-09-12 H.J. Lu <hongjiu.lu@intel.com>
630 * i386-opc.h (CpuUnused): Defined with CpuMax.
631 (OTUnused): Defined with OTMax.
633 2007-09-12 Jan Beulich <jbeulich@novell.com>
635 * i386-opc.tbl: Add two-operand forms of blendvps, blendvpd, and
637 * i386-tbl.h: Regenerate.
639 2007-09-09 H.J. Lu <hongjiu.lu@intel.com>
641 * i386-gen.c (main): Remove the local variable, unused.
643 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
645 * Makefile.am: Run "make dep-am".
646 * Makefile.in: Regenerate.
648 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
650 * configure.in (AC_CHECK_HEADERS): Add limits.h.
651 * configure: Regenerated.
652 * config.in: Likewise.
654 * i386-gen.c: Include "sysdep.h" instead of <stdlib.h> and
655 <string.h>. Use xstrerror instead of strerror.
657 (cpu_flag_init): Likewise.
658 (bitfield): Likewise.
660 (cpu_flags): Likewise.
661 (opcode_modifiers): Likewise.
662 (operand_types): Likewise.
664 (set_cpu_flags): Likewise.
665 (output_cpu_flags): Likewise.
666 (process_i386_cpu_flags): Likewise.
667 (output_opcode_modifier): Likewise.
668 (process_i386_opcode_modifier): Likewise.
669 (output_operand_type): Likewise.
670 (process_i386_operand_type): Likewise.
671 (set_bitfield): Likewise.
672 (operand_type_init): Likewise.
673 (process_i386_initializers): Likewise.
674 (process_i386_opcodes): Call process_i386_opcode_modifier to
675 process opcode_modifier. Call process_i386_operand_type to
676 process operand_types.
677 (process_i386_registers): Call process_i386_operand_type to
679 (main): Check unused bits in i386_cpu_flags and i386_operand_type.
680 Sort cpu_flags, opcode_modifiers and operand_types. Call
681 process_i386_initializers.
684 * i386-tbl.h: Regenerated.
686 * i386-opc.h: Include <limits.h>.
687 (CHAR_BIT): Define as 8 if not defined.
688 (Cpu186): Changed to position of bitfiled.
701 (Cpu3dnow): Likewise.
702 (Cpu3dnowA): Likewise.
704 (CpuPadLock): Likewise.
707 (CpuSSSE3): Likewise.
708 (CpuSSE4a): Likewise.
710 (CpuSSE4_1): Likewise.
711 (CpuSSE4_2): Likewise.
717 (ShortForm): Likewise.
719 (JumpDword): Likewise.
720 (JumpByte): Likewise.
721 (JumpInterSegment): Likewise.
728 (IgnoreSize): Likewise.
729 (DefaultSize): Likewise.
737 (IsString): Likewise.
738 (RegKludge): Likewise.
739 (IsPrefix): Likewise.
748 (FloatReg): Likewise.
758 (BaseIndex): Likewise.
764 (InOutPortReg): Likewise.
765 (ShiftCount): Likewise.
772 (FloatAcc): Likewise.
773 (JumpAbsolute): Likewise.
777 (Reg): Commented out.
779 (ImplicitRegister): Likewise.
784 (LLongMem): Likewise.
786 (ShortMem): Likewise.
791 (CpuNumOfUints): Likewise.
792 (CpuNumOfBits): Likewise.
793 (CpuUnused): Likewise.
794 (OTNumOfUints): Likewise.
795 (OTNumOfBits): Likewise.
796 (OTUnused): Likewise.
797 (i386_cpu_flags): New type.
798 (i386_operand_type): Likewise.
799 (i386_opcode_modifier): Likewise.
800 (CpuSledgehammer): Removed.
802 (CpuUnknownFlags): Likewise.
805 (ImplicitRegister): Likewise.
810 (LLongMem): Likewise.
812 (ShortMem): Likewise.
815 (template): Use i386_cpu_flags for cpu_flags, use
816 i386_opcode_modifier for opcode_modifier, use
817 i386_operand_type for operand_types.
818 (reg_entry): Use i386_operand_type for reg_type.
820 * Makefile.am (HFILES): Add i386-init.h.
821 ($(srcdir)/i386-init.h): New rule.
822 ($(srcdir)/i386-tbl.h): Depend on $(srcdir)/i386-init.h
824 * Makefile.in: Regenerated.
826 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
828 * i386-gen.c (next_field): Updated to take a separator.
829 (process_i386_opcodes): Updated.
830 (process_i386_registers): Likewise.
832 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
834 * i386-gen.c (table): Moved ...
835 (main): Here. Call process_copyright to output copyright.
836 (process_copyright): New.
837 (process_i386_opcodes): Take FILE *table.
838 (process_i386_registers): Likewise.
840 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
842 * i386-gen.c (table): New.
843 (process_i386_opcodes): Report errno when faied to open
844 i386-opc.tbl. Output opcodes to table. Close i386-opc.tbl
846 (process_i386_registers): Report errno when faied to open
847 i386-reg.tbl. Output opcodes to table. Close i386-reg.tbl
849 (main): Open i386-tbl.h for output.
851 * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@".
852 * Makefile.in: Regenerated.
854 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
856 * i386-opc.tbl: Correct SVME instructions to allow 32bit register
857 operand in 64bit mode.
858 * i386-tbl.h: Regenerated.
860 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
862 * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
863 (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
864 (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
866 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
868 * i386-dis.c (SVME_Fixup): Removed.
870 (OPC_EXT_RM_6): Likewise.
871 (grps): Use OPC_EXT_39.
872 (opc_ext_table): Add OPC_EXT_39.
873 (opc_ext_rm_table): Add OPC_EXT_RM_6.
875 * i386-opc.tbl: Correct SVME instructions to take register
877 * i386-tbl.h: Regenerated.
879 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
881 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
882 * Makefile.in: Regenerated.
884 * configure.in (AC_GNU_SOURCE): Added.
885 (AC_PROG_CC): Moved before AC_GNU_SOURCE.
886 (AC_CHECK_DECLS): Add stpcpy.
887 * configure: Regenerated.
888 * config.in: Likewise.
890 * i386-dis.c: Include "sysdep.h" before "dis-asm.h".
892 * sysdep.h (stpcpy): New.
894 2007-08-30 H.J. Lu <hongjiu.lu@intel.com>
896 * i386-dis.c (INVLPG_Fixup): Removed.
898 (OPC_EXT_RM_5): Likewise.
899 (grps): Use OPC_EXT_38.
900 (opc_ext_table): Add OPC_EXT_38.
901 (opc_ext_rm_table): Add OPC_EXT_RM_5.
903 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
905 * i386-dis.c (SIMD_Fixup): Removed.
906 (OPC_EXT_34...OPC_EXT_37): New.
907 (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
908 (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
909 (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
911 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
913 * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
914 (dis386): Use OPC_EXT_0...OPC_EXT_2.
915 (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
916 (grps): Updated to use OPC_EXT_6...OPC_EXT_31.
917 (prefix_user_table): Use OPC_EXT_32.
918 (x86_64_table): Use OPC_EXT_33.
919 (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
921 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
923 * i386-dis.c (prefix_user_table): Fix comment.
925 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
927 * i386-dis.c (OP_Skip_MODRM): New.
928 (OP_Monitor): Likewise.
929 (OP_Mwait): Likewise.
931 (Skip_MODRM): Likewise.
932 (USE_OPC_EXT_TABLE): Likewise.
933 (USE_OPC_EXT_RM_TABLE): Likewise.
934 (PREGRP98...PREGRP100): Likewise.
935 (OPC_EXT_0...OPC_EXT_24): Likewise.
936 (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
937 (lock_prefix): Likewise.
938 (data_prefix): Likewise.
939 (addr_prefix): Likewise.
940 (repz_prefix): Likewise.
941 (repnz_prefix): Likewise.
942 (opc_ext_table): Likewise.
943 (opc_ext_rm_table): Likewise.
944 (get_valid_dis386): Likewise.
947 (PNI_Fixup): Likewise.
948 (VMX_Fixup): Likewise.
950 (twobyte_uses_DATA_prefix): Likewise.
951 (twobyte_uses_REPNZ_prefix): Likewise.
952 (twobyte_uses_REPZ_prefix): Likewise.
953 (threebyte_0x38_uses_DATA_prefix): Likewise.
954 (threebyte_0x38_uses_REPNZ_prefix): Likewise.
955 (threebyte_0x38_uses_REPZ_prefix): Likewise.
956 (threebyte_0x3a_uses_DATA_prefix): Likewise.
957 (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
958 (threebyte_0x3a_uses_REPZ_prefix): Likewise.
959 (grps): Use OPC_EXT_0...OPC_EXT_24.
960 (prefix_user_table): Add PREGRP98...PREGRP100.
961 (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
962 uses_REPNZ_prefix and uses_REPZ_prefix. Initialize
963 repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
964 data_prefix based on prefixes. Call get_valid_dis386 to
965 get a pointer to the valid dis386. Print out prefixes if
967 (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
968 (REP_Fixup): Set repz_prefix to "rep " when seeing
971 2007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
973 * po/nl.po: Updated translation.
975 2007-08-28 H.J. Lu <hongjiu.lu@intel.com>
977 * i386-dis.c (Md): New.
978 (grps): Use 0 on invlpg. Use M on fxsave and fxrstor. Use
979 Md on ldmxcsr and stmxcsr. Use b_mode on clflush.
980 (OP_0fae): Clear bytemode for sfence.
982 2007-08-22 Ben Elliston <bje@au.ibm.com>
984 * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
985 (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
987 (powerpc_opcodes): Add all pair singles instructions.
988 * ppc-dis.c (powerpc_dialect): Handle "ppcps".
989 (print_ppc_disassembler_options): Document -Mppcps.
991 2007-08-21 Andreas Krebbel <krebbel1@de.ibm.com>
993 * s390-mkopc.c (struct s390_cond_ext_format): New global struct.
994 (s390_cond_ext_format): New global variable.
995 (expandConditionalJump): New function.
996 (main): Invoke expandConditionalJump for mnemonics containing '*'.
997 * s390-opc.txt: Replace mnemonics with conditional
998 mask extensions with instructions using the newly introduced '*' tag.
1000 2007-08-17 Alan Modra <amodra@bigpond.net.au>
1002 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
1004 2007-08-10 Nick Clifton <nickc@redhat.com>
1006 * po/fi.po: Updated Finnish translation.
1007 * po/ga.po: Updated Irish translation.
1008 * po/vi.po: Updated Vietnamese translation.
1010 2007-08-09 H.J. Lu <hongjiu.lu@intel.com>
1012 * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
1013 pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
1014 * i386-tbl.h: Regenerated.
1016 2007-08-03 James E. Wilson <wilson@specifix.com>
1018 * ia64-gen.c: (main): Add missing newline to copyright message.
1019 * ia64-ic.tbl (fp-non-arith): Add xmpy.
1020 * ia64-asmtab.c: Regenerate.
1022 2007-08-01 Michael Snyder <msnyder@access-company.com>
1024 * i386-dis.c (print_insn): Guard against NULL.
1026 2007-07-29 H.J. Lu <hongjiu.lu@intel.com>
1029 * i386-dis.c (EXw): New.
1030 (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
1031 instructions when appropriated.
1033 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
1036 * i386-dis.c (Eq): New.
1037 (EMC): Renamed to ...
1038 (EMCq): This. Use q_mode instead of v_mode.
1039 (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
1042 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
1044 * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
1045 (prefix_user_table): Likewise. Use EXq instead of EXx on
1048 2007-07-27 Nathan Sidwell <nathan@codesourcery.com>
1050 * ppc-opc (PPC7450): New.
1051 (powerpc_opcodes): Use it in dcba.
1053 2007-07-24 H.J. Lu <hongjiu.lu@intel.com>
1055 * i386-gen.c (main): Print a newline after copyright notice.
1057 2007-07-19 Nick Clifton <nickc@redhat.com>
1060 * maxq-dis.c (get_reg_name): Fix the scan of the
1061 mem_access_syntax_table.
1063 2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
1065 * i386-dis.c (EMq): Removed.
1067 (prefix_user_table): Replace EMq with EMx.
1069 2007-07-16 Nick Clifton <nickc@redhat.com>
1071 * po/nl.po: Updated translation.
1073 2007-07-12 Nick Clifton <nickc@redhat.com>
1075 * po/vi.po: Updated translation.
1076 * po/nl.po: Updated translation.
1078 2007-07-06 Mark Kettenis <kettenis@gnu.org>
1079 H.J. Lu <hongjiu.lu@intel.com>
1081 * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
1082 (ia64-asmtab.c): Likewise.
1083 * Makefile.in: Regenerate.
1085 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
1087 * aclocal.m4: Regenerated.
1089 2007-07-04 Nick Clifton <nickc@redhat.com>
1091 * alpha-dis.c: Update copyright notice to refer to GPLv3.
1092 * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h,
1093 arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c,
1094 cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in,
1095 cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c,
1096 cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c,
1097 d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c,
1098 dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c,
1099 h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c,
1100 i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c,
1101 ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c,
1102 ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c,
1103 ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c,
1104 m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c,
1105 m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c,
1106 mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c,
1107 mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c,
1108 or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c,
1109 ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c,
1110 score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h,
1111 sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c,
1112 spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c,
1113 tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c,
1114 vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c,
1115 z8k-dis.c, z8kgen.c: Likewise.
1116 * i386-opc.tbl, i386-reg.tbl: Add copyright notice.
1117 * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h,
1118 fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c,
1119 frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c,
1120 frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c,
1121 ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h,
1122 iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c,
1123 iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c,
1124 m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c,
1125 m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
1126 m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c,
1127 mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c,
1128 mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c,
1129 mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c,
1130 openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c,
1131 openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h,
1132 xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h,
1133 xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h,
1134 xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c,
1135 xstormy16-opc.h, z8k-opc.h: Regenerated
1137 2007-07-04 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1139 * cr16-dis.c (getcinvstring): Add const qualifier to char *
1141 (print_insn_cr16): Remove cast to char *.
1143 2007-07-03 Nathan Sidwell <nathan@codesourcery.com>
1145 * m68k-dis.c (fetch_arg): Add E. Replace length switch with
1147 (print_ins_arg): Add j & K operand types.
1148 (match_insn_m68k): Check and skip initial '.' arg character.
1149 (m68k_scan_mask): Likewise.
1150 * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
1152 2007-07-02 Alan Modra <amodra@bigpond.net.au>
1154 * Makefile.am: Run "make dep-am".
1155 * Makefile.in: Regenerate.
1156 * aclocal.m4: Regenerate.
1157 * config.in: Regenerate.
1158 * po/POTFILES.in: Regenerate.
1159 * po/opcodes.pot: Regenerate.
1161 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
1163 * aclocal.m4: Regenerated.
1164 * Makefile.in: Likewise.
1166 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
1168 * i386-reg.tbl: Remove spaces before comments.
1170 2007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1172 * cr16-opc.c: New file.
1173 * cr16-dis.c: New file.
1174 * Makefile.am: Entries for cr16.
1175 * Makefile.in: Regenerate.
1176 * cofigure.in: Add cr16 target information.
1177 * configure : Regenerate.
1178 * disassemble.c: Add cr16 target information.
1180 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
1182 * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
1183 (CFILES): Add i386-gen.c.
1184 (i386-gen): New rule.
1185 (i386-gen.o): Likewise.
1186 (i386-tbl.h): Likewise.
1188 * Makefile.in: Regenerated.
1190 * i386-gen.c: New file.
1191 * i386-opc.tbl: Likewise.
1192 * i386-reg.tbl: Likewise.
1193 * i386-tbl.h: Likewise.
1195 * i386-opc.c: Include "i386-tbl.h".
1196 (i386_optab): Removed.
1197 (i386_regtab): Likewise.
1198 (i386_regtab_size): Likewise.
1200 2007-06-26 Paul Brook <paul@codesourcery.com>
1202 * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
1204 2007-06-25 H.J. Lu <hongjiu.lu@intel.com>
1206 * i386-opc.h (regKludge): Renamed to ...
1209 * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
1211 2007-06-23 H.J. Lu <hongjiu.lu@intel.com>
1214 * i386-dis.c (EX): Removed.
1220 (PREGRP93...PREGRP97): Likewise.
1221 (dis386_twobyte): Updated.
1222 (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
1223 (OP_EX): Remove Intel syntax handling.
1225 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
1227 * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
1229 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
1231 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
1233 * acinclude.m4: Removed.
1235 * Makefile.in: Regenerated.
1236 * doc/Makefile.in: Likewise.
1237 * aclocal.m4: Likewise.
1238 * configure: Likewise.
1240 2007-06-05 Paul Brook <paul@codesourcery.com>
1242 * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
1244 2007-05-24 Steve Ellcey <sje@cup.hp.com>
1246 * Makefile.in: Regnerate.
1247 * configure: Regenerate.
1248 * aclocal.m4: Regenerate.
1250 2007-05-18 Alan Modra <amodra@bigpond.net.au>
1252 * ppc-dis.c (print_insn_powerpc): Don't skip all operands
1253 after setting skip_optional.
1255 2007-05-16 Peter Bergner <bergner@vnet.ibm.com>
1257 * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
1258 (print_insn_powerpc): Use the new operand_value_powerpc and
1259 skip_optional_operands functions to omit or print all optional
1260 operands as a group.
1261 * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
1262 (XFL_MASK): Delete L and W bits from the mask.
1263 (mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK
1264 with XWRA_MASK. Use W.
1265 (mtfsf, mtfsf.): Use XFL_L and W.
1267 2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
1270 * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
1272 2007-05-10 H.J. Lu <hongjiu.lu@intel.com>
1274 * i386-opc.h (ShortForm): Redefined.
1276 (JumpDword): Likewise.
1277 (JumpByte): Likewise.
1278 (JumpInterSegment): Likewise.
1279 (FloatMF): Likewise.
1285 (IgnoreSize): Likewise.
1286 (DefaultSize): Likewise.
1287 (No_bSuf): Likewise.
1288 (No_wSuf): Likewise.
1289 (No_lSuf): Likewise.
1290 (No_sSuf): Likewise.
1291 (No_qSuf): Likewise.
1292 (No_xSuf): Likewise.
1294 (IsString): Likewise.
1295 (regKludge): Likewise.
1296 (IsPrefix): Likewise.
1298 (NoRex64): Likewise.
1302 2007-05-07 H.J. Lu <hongjiu.lu@intel.com>
1304 * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
1305 for some SSE4 instructions.
1306 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1308 2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
1310 * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
1312 * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
1315 2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
1317 * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
1318 check data size prefix in 16bit mode.
1320 * i386-opc.c (i386_optab): Default crc32 to non-8bit and
1323 2007-04-30 Mark Salter <msalter@redhat.com>
1325 * frv-desc.c: Regenerate.
1326 * frv-desc.h: Regenerate.
1328 2007-04-30 Alan Modra <amodra@bigpond.net.au>
1331 * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
1333 2007-04-27 H.J. Lu <hongjiu.lu@intel.com>
1335 * i386-dis.c (modrm): Put reg before rm.
1337 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1340 * i386-dis.c (print_displacement): New.
1341 (OP_E): Call print_displacement instead of print_operand_value
1342 to output displacement when either base or index exist. Print
1343 the explicit zero displacement in 16bit mode.
1345 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1348 * i386-dis.c (print_insn): Also swap the order of op_riprel
1349 when swapping op_index. Break when the RIP relative address
1351 (OP_E): Properly handle RIP relative addressing and print the
1352 explicit zero displacement for Intel mode.
1354 2007-04-27 Alan Modra <amodra@bigpond.net.au>
1356 * Makefile.am: Run "make dep-am".
1357 * Makefile.in: Regenerate.
1358 * ns32k-dis.c: Include sysdep.h first.
1360 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
1362 * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
1364 * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
1366 2007-04-24 Nick Clifton <nickc@redhat.com>
1368 * arm-dis.c (print_insn): Initialise type.
1370 2007-04-24 Alan Modra <amodra@bigpond.net.au>
1372 * cgen-types.h: Include bfd_stdint.h, not stdint.h.
1373 * Makefile.am: Run "make dep-am".
1374 * Makefile.in: Regenerate.
1376 2007-04-23 Nathan Sidwell <nathan@codesourcery.com>
1378 * m68k-opc.c: Mark mcfisa_c instructions.
1380 2007-04-21 Richard Earnshaw <rearnsha@arm.com>
1382 * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
1383 (thumb_opcodes): Add missing white space in adr.
1384 (arm_decode_shift): New parameter, print_shift. Only decode the
1385 shift parameter if set. Adjust callers.
1386 (print_insn_arm): Support for operand type q with no shift decode.
1388 2007-04-21 Alan Modra <amodra@bigpond.net.au>
1390 * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
1392 (i386_regtab): ..here.
1393 * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
1395 * ppc-opc.c (powerpc_operands): Delete duplicate entries.
1396 (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
1397 (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
1398 (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
1400 2007-04-20 Nathan Sidwell <nathan@codesourcery.com>
1402 * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
1405 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1407 * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
1409 * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
1410 in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove
1411 references to following deleted functions.
1412 (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
1413 (insert_ds, extract_ds, insert_de, extract_de): Delete.
1414 (insert_des, extract_des, insert_li, extract_li): Delete.
1415 (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
1416 (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
1417 (num_powerpc_operands): New constant.
1418 (XSPRG_MASK): Remove entire SPRG field.
1419 (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
1421 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1423 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
1425 (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
1427 2007-04-20 Richard Earnshaw <rearnsha@arm.com>
1429 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
1432 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1434 * Makefile.am: Run "make dep-am".
1435 * Makefile.in: Regenerate.
1436 * po/POTFILES.in: Regenerate.
1438 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1440 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
1441 db10cyc, db12cyc, db16cyc.
1443 2007-04-19 Nathan Froyd <froydnj@codesourcery.com>
1445 * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
1447 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1449 * i386-dis.c (CRC32_Fixup): New.
1450 (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
1452 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
1453 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1454 (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
1455 PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
1456 (three_byte_table): Likewise.
1458 * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
1460 * i386-opc.h (CpuSSE4_2): New.
1461 (CpuSSE4): Likewise.
1462 (CpuUnknownFlags): Add CpuSSE4_2.
1464 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1466 * i386-dis.c (XMM_Fixup): New.
1472 (PREGRP39 ... PREGRP85): New.
1473 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
1474 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1475 (prefix_user_table): Add PREGRP39 ... PREGRP85.
1476 (three_byte_table): Likewise.
1477 (putop): Handle 'K'.
1478 (intel_operand_size): Handle dqb_mode, dqd_mode):
1482 * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
1484 * i386-opc.h (CpuSSE4_1): New.
1485 (CpuUnknownFlags): Add CpuSSE4_1.
1486 (regKludge): Update comment.
1488 2007-04-18 Matthias Klose <doko@ubuntu.com>
1490 * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
1491 * Makefile.in: Regenerate.
1493 2007-04-14 Steve Ellcey <sje@cup.hp.com>
1495 * Makefile.am: Add ACLOCAL_AMFLAGS.
1496 * Makefile.in: Regenerate.
1498 2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
1500 * i386-dis.c: Remove trailing white spaces.
1501 * i386-opc.c: Likewise.
1502 * i386-opc.h: Likewise.
1504 2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
1507 * i386-dis.c (GRP1a): New.
1508 (GRP1b ... GRPPADLCK2): Update index.
1509 (dis386): Use GRP1a for entry 0x8f.
1510 (mod, rm, reg): Removed. Replaced by ...
1514 2007-04-09 Kazu Hirata <kazu@codesourcery.com>
1516 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
1517 info->print_address_func if longjmp is called.
1519 2007-03-29 DJ Delorie <dj@redhat.com>
1521 * m32c-desc.c: Regenerate.
1522 * m32c-dis.c: Regenerate.
1523 * m32c-opc.c: Regenerate.
1525 2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
1527 * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
1528 movq. Remove InvMem from sldt, smsw and str.
1530 * i386-opc.h (InvMem): Renamed to ...
1531 (RegMem): Update comments.
1532 (AnyMem): Remove InvMem.
1534 2007-03-27 Paul Brook <paul@codesourcery.com>
1536 * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
1538 2007-03-24 Paul Brook <paul@codesourcery.com>
1540 * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
1541 (print_insn_coprocessor): Handle %<bitfield>x.
1543 2007-03-24 Paul Brook <paul@codesourcery.com>
1544 Mark Shinwell <shinwell@codesourcery.com>
1546 * arm-dis.c (arm_opcodes): Print SRS base register.
1548 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
1550 * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
1552 * i386-opc.c (i386_optab): Add rex.wrxb.
1554 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1556 * i386-dis.c (REX_MODE64): Remove definition.
1557 (REX_EXTX): Likewise.
1558 (REX_EXTY): Likewise.
1559 (REX_EXTZ): Likewise.
1560 (USED_REX): Use REX_OPCODE instead of 0x40.
1561 Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
1562 REX_R, REX_X and REX_B respectively.
1564 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1567 * i386-dis.c (PREGRP38): New.
1568 (dis386): Use PREGRP38 for 0x90.
1569 (prefix_user_table): Add PREGRP38.
1570 (print_insn): Set uses_REPZ_prefix to 1 for pause.
1571 (NOP_Fixup1): Properly handle REX bits.
1572 (NOP_Fixup2): Likewise.
1574 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
1575 Allow register with nop.
1577 2007-03-20 DJ Delorie <dj@redhat.com>
1579 * m32c-asm.c: Regenerate.
1580 * m32c-desc.c: Regenerate.
1581 * m32c-desc.h: Regenerate.
1582 * m32c-dis.h: Regenerate.
1583 * m32c-ibld.c: Regenerate.
1584 * m32c-opc.c: Regenerate.
1585 * m32c-opc.h: Regenerate.
1587 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1589 * i386-opc.c: Include "libiberty.h".
1590 (i386_regtab): Remove the last entry.
1591 (i386_regtab_size): New.
1592 (i386_float_regtab_size): Likewise.
1594 * i386-opc.h (i386_regtab_size): New.
1595 (i386_float_regtab_size): Likewise.
1597 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1599 * Makefile.am (CFILES): Add i386-opc.c.
1600 (ALL_MACHINES): Add i386-opc.lo.
1602 * Makefile.in: Regenerated.
1604 * configure.in: Add i386-opc.lo for bfd_i386_arch.
1605 * configure: Regenerated.
1607 * i386-dis.c: Include "opcode/i386.h".
1608 (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
1609 (FWAIT_OPCODE): Remove definition.
1610 (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
1611 (MAX_OPERANDS): Remove definition.
1613 * i386-opc.c: New file.
1614 * i386-opc.h: Likewise.
1616 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1618 * Makefile.in: Regenerated.
1620 2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
1622 * i386-dis.c (OP_Rd): Renamed to ...
1627 2007-03-08 Alan Modra <amodra@bigpond.net.au>
1629 * fr30-asm.c: Regenerate.
1630 * frv-asm.c: Regenerate.
1631 * ip2k-asm.c: Regenerate.
1632 * iq2000-asm.c: Regenerate.
1633 * m32c-asm.c: Regenerate.
1634 * m32r-asm.c: Regenerate.
1635 * m32r-dis.c: Regenerate.
1636 * mt-asm.c: Regenerate.
1637 * mt-ibld.c: Regenerate.
1638 * mt-opc.c: Regenerate.
1639 * openrisc-asm.c: Regenerate.
1640 * xc16x-asm.c: Regenerate.
1641 * xstormy16-asm.c: Regenerate.
1643 * Makefile.am: Run "make dep-am".
1644 * Makefile.in: Regenerate.
1645 * po/POTFILES.in: Regenerate.
1647 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
1649 * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
1650 INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
1651 instruction formats added.
1652 (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
1653 MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
1655 * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
1657 * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1658 (main): z9-ec cpu type option added.
1659 * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1661 2007-02-22 DJ Delorie <dj@redhat.com>
1663 * s390-opc.c (INSTR_SS_L2RDRD): New.
1664 (MASK_SS_L2RDRD): New.
1665 * s390-opc.txt (pka): Use it.
1667 2007-02-20 Thiemo Seufer <ths@mips.com>
1668 Chao-Ying Fu <fu@mips.com>
1670 * mips-dis.c (mips_arch_choices): Add DSP R2 support.
1671 (print_insn_args): Add support for balign instruction.
1672 * mips-opc.c (D33): New shortcut for DSP R2 instructions.
1673 (mips_builtin_opcodes): Add DSP R2 instructions.
1675 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1677 * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
1678 (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
1679 * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
1680 cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
1682 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1684 * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
1685 * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
1686 (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
1689 2007-02-16 Nick Clifton <nickc@redhat.com>
1692 * avr-dis.c (comment_start): New variable, contains the prefix to
1693 use when printing addresses in comments.
1694 (print_insn_avr): Set comment_start to an empty space if there is
1695 no symbol table available as the generic address printing code
1696 will prefix the numeric value of the address with 0x.
1698 2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
1700 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
1703 2007-02-05 Dave Brolley <brolley@redhat.com>
1704 Richard Sandiford <rsandifo@redhat.com>
1705 DJ Delorie <dj@redhat.com>
1706 Graydon Hoare <graydon@redhat.com>
1707 Frank Ch. Eigler <fche@redhat.com>
1708 Ben Elliston <bje@redhat.com>
1710 * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
1711 (CFILES): Add mep-*.c
1712 (ALL_MACHINES): Add mep-*.lo.
1713 (CLEANFILES): Add stamp-mep.
1714 (CGEN_CPUS): Add mep.
1715 (MEP_DEPS): New variable.
1716 (mep-*): New targets.
1717 * configure.in: Handle bfd_mep_arch.
1718 * disassemble.c (ARCH_mep): New macro.
1719 (disassembler): Handle bfd_arch_mep.
1720 (disassemble_init_for_target): Likewise.
1721 * mep-*: New files for Toshiba Media Processor (MeP).
1722 * Makefile.in: Regenerated.
1723 * configure: Regenerated.
1725 2007-02-05 H.J. Lu <hongjiu.lu@intel.com>
1727 * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
1728 wrap around within the same segment in 16bit mode.
1730 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1732 * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
1735 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1737 * avr-dis.c (avr_operand): Correct PR number in comment.
1739 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1741 * disassemble.c (disassembler_usage): Call
1742 print_i386_disassembler_options for i386 disassembler.
1744 * i386-dis.c (print_i386_disassembler_options): New.
1745 (print_insn): Support the new addr64 option.
1747 2007-02-02 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
1749 * ppc-dis.c (powerpc_dialect): Handle ppc440.
1750 * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
1753 2007-02-02 Alan Modra <amodra@bigpond.net.au>
1755 * ppc-opc.c (insert_bdm): -Many comment.
1756 (valid_bo): Add "extract" param. Accept both powerpc and power4
1757 BO fields when disassembling with -Many.
1758 (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
1760 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
1762 * m68k-opc.c (m68k_opcodes): Replace cpu32 with
1763 cpu32 | fido_a except on tbl instructions.
1765 2007-01-04 Paul Brook <paul@codesourcery.com>
1767 * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
1769 2007-01-04 Andreas Schwab <schwab@suse.de>
1771 * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
1773 2007-01-04 Julian Brown <julian@codesourcery.com>
1775 * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
1776 vqrshl instructions.
1778 For older changes see ChangeLog-2006
1784 version-control: never