1 2007-11-07 Jens Arnold <jens@jens-arnold.net>
4 * m68k-opc.c (m68k_opcodes): Fix coldfire msac.w instructions with
7 2007-11-07 Tristan Gingold <gingold@adacore.com>
9 * ia64-dis.c (print_insn_ia64): Generate symbolic names for cr
10 registers instead of register number.
12 2007-11-07 David O'Brien <obrien@FreeBSD.org>
14 * arm-dis.c (arm_opcodes): Remove superflous escapes of percent
17 2007-11-06 Peter Bergner <bergner@vnet.ibm.com>
19 * ppc-opc.c (powerpc_opcodes): Remove the dcffix and dcffix. opcodes
20 which are not included in the "Preliminary Decimal Floating-Point
21 Architecture" document.
23 2007-11-01 H.J. Lu <hongjiu.lu@intel.com>
25 * i386-gen.c (opcode_modifiers): Replace No_xSuf with
27 * i386-opc.tbl: Likewise.
29 * i386-opc.h (No_xSuf): Renamed to ...
33 2007-11-01 H.J. Lu <hongjiu.lu@intel.com>
35 * i386-gen.c (opcode_modifiers): Add ByteOkIntel, ToDword,
36 ToQword and AddrPrefixOp0.
38 * i386-opc.h (ByteOkIntel): New.
41 (AddrPrefixOp0): Likewise.
43 (i386_opcode_modifier): Add byteokintel, todword, toqword
46 * i386-opc.tbl (cvtss2si): Add ToQword.
47 (cvttss2si): Likewise.
48 (cvtsd2si): Add ToDword.
49 (cvttsd2si): Likewise.
50 (monitor): Add AddrPrefixOp0.
55 (pextrb): Add ByteOkIntel.
57 * i386-tbl.h: Regenerated.
59 2007-10-31 H.J. Lu <hongjiu.lu@intel.com>
61 * i386-dis.c (USE_REG_TABLE): Defined as the previous one + 1.
62 (USE_REG_TABLE): Likewise.
63 (USE_MOD_TABLE): Likewise.
64 (USE_RM_TABLE): Likewise.
65 (USE_PREFIX_TABLE): Likewise.
66 (USE_X86_64_TABLE): Likewise.
67 (USE_3BYTE_TABLE): Likewise.
69 2007-10-26 H.J. Lu <hongjiu.lu@intel.com>
71 * i386-dis.c (MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3): New.
74 (MOD_0FE7_PREFIX_2): Likewise.
75 (MOD_0F382A_PREFIX_2): Likewise.
76 (MOD_0F71_REG_2): Updated.
77 (MOD_0FF0_PREFIX_3): Likewise.
78 (MOD_62_32BIT): Likewise.
79 (dis386_twobyte): Use MOD_0F51 and MOD_0FD7.
80 (prefix_table): Use MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
81 MOD_0FE7_PREFIX_2 and MOD_0F382A_PREFIX_2.
82 (mod_table): Add MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
83 MOD_0F51, MOD_0FD7 and MOD_0F382A_PREFIX_2.
85 2007-10-26 Nick Clifton <nickc@redhat.com>
87 * arm-dis.c (print_insn): Check for a symtab that exists but is
90 2007-10-24 Alan Modra <amodra@bigpond.net.au>
92 * po/POTFILES.in: Regenerate.
94 2007-10-23 H.J. Lu <hongjiu.lu@intel.com>
96 * i386-dis.c (OP_SIMD_Suffix): Renamed to ...
97 (CMP_Fixup): This. Rewrite.
98 (OPSIMD): Renamed to ...
100 (prefix_table): Update PREFIX_0FC2 entry.
102 2007-10-22 H.J. Lu <hongjiu.lu@intel.com>
104 * i386-dis.c (prefix_table): Reordered by opcode.
105 (mod_table): Likewise.
107 2007-10-19 H.J. Lu <hongjiu.lu@intel.com>
109 * i386-dis.c (prefix_table): Use XS on psrldq and pslldq.
111 2007-10-17 Nathan Sidwell <nathan@codesourcery.com>
113 * m68k-opc.c (m68k_opcodes): Correct move sr and ccr masks for
116 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
118 * ppc-opc.c (powerpc_opcodes): Fix the first two operands of
119 dquaiq. to use the TE and FRT macros.
121 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
123 * ppc-opc.c (TE): Correct signedness.
124 (powerpc_opcodes): Sort psq_st and psq_stu according to major
127 2007-10-15 H.J. Lu <hongjiu.lu@intel.com>
129 * i386-dis.c (dis386_twobyte): Reformat.
130 (prefix_table): Likewise.
131 (three_byte_table): Likewise.
133 2007-10-15 Alan Modra <amodra@bigpond.net.au>
135 * mcore-dis.c (print_insn_mcore): Protect "fprintf" var against
138 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
140 * i386-gen.c (opcode_modifiers): Add FirstXmm0.
142 * i386-opc.h (FirstXmm0): New.
144 (i386_opcode_modifier): Add firstxmm0.
146 * i386-opc.tbl (blendvpd): Replace RegKludge with FirstXmm0.
147 (blendvps): Likewise.
148 (pblendvb): Likewise.
149 * i386-tbl.h: Regenerated.
151 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
153 * i386-dis.c (prefix_table): Reformat pblendvb and blendvps.
155 2007-10-10 H.J. Lu <hongjiu.lu@intel.com>
157 * i386-dis.c (v_mode): Defined as previous one + 1.
164 (cond_jump_mode): Likewise.
165 (loop_jcxz_mode): Likewise.
167 (dqw_mode): Likewise.
169 (const_1_mode): Likewise.
170 (stack_v_mode): Likewise.
173 (dqb_mode): Likewise.
174 (dqd_mode): Likewise.
213 (z_mode_ax_reg): Likewise.
214 (indir_dx_reg): Likewise.
216 (DREX_NO_OC0): Likewise.
217 (DREX_MASK): Likewise.
218 (MAX_BYTEMODE): New. Issue an error if MAX_BYTEMODE is not
221 2007-10-08 H.J. Lu <hongjiu.lu@intel.com>
223 * i386-dis.c: Updated comments for 'Y'.
224 (putop): Don't add 'q' for 'Y' if suffix_always isn't true.
226 2007-10-08 Maciej W. Rozycki <macro@linux-mips.org>
228 * opcodes/mips-dis.c (mips_cp0_names_r3000): New definition.
229 (mips_cp0_names_r4000): Likewise.
230 (mips_arch_choices): Link to the above as appropriate.
232 2007-10-08 Nick Clifton <nickc@redhat.com>
234 * configure.in (SHARED_DEPENDENCIES): Change non-cygwin dependency
235 to be ../bfd/libbfd.la.
236 * configure: Regenerate.
238 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
240 * i386-dis.c (dis386_twobyte): Add getsec.
242 * i386-gen.c (cpu_flags): Add CpuSMX.
244 * i386-opc.h (CpuSMX): New.
246 (i386_cpu_flags): Add cpusmx.
248 * i386-opc.tbl: Add getsec.
249 * i386-init.h: Regenerated.
250 * i386-tbl.h: Likewise.
252 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
254 * i386-dis.c (reg_table): Use "{ XX }" on "(bad)".
255 (prefix_table): Likewise.
257 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
259 * i386-dis.c (dis386_twobyte): Use EXx instead of EXq on
260 unpckhpX and unpckhpX.
262 2007-10-04 David Daney <ddaney@avtrex.com>
264 * mips-opc.c (mips_builtin_opcodes): Mark lwxc1 as working on FP_S
267 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
269 * i386-dis.c (MOD_0F12_PREFIX_0): Use "movlps" and "movhlps"
270 instead of "movlpX" and "movhlpX", respectively.
271 (MOD_0F16_PREFIX_0): Use "movhps" and "movlhps" instead of
272 "movhpX" and "movlhpX", respectively.
274 2007-10-04 Nick Clifton <nickc@redhat.com>
276 * configure.in (WIN32LDFLAGS): Rename to SHARED_LDFLAGS.
277 (WIN32LIBADD): Rename to SHARED_LIBADD
278 (SHARED_DEPENDENCIES): New exported variable.
279 (enable_shared): Add dependency upon libbfd.la for non-cygwin
280 based shared library builds.
281 * Makefile.am (libopcodes_la_DEPENDENCIES): Append
283 (libopcodes_la_LIBADD): Rename WIN32LIBADD to SHARED_LIBADD.
284 (libopcodes_la_LDFLAGS): Rename WIN32LDFLAGS to SHARED_LDFLAGS.
285 * configure: Regenerate.
286 * Makefile.in: Regenerate.
289 * arc-opc.c (insert_offset): Fix spelling mistake in error
292 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
294 * i386-dis.c (OP_REG): Set add to 0 only when needed.
303 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
305 * i386-opc.tbl: Update SSE comments.
307 2007-10-01 H.J. Lu <hongjiu.lu@intel.com>
309 * i386-dis.c (THREE_BYTE_0FBA): Renamed to ...
310 (THREE_BYTE_0F7B): This.
311 (dis386_twobyte): Updated.
312 (three_byte_table): Updated comments.
314 2007-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
316 * cr16-opc.c: Updated the branch on condition instructions with
319 2007-09-30 H.J. Lu <hongjiu.lu@intel.com>
321 * 386-dis.c (prefix_table): Reformat comment.
323 2007-09-29 H.J. Lu <hongjiu.lu@intel.com>
325 * 386-dis.c (USE_GROUPS): Renamed to ...
326 (USE_REG_TABLE): This.
327 (USE_OPC_EXT_TABLE): Renamed to ...
328 (USE_MOD_TABLE): This.
329 (USE_OPC_EXT_RM_TABLE): Renamed to ...
330 (USE_RM_TABLE): This.
331 (USE_XXX_TABLE): Reordered.
332 (GRP): Renamed to ...
334 (OPC_EXT_TABLE): Renamed to ...
336 (OPC_EXT_RM_TABLE): Renamed to ...
338 (GRP_XXX): Renamed to ...
340 (PREGRP_XXX): Renamed to ...
342 (OPC_EXT_XXX): Renamed to ...
344 (OPC_EXT_RM_XXX): Renamed to ...
346 (grps): Renamed to ...
348 (prefix_user_table): Renamed to ...
350 (opc_ext_table): Renamed to ...
352 (opc_ext_rm_table): Renamed to ...
354 (OPC_EXT_RM_XXX): Likewise.
356 (dis386_twobyte): Likewise.
357 (reg_table): Likewise.
358 (prefix_table): Likewise.
359 (x86_64_table): Likewise.
360 (three_byte_table): Likewise.
361 (mod_table): Likewise.
362 (rm_table): Likewise.
363 (get_valid_dis386): Likewise.
365 2007-09-28 H.J. Lu <hongjiu.lu@intel.com>
367 * 386-dis.c (USE_PREFIX_USER_TABLE): Renamed to ...
368 (USE_PREFIX_TABLE): This.
369 (X86_64_SPECIAL): Renamed to ...
370 (USE_X86_64_TABLE): This.
371 (IS_3BYTE_OPCODE): Renamed to ...
372 (USE_3BYTE_TABLE): This.
374 (PREGRPXXX): Likewise.
375 (X86_64_XXX): Likewise.
376 (THREE_BYTE_XXX): Likewise.
377 (OPC_EXT_XXX): Likewise.
378 (OPC_EXT_RM_XXX): Likewise.
382 (X86_64_TABLE): Likewise.
383 (THREE_BYTE_TABLE): Likewise.
384 (OPC_EXT_TABLE): Likewise.
385 (OPC_EXT_RM_TABLE): Likewise.
387 (PREGRP_XXX): Likewise.
388 (X86_64_XXX): Likewise.
389 (THREE_BYTE_XXX): Likewise.
390 (OPC_EXT_XXX): Likewise.
391 (OPC_EXT_RM_XXX): Likewise.
393 (dis386_twobyte): Likewise.
395 (prefix_user_table): Likewise.
396 (x86_64_table): Likewise.
397 (three_byte_table): Likewise.
398 (opc_ext_table): Likewise.
399 (opc_ext_rm_table): Likewise.
400 (get_valid_dis386): Likewise.
402 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
404 * i386-dis.c (dis386): Swap X86_64_27 with OPC_EXT_2.
405 (x86_64_table): Likewise.
406 (opc_ext_table): Likewise.
408 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
411 * i386-dis.c: Update comments on '{', '}' and '|' to support
412 only AT&T and Intel modes.
413 (X86_64_4...X86_64_27): New.
414 (dis386): Updated. Use X86_64_4...X86_64_21.
415 (dis386_twobyte): Updated.
416 (float_mem): Likewise.
417 (x86_64_table): Add X86_64_4...X86_64_27.
418 (opc_ext_table): Updated. Use X86_64_22...X86_64_27.
419 (putop): Updated handling of '{', '}' and '|' to support only
420 AT&T and Intel modes.
422 2007-09-27 Kazu Hirata <kazu@codesourcery.com>
424 * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb.
426 2007-09-26 James E. Wilson <wilson@specifix.com>
428 * ia64-gen.c (print_dependency_table): Fix typo in last patch.
430 2007-09-26 Nick Clifton <nickc@redhat.com>
432 * mt-asm.c (parse_imm16): Reword error message in order to allow
433 it to be translated properly.
434 * ia64-gen.c (print_dependency_table): Likewise.
435 * mips-dis.c (print_insn_args): Likewise.
437 2007-09-26 Jan Beulich <jbeulich@novell.com>
439 * i386-dis.c (OP_E_extended): Distinguish rip- and eip-
440 relative addressing. Update used_prefixes based on whether any
441 base or index register was printed.
443 2007-09-26 Jan Beulich <jbeulich@novell.com>
445 * i386-opc.h (RegEip): Define.
447 * i386-reg.tbl: Add eip. Mark rip and eip with RegRex64.
448 * i386-tbl.h: Re-generate.
450 2007-09-25 H.J. Lu <hongjiu.lu@intel.com>
452 * i386-gen.c (process_i386_opcodes): Process opcode_length.
454 * i386-opc.h (template): Add opcode_length.
455 * 386-opc.tbl: Likewise.
456 * i386-tbl.h: Regenerated.
458 2007-09-21 H.J. Lu <hongjiu.lu@intel.com>
460 * i386-opc.h: Adjust whitespaces.
462 2007-09-21 Dave Brolley <brolley@redhat.com>
464 * mep-desc.c: Regenerated.
466 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
468 * i386-dis.c (OP_E_extended): Display eiz for [eiz*1 + offset].
470 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
473 * 386-dis.c (index64): New.
475 (intel_index64): Likewise.
476 (intel_index32): Likewise.
477 (att_index64): Likewise.
478 (att_index32): Likewise.
479 (print_insn): Set index64 and index32.
480 (OP_E_extended): Use index64/index32 for index register for
483 * i386-opc.h (RegEiz): New.
486 * i386-reg.tbl: Add eiz and riz.
487 * i386-tbl.h: Regenerated.
489 2007-09-19 H.J. Lu <hongjiu.lu@intel.com>
491 * i386-dis.c (OP_E_extended): Always display scale for memory.
493 2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
495 * i386-opc.h (RegRip): New.
497 * i386-reg.tbl (rip): Use RegRip for reg_num.
498 * i386-tbl.h: Regenerated.
500 2007-09-17 Nick Clifton <nickc@redhat.com>
502 * po/es.po: Updated Spanish translation.
504 2007-09-14 H.J. Lu <hongjiu.lu@intel.com>
506 * Makefile.am: Run "make dep-am".
507 * Makefile.in: Regenerate.
509 2007-09-14 Michael Meissner <michael.meissner@amd.com>
510 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
511 Tony Linthicum <tony.linthicum@amd.com>
513 * i386-opc.h (CpuSSE5): New macro.
514 (i386_cpu_flags): Add Drex, Drexv and Drexc.
516 * i386-gen.c (cpu_flag_init): Add CPU_SSE5_FLAGS.
517 (operand_type_init): Add CpuSSE5.
518 (opcode_modifiers): Add Drex, Drexv and Drexc.
519 (i386_opcode_modifier): Ditto.
521 * i386-opc.tbl (fmaddps,fmaddpd,fmaddss,fmaddsd): Define SSE5
523 (fmsubps,fmsubpd,fmsubss,fmsubsd): Ditto.
524 (fnmaddps,fnmaddpd,fnmaddss,fnmaddsd): Ditto.
525 (fnmsubps,fnmsubpd,fnmsubss,fnmsubsd): Ditto.
526 (pmacssww,pmacsww,pmacsswd,pmacswd): Ditto.
527 (pmacssdd,pmacsdd,pmacssdql,pmacssdqh): Ditto.
528 (pmacsdql,pmacsdqh,pmadcsswd,pmadcswd): Ditto.
529 (phaddbw,phaddbd,phaddbq,phaddwd): Ditto.
530 (phaddwq,phadddq,phaddubw,phaddubd): Ditto.
531 (phaddubq,phadduwd,phadduwq,phaddudq): Ditto.
532 (phsubbw,phsubwd,phsubdq): Ditto.
533 (pcmov,pperm,permps,permpd): Ditto.
534 (protb,protw,protd,protq): Ditto.
535 (pshlb,pshlw,pshld,pshlq): Ditto.
536 (pshab,pshaw,pshad,pshaq): Ditto.
537 (comps,comeqps,comltps,comungeps,comleps,comungtps): Ditto.
538 (comunordps,comneps,comneqps,comnltps,comugeps): Ditto.
539 (comnleps,comugtps,comordps,comueqps,comultps): Ditto.
540 (comngeps,comuleps,comngtps,comfalseps,comuneps): Ditto.
541 (comuneqps,comunltps,comgeps,comunleps,comgtps,comtrueps): Ditto.
542 (compd,comeqpd,comltpd,comungepd,comlepd,comungtpd,comunordpd): Ditto.
543 (comnepd,comneqpd,comnltpd,comugepd,comnlepd,comugtpd): Ditto.
544 (comordpd,comueqpd,comultpd,comngepd,comulepd,comngtpd): Ditto.
545 (comfalsepd,comunepd,comuneqpd,comunltpd,comgepd): Ditto.
546 (comunlepd,comgtpd,comtruepd): Ditto.
547 (comss,comeqss,comltss,comungess,comless,comungtss,comunordss): Ditto.
548 (comness,comneqss,comnltss,comugess,comnless,comugtss): Ditto.
549 (comordss,comueqss,comultss,comngess,comuless,comngtss): Ditto.
550 (comfalsess,comuness,comuneqss,comunltss,comgess): Ditto.
551 (comunless,comgtss,comtruess): Ditto.
552 (comsd,comeqsd,comltsd,comungesd,comlesd,comungtsd,comunordsd): Ditto.
553 (comnesd,comneqsd,comnltsd,comugesd,comnlesd,comugtsd): Ditto.
554 (comordsd,comueqsd,comultsd,comngesd,comulesd,comngtsd): Ditto.
555 (comfalsesd,comunesd,comuneqsd,comunltsd,comgesd): Ditto.
556 (comunlesd,comgtsd,comtruesd): Ditto.
557 (pcomub,pcomltub,pcomleub,pcomgtub,pcomgeub,pcomequb): Ditto.
558 (pcomnequb,pcomneub): Ditto.
559 (pcomuw,pcomltuw,pcomleuw,pcomgtuw,pcomgeuw,pcomequw): Ditto.
560 (pcomnequw,pcomneuw): Ditto.
561 (pcomud,pcomltud,pcomleud,pcomgtud,pcomgeud,pcomequd): Ditto.
562 (pcomnequd,pcomneud): Ditto.
563 (pcomuq,pcomltuq,pcomleuq,pcomgtuq,pcomgeuq,pcomequq): Ditto.
564 (pcomnequq,pcomneuq): Ditto.
565 (pcomb,pcomltb,pcomleb,pcomgtb,pcomgeb,pcomeqb): Ditto.
566 (pcomneqb,pcomneb): Ditto.
567 (pcomw,pcomltw,pcomlew,pcomgtw,pcomgew,pcomeqw): Ditto.
568 (pcomneqw,pcomnew): Ditto.
569 (pcomd,pcomltd,pcomled,pcomgtd,pcomged,pcomeqd): Ditto.
570 (pcomneqd,pcomned): Ditto.
571 (pcomq,pcomltq,pcomleq,pcomgtq,pcomgeq): Ditto.
572 (pcomeqq,pcomneqq,pcomneq): Ditto.
573 (pcomtrueb, pcomtruew, pcomtrued, pcomtrueq): Ditto.
574 (pcomtrueub, pcomtrueuw, pcomtrueud, pcomtrueuq): Ditto.
575 (pcomfalseb, pcomfalsew, pcomfalsed, pcomfalseq): Ditto.
576 (pcomfalseub, pcomfalseuw, pcomfalseud, pcomfalseuq): Ditto.
577 (frczps,frczpd,frczss,frczsd): Ditto.
578 (cvtph2ps,cvtps2ph): Ditto.
580 * i386-tbl.h: Regenerate from i386-opc.tbl.
581 * i386-init.h: Likewise.
583 * i386-dis.c (libiberty.h): Include to get ARRAY_SIZE.
584 (dis386_move_test): New disassembly support for move from test
585 register instruction that overlaps with SSE5 instructions.
586 (print_insn): Add support for special casing the i386/i486 move
587 from test register instruction that overlaps with the SSE5
588 0x0f24 4 operand instructions.
589 (OP_DREX_ICMP): New macros for SSE5 DREX handling.
590 (OP_DREX_FCMP): Ditto.
591 (OP_E_extended): Rename from OP_E, add additional argument to skip
593 (OP_E): Call OP_E_extended.
594 (DREX_REG_MEMORY): New macros for drex handling.
595 (DREX_REG_UNKNOWN): Ditto.
597 (DREX4_NO_OC0): Ditto.
599 (three_byte_table): Add SSE5 instructions.
600 (print_drex_arg): New function to print a DREX register or memory
602 (OP_DREX4): New function for handling DREX 4 argument ops.
603 (OP_DREX3): New function for handling DREX 3 argument ops.
604 (twobyte_has_modrm): 0f{25,7a,7b} all use the modrm byte.
605 (THREE_BYTE_SSE5_0F{24,25,7A,7B}): New macros for initializing 3
606 byte opcode support for SSE5 instructions.
607 (dis386_twobyte): Add SSE5 24/25/7a/7b support.
608 (three_byte_table): Add rows for describing SSE5 instructions.
610 2007-09-13 H.J. Lu <hongjiu.lu@intel.com>
612 * i386-dis.c (get_valid_dis386): Take a pointer to
613 disassemble_info. Handle IS_3BYTE_OPCODE.
614 (print_insn): Updated. Don't handle IS_3BYTE_OPCODE here.
616 2007-09-12 H.J. Lu <hongjiu.lu@intel.com>
618 * i386-opc.h (CpuUnused): Defined with CpuMax.
619 (OTUnused): Defined with OTMax.
621 2007-09-12 Jan Beulich <jbeulich@novell.com>
623 * i386-opc.tbl: Add two-operand forms of blendvps, blendvpd, and
625 * i386-tbl.h: Regenerate.
627 2007-09-09 H.J. Lu <hongjiu.lu@intel.com>
629 * i386-gen.c (main): Remove the local variable, unused.
631 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
633 * Makefile.am: Run "make dep-am".
634 * Makefile.in: Regenerate.
636 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
638 * configure.in (AC_CHECK_HEADERS): Add limits.h.
639 * configure: Regenerated.
640 * config.in: Likewise.
642 * i386-gen.c: Include "sysdep.h" instead of <stdlib.h> and
643 <string.h>. Use xstrerror instead of strerror.
645 (cpu_flag_init): Likewise.
646 (bitfield): Likewise.
648 (cpu_flags): Likewise.
649 (opcode_modifiers): Likewise.
650 (operand_types): Likewise.
652 (set_cpu_flags): Likewise.
653 (output_cpu_flags): Likewise.
654 (process_i386_cpu_flags): Likewise.
655 (output_opcode_modifier): Likewise.
656 (process_i386_opcode_modifier): Likewise.
657 (output_operand_type): Likewise.
658 (process_i386_operand_type): Likewise.
659 (set_bitfield): Likewise.
660 (operand_type_init): Likewise.
661 (process_i386_initializers): Likewise.
662 (process_i386_opcodes): Call process_i386_opcode_modifier to
663 process opcode_modifier. Call process_i386_operand_type to
664 process operand_types.
665 (process_i386_registers): Call process_i386_operand_type to
667 (main): Check unused bits in i386_cpu_flags and i386_operand_type.
668 Sort cpu_flags, opcode_modifiers and operand_types. Call
669 process_i386_initializers.
672 * i386-tbl.h: Regenerated.
674 * i386-opc.h: Include <limits.h>.
675 (CHAR_BIT): Define as 8 if not defined.
676 (Cpu186): Changed to position of bitfiled.
689 (Cpu3dnow): Likewise.
690 (Cpu3dnowA): Likewise.
692 (CpuPadLock): Likewise.
695 (CpuSSSE3): Likewise.
696 (CpuSSE4a): Likewise.
698 (CpuSSE4_1): Likewise.
699 (CpuSSE4_2): Likewise.
705 (ShortForm): Likewise.
707 (JumpDword): Likewise.
708 (JumpByte): Likewise.
709 (JumpInterSegment): Likewise.
716 (IgnoreSize): Likewise.
717 (DefaultSize): Likewise.
725 (IsString): Likewise.
726 (RegKludge): Likewise.
727 (IsPrefix): Likewise.
736 (FloatReg): Likewise.
746 (BaseIndex): Likewise.
752 (InOutPortReg): Likewise.
753 (ShiftCount): Likewise.
760 (FloatAcc): Likewise.
761 (JumpAbsolute): Likewise.
765 (Reg): Commented out.
767 (ImplicitRegister): Likewise.
772 (LLongMem): Likewise.
774 (ShortMem): Likewise.
779 (CpuNumOfUints): Likewise.
780 (CpuNumOfBits): Likewise.
781 (CpuUnused): Likewise.
782 (OTNumOfUints): Likewise.
783 (OTNumOfBits): Likewise.
784 (OTUnused): Likewise.
785 (i386_cpu_flags): New type.
786 (i386_operand_type): Likewise.
787 (i386_opcode_modifier): Likewise.
788 (CpuSledgehammer): Removed.
790 (CpuUnknownFlags): Likewise.
793 (ImplicitRegister): Likewise.
798 (LLongMem): Likewise.
800 (ShortMem): Likewise.
803 (template): Use i386_cpu_flags for cpu_flags, use
804 i386_opcode_modifier for opcode_modifier, use
805 i386_operand_type for operand_types.
806 (reg_entry): Use i386_operand_type for reg_type.
808 * Makefile.am (HFILES): Add i386-init.h.
809 ($(srcdir)/i386-init.h): New rule.
810 ($(srcdir)/i386-tbl.h): Depend on $(srcdir)/i386-init.h
812 * Makefile.in: Regenerated.
814 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
816 * i386-gen.c (next_field): Updated to take a separator.
817 (process_i386_opcodes): Updated.
818 (process_i386_registers): Likewise.
820 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
822 * i386-gen.c (table): Moved ...
823 (main): Here. Call process_copyright to output copyright.
824 (process_copyright): New.
825 (process_i386_opcodes): Take FILE *table.
826 (process_i386_registers): Likewise.
828 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
830 * i386-gen.c (table): New.
831 (process_i386_opcodes): Report errno when faied to open
832 i386-opc.tbl. Output opcodes to table. Close i386-opc.tbl
834 (process_i386_registers): Report errno when faied to open
835 i386-reg.tbl. Output opcodes to table. Close i386-reg.tbl
837 (main): Open i386-tbl.h for output.
839 * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@".
840 * Makefile.in: Regenerated.
842 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
844 * i386-opc.tbl: Correct SVME instructions to allow 32bit register
845 operand in 64bit mode.
846 * i386-tbl.h: Regenerated.
848 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
850 * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
851 (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
852 (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
854 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
856 * i386-dis.c (SVME_Fixup): Removed.
858 (OPC_EXT_RM_6): Likewise.
859 (grps): Use OPC_EXT_39.
860 (opc_ext_table): Add OPC_EXT_39.
861 (opc_ext_rm_table): Add OPC_EXT_RM_6.
863 * i386-opc.tbl: Correct SVME instructions to take register
865 * i386-tbl.h: Regenerated.
867 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
869 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
870 * Makefile.in: Regenerated.
872 * configure.in (AC_GNU_SOURCE): Added.
873 (AC_PROG_CC): Moved before AC_GNU_SOURCE.
874 (AC_CHECK_DECLS): Add stpcpy.
875 * configure: Regenerated.
876 * config.in: Likewise.
878 * i386-dis.c: Include "sysdep.h" before "dis-asm.h".
880 * sysdep.h (stpcpy): New.
882 2007-08-30 H.J. Lu <hongjiu.lu@intel.com>
884 * i386-dis.c (INVLPG_Fixup): Removed.
886 (OPC_EXT_RM_5): Likewise.
887 (grps): Use OPC_EXT_38.
888 (opc_ext_table): Add OPC_EXT_38.
889 (opc_ext_rm_table): Add OPC_EXT_RM_5.
891 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
893 * i386-dis.c (SIMD_Fixup): Removed.
894 (OPC_EXT_34...OPC_EXT_37): New.
895 (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
896 (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
897 (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
899 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
901 * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
902 (dis386): Use OPC_EXT_0...OPC_EXT_2.
903 (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
904 (grps): Updated to use OPC_EXT_6...OPC_EXT_31.
905 (prefix_user_table): Use OPC_EXT_32.
906 (x86_64_table): Use OPC_EXT_33.
907 (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
909 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
911 * i386-dis.c (prefix_user_table): Fix comment.
913 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
915 * i386-dis.c (OP_Skip_MODRM): New.
916 (OP_Monitor): Likewise.
917 (OP_Mwait): Likewise.
919 (Skip_MODRM): Likewise.
920 (USE_OPC_EXT_TABLE): Likewise.
921 (USE_OPC_EXT_RM_TABLE): Likewise.
922 (PREGRP98...PREGRP100): Likewise.
923 (OPC_EXT_0...OPC_EXT_24): Likewise.
924 (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
925 (lock_prefix): Likewise.
926 (data_prefix): Likewise.
927 (addr_prefix): Likewise.
928 (repz_prefix): Likewise.
929 (repnz_prefix): Likewise.
930 (opc_ext_table): Likewise.
931 (opc_ext_rm_table): Likewise.
932 (get_valid_dis386): Likewise.
935 (PNI_Fixup): Likewise.
936 (VMX_Fixup): Likewise.
938 (twobyte_uses_DATA_prefix): Likewise.
939 (twobyte_uses_REPNZ_prefix): Likewise.
940 (twobyte_uses_REPZ_prefix): Likewise.
941 (threebyte_0x38_uses_DATA_prefix): Likewise.
942 (threebyte_0x38_uses_REPNZ_prefix): Likewise.
943 (threebyte_0x38_uses_REPZ_prefix): Likewise.
944 (threebyte_0x3a_uses_DATA_prefix): Likewise.
945 (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
946 (threebyte_0x3a_uses_REPZ_prefix): Likewise.
947 (grps): Use OPC_EXT_0...OPC_EXT_24.
948 (prefix_user_table): Add PREGRP98...PREGRP100.
949 (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
950 uses_REPNZ_prefix and uses_REPZ_prefix. Initialize
951 repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
952 data_prefix based on prefixes. Call get_valid_dis386 to
953 get a pointer to the valid dis386. Print out prefixes if
955 (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
956 (REP_Fixup): Set repz_prefix to "rep " when seeing
959 2007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
961 * po/nl.po: Updated translation.
963 2007-08-28 H.J. Lu <hongjiu.lu@intel.com>
965 * i386-dis.c (Md): New.
966 (grps): Use 0 on invlpg. Use M on fxsave and fxrstor. Use
967 Md on ldmxcsr and stmxcsr. Use b_mode on clflush.
968 (OP_0fae): Clear bytemode for sfence.
970 2007-08-22 Ben Elliston <bje@au.ibm.com>
972 * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
973 (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
975 (powerpc_opcodes): Add all pair singles instructions.
976 * ppc-dis.c (powerpc_dialect): Handle "ppcps".
977 (print_ppc_disassembler_options): Document -Mppcps.
979 2007-08-21 Andreas Krebbel <krebbel1@de.ibm.com>
981 * s390-mkopc.c (struct s390_cond_ext_format): New global struct.
982 (s390_cond_ext_format): New global variable.
983 (expandConditionalJump): New function.
984 (main): Invoke expandConditionalJump for mnemonics containing '*'.
985 * s390-opc.txt: Replace mnemonics with conditional
986 mask extensions with instructions using the newly introduced '*' tag.
988 2007-08-17 Alan Modra <amodra@bigpond.net.au>
990 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
992 2007-08-10 Nick Clifton <nickc@redhat.com>
994 * po/fi.po: Updated Finnish translation.
995 * po/ga.po: Updated Irish translation.
996 * po/vi.po: Updated Vietnamese translation.
998 2007-08-09 H.J. Lu <hongjiu.lu@intel.com>
1000 * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
1001 pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
1002 * i386-tbl.h: Regenerated.
1004 2007-08-03 James E. Wilson <wilson@specifix.com>
1006 * ia64-gen.c: (main): Add missing newline to copyright message.
1007 * ia64-ic.tbl (fp-non-arith): Add xmpy.
1008 * ia64-asmtab.c: Regenerate.
1010 2007-08-01 Michael Snyder <msnyder@access-company.com>
1012 * i386-dis.c (print_insn): Guard against NULL.
1014 2007-07-29 H.J. Lu <hongjiu.lu@intel.com>
1017 * i386-dis.c (EXw): New.
1018 (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
1019 instructions when appropriated.
1021 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
1024 * i386-dis.c (Eq): New.
1025 (EMC): Renamed to ...
1026 (EMCq): This. Use q_mode instead of v_mode.
1027 (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
1030 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
1032 * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
1033 (prefix_user_table): Likewise. Use EXq instead of EXx on
1036 2007-07-27 Nathan Sidwell <nathan@codesourcery.com>
1038 * ppc-opc (PPC7450): New.
1039 (powerpc_opcodes): Use it in dcba.
1041 2007-07-24 H.J. Lu <hongjiu.lu@intel.com>
1043 * i386-gen.c (main): Print a newline after copyright notice.
1045 2007-07-19 Nick Clifton <nickc@redhat.com>
1048 * maxq-dis.c (get_reg_name): Fix the scan of the
1049 mem_access_syntax_table.
1051 2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
1053 * i386-dis.c (EMq): Removed.
1055 (prefix_user_table): Replace EMq with EMx.
1057 2007-07-16 Nick Clifton <nickc@redhat.com>
1059 * po/nl.po: Updated translation.
1061 2007-07-12 Nick Clifton <nickc@redhat.com>
1063 * po/vi.po: Updated translation.
1064 * po/nl.po: Updated translation.
1066 2007-07-06 Mark Kettenis <kettenis@gnu.org>
1067 H.J. Lu <hongjiu.lu@intel.com>
1069 * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
1070 (ia64-asmtab.c): Likewise.
1071 * Makefile.in: Regenerate.
1073 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
1075 * aclocal.m4: Regenerated.
1077 2007-07-04 Nick Clifton <nickc@redhat.com>
1079 * alpha-dis.c: Update copyright notice to refer to GPLv3.
1080 * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h,
1081 arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c,
1082 cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in,
1083 cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c,
1084 cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c,
1085 d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c,
1086 dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c,
1087 h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c,
1088 i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c,
1089 ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c,
1090 ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c,
1091 ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c,
1092 m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c,
1093 m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c,
1094 mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c,
1095 mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c,
1096 or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c,
1097 ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c,
1098 score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h,
1099 sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c,
1100 spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c,
1101 tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c,
1102 vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c,
1103 z8k-dis.c, z8kgen.c: Likewise.
1104 * i386-opc.tbl, i386-reg.tbl: Add copyright notice.
1105 * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h,
1106 fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c,
1107 frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c,
1108 frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c,
1109 ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h,
1110 iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c,
1111 iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c,
1112 m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c,
1113 m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
1114 m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c,
1115 mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c,
1116 mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c,
1117 mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c,
1118 openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c,
1119 openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h,
1120 xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h,
1121 xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h,
1122 xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c,
1123 xstormy16-opc.h, z8k-opc.h: Regenerated
1125 2007-07-04 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1127 * cr16-dis.c (getcinvstring): Add const qualifier to char *
1129 (print_insn_cr16): Remove cast to char *.
1131 2007-07-03 Nathan Sidwell <nathan@codesourcery.com>
1133 * m68k-dis.c (fetch_arg): Add E. Replace length switch with
1135 (print_ins_arg): Add j & K operand types.
1136 (match_insn_m68k): Check and skip initial '.' arg character.
1137 (m68k_scan_mask): Likewise.
1138 * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
1140 2007-07-02 Alan Modra <amodra@bigpond.net.au>
1142 * Makefile.am: Run "make dep-am".
1143 * Makefile.in: Regenerate.
1144 * aclocal.m4: Regenerate.
1145 * config.in: Regenerate.
1146 * po/POTFILES.in: Regenerate.
1147 * po/opcodes.pot: Regenerate.
1149 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
1151 * aclocal.m4: Regenerated.
1152 * Makefile.in: Likewise.
1154 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
1156 * i386-reg.tbl: Remove spaces before comments.
1158 2007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1160 * cr16-opc.c: New file.
1161 * cr16-dis.c: New file.
1162 * Makefile.am: Entries for cr16.
1163 * Makefile.in: Regenerate.
1164 * cofigure.in: Add cr16 target information.
1165 * configure : Regenerate.
1166 * disassemble.c: Add cr16 target information.
1168 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
1170 * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
1171 (CFILES): Add i386-gen.c.
1172 (i386-gen): New rule.
1173 (i386-gen.o): Likewise.
1174 (i386-tbl.h): Likewise.
1176 * Makefile.in: Regenerated.
1178 * i386-gen.c: New file.
1179 * i386-opc.tbl: Likewise.
1180 * i386-reg.tbl: Likewise.
1181 * i386-tbl.h: Likewise.
1183 * i386-opc.c: Include "i386-tbl.h".
1184 (i386_optab): Removed.
1185 (i386_regtab): Likewise.
1186 (i386_regtab_size): Likewise.
1188 2007-06-26 Paul Brook <paul@codesourcery.com>
1190 * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
1192 2007-06-25 H.J. Lu <hongjiu.lu@intel.com>
1194 * i386-opc.h (regKludge): Renamed to ...
1197 * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
1199 2007-06-23 H.J. Lu <hongjiu.lu@intel.com>
1202 * i386-dis.c (EX): Removed.
1208 (PREGRP93...PREGRP97): Likewise.
1209 (dis386_twobyte): Updated.
1210 (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
1211 (OP_EX): Remove Intel syntax handling.
1213 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
1215 * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
1217 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
1219 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
1221 * acinclude.m4: Removed.
1223 * Makefile.in: Regenerated.
1224 * doc/Makefile.in: Likewise.
1225 * aclocal.m4: Likewise.
1226 * configure: Likewise.
1228 2007-06-05 Paul Brook <paul@codesourcery.com>
1230 * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
1232 2007-05-24 Steve Ellcey <sje@cup.hp.com>
1234 * Makefile.in: Regnerate.
1235 * configure: Regenerate.
1236 * aclocal.m4: Regenerate.
1238 2007-05-18 Alan Modra <amodra@bigpond.net.au>
1240 * ppc-dis.c (print_insn_powerpc): Don't skip all operands
1241 after setting skip_optional.
1243 2007-05-16 Peter Bergner <bergner@vnet.ibm.com>
1245 * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
1246 (print_insn_powerpc): Use the new operand_value_powerpc and
1247 skip_optional_operands functions to omit or print all optional
1248 operands as a group.
1249 * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
1250 (XFL_MASK): Delete L and W bits from the mask.
1251 (mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK
1252 with XWRA_MASK. Use W.
1253 (mtfsf, mtfsf.): Use XFL_L and W.
1255 2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
1258 * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
1260 2007-05-10 H.J. Lu <hongjiu.lu@intel.com>
1262 * i386-opc.h (ShortForm): Redefined.
1264 (JumpDword): Likewise.
1265 (JumpByte): Likewise.
1266 (JumpInterSegment): Likewise.
1267 (FloatMF): Likewise.
1273 (IgnoreSize): Likewise.
1274 (DefaultSize): Likewise.
1275 (No_bSuf): Likewise.
1276 (No_wSuf): Likewise.
1277 (No_lSuf): Likewise.
1278 (No_sSuf): Likewise.
1279 (No_qSuf): Likewise.
1280 (No_xSuf): Likewise.
1282 (IsString): Likewise.
1283 (regKludge): Likewise.
1284 (IsPrefix): Likewise.
1286 (NoRex64): Likewise.
1290 2007-05-07 H.J. Lu <hongjiu.lu@intel.com>
1292 * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
1293 for some SSE4 instructions.
1294 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1296 2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
1298 * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
1300 * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
1303 2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
1305 * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
1306 check data size prefix in 16bit mode.
1308 * i386-opc.c (i386_optab): Default crc32 to non-8bit and
1311 2007-04-30 Mark Salter <msalter@redhat.com>
1313 * frv-desc.c: Regenerate.
1314 * frv-desc.h: Regenerate.
1316 2007-04-30 Alan Modra <amodra@bigpond.net.au>
1319 * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
1321 2007-04-27 H.J. Lu <hongjiu.lu@intel.com>
1323 * i386-dis.c (modrm): Put reg before rm.
1325 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1328 * i386-dis.c (print_displacement): New.
1329 (OP_E): Call print_displacement instead of print_operand_value
1330 to output displacement when either base or index exist. Print
1331 the explicit zero displacement in 16bit mode.
1333 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1336 * i386-dis.c (print_insn): Also swap the order of op_riprel
1337 when swapping op_index. Break when the RIP relative address
1339 (OP_E): Properly handle RIP relative addressing and print the
1340 explicit zero displacement for Intel mode.
1342 2007-04-27 Alan Modra <amodra@bigpond.net.au>
1344 * Makefile.am: Run "make dep-am".
1345 * Makefile.in: Regenerate.
1346 * ns32k-dis.c: Include sysdep.h first.
1348 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
1350 * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
1352 * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
1354 2007-04-24 Nick Clifton <nickc@redhat.com>
1356 * arm-dis.c (print_insn): Initialise type.
1358 2007-04-24 Alan Modra <amodra@bigpond.net.au>
1360 * cgen-types.h: Include bfd_stdint.h, not stdint.h.
1361 * Makefile.am: Run "make dep-am".
1362 * Makefile.in: Regenerate.
1364 2007-04-23 Nathan Sidwell <nathan@codesourcery.com>
1366 * m68k-opc.c: Mark mcfisa_c instructions.
1368 2007-04-21 Richard Earnshaw <rearnsha@arm.com>
1370 * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
1371 (thumb_opcodes): Add missing white space in adr.
1372 (arm_decode_shift): New parameter, print_shift. Only decode the
1373 shift parameter if set. Adjust callers.
1374 (print_insn_arm): Support for operand type q with no shift decode.
1376 2007-04-21 Alan Modra <amodra@bigpond.net.au>
1378 * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
1380 (i386_regtab): ..here.
1381 * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
1383 * ppc-opc.c (powerpc_operands): Delete duplicate entries.
1384 (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
1385 (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
1386 (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
1388 2007-04-20 Nathan Sidwell <nathan@codesourcery.com>
1390 * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
1393 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1395 * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
1397 * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
1398 in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove
1399 references to following deleted functions.
1400 (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
1401 (insert_ds, extract_ds, insert_de, extract_de): Delete.
1402 (insert_des, extract_des, insert_li, extract_li): Delete.
1403 (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
1404 (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
1405 (num_powerpc_operands): New constant.
1406 (XSPRG_MASK): Remove entire SPRG field.
1407 (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
1409 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1411 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
1413 (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
1415 2007-04-20 Richard Earnshaw <rearnsha@arm.com>
1417 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
1420 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1422 * Makefile.am: Run "make dep-am".
1423 * Makefile.in: Regenerate.
1424 * po/POTFILES.in: Regenerate.
1426 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1428 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
1429 db10cyc, db12cyc, db16cyc.
1431 2007-04-19 Nathan Froyd <froydnj@codesourcery.com>
1433 * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
1435 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1437 * i386-dis.c (CRC32_Fixup): New.
1438 (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
1440 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
1441 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1442 (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
1443 PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
1444 (three_byte_table): Likewise.
1446 * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
1448 * i386-opc.h (CpuSSE4_2): New.
1449 (CpuSSE4): Likewise.
1450 (CpuUnknownFlags): Add CpuSSE4_2.
1452 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1454 * i386-dis.c (XMM_Fixup): New.
1460 (PREGRP39 ... PREGRP85): New.
1461 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
1462 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1463 (prefix_user_table): Add PREGRP39 ... PREGRP85.
1464 (three_byte_table): Likewise.
1465 (putop): Handle 'K'.
1466 (intel_operand_size): Handle dqb_mode, dqd_mode):
1470 * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
1472 * i386-opc.h (CpuSSE4_1): New.
1473 (CpuUnknownFlags): Add CpuSSE4_1.
1474 (regKludge): Update comment.
1476 2007-04-18 Matthias Klose <doko@ubuntu.com>
1478 * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
1479 * Makefile.in: Regenerate.
1481 2007-04-14 Steve Ellcey <sje@cup.hp.com>
1483 * Makefile.am: Add ACLOCAL_AMFLAGS.
1484 * Makefile.in: Regenerate.
1486 2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
1488 * i386-dis.c: Remove trailing white spaces.
1489 * i386-opc.c: Likewise.
1490 * i386-opc.h: Likewise.
1492 2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
1495 * i386-dis.c (GRP1a): New.
1496 (GRP1b ... GRPPADLCK2): Update index.
1497 (dis386): Use GRP1a for entry 0x8f.
1498 (mod, rm, reg): Removed. Replaced by ...
1502 2007-04-09 Kazu Hirata <kazu@codesourcery.com>
1504 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
1505 info->print_address_func if longjmp is called.
1507 2007-03-29 DJ Delorie <dj@redhat.com>
1509 * m32c-desc.c: Regenerate.
1510 * m32c-dis.c: Regenerate.
1511 * m32c-opc.c: Regenerate.
1513 2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
1515 * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
1516 movq. Remove InvMem from sldt, smsw and str.
1518 * i386-opc.h (InvMem): Renamed to ...
1519 (RegMem): Update comments.
1520 (AnyMem): Remove InvMem.
1522 2007-03-27 Paul Brook <paul@codesourcery.com>
1524 * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
1526 2007-03-24 Paul Brook <paul@codesourcery.com>
1528 * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
1529 (print_insn_coprocessor): Handle %<bitfield>x.
1531 2007-03-24 Paul Brook <paul@codesourcery.com>
1532 Mark Shinwell <shinwell@codesourcery.com>
1534 * arm-dis.c (arm_opcodes): Print SRS base register.
1536 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
1538 * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
1540 * i386-opc.c (i386_optab): Add rex.wrxb.
1542 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1544 * i386-dis.c (REX_MODE64): Remove definition.
1545 (REX_EXTX): Likewise.
1546 (REX_EXTY): Likewise.
1547 (REX_EXTZ): Likewise.
1548 (USED_REX): Use REX_OPCODE instead of 0x40.
1549 Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
1550 REX_R, REX_X and REX_B respectively.
1552 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1555 * i386-dis.c (PREGRP38): New.
1556 (dis386): Use PREGRP38 for 0x90.
1557 (prefix_user_table): Add PREGRP38.
1558 (print_insn): Set uses_REPZ_prefix to 1 for pause.
1559 (NOP_Fixup1): Properly handle REX bits.
1560 (NOP_Fixup2): Likewise.
1562 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
1563 Allow register with nop.
1565 2007-03-20 DJ Delorie <dj@redhat.com>
1567 * m32c-asm.c: Regenerate.
1568 * m32c-desc.c: Regenerate.
1569 * m32c-desc.h: Regenerate.
1570 * m32c-dis.h: Regenerate.
1571 * m32c-ibld.c: Regenerate.
1572 * m32c-opc.c: Regenerate.
1573 * m32c-opc.h: Regenerate.
1575 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1577 * i386-opc.c: Include "libiberty.h".
1578 (i386_regtab): Remove the last entry.
1579 (i386_regtab_size): New.
1580 (i386_float_regtab_size): Likewise.
1582 * i386-opc.h (i386_regtab_size): New.
1583 (i386_float_regtab_size): Likewise.
1585 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1587 * Makefile.am (CFILES): Add i386-opc.c.
1588 (ALL_MACHINES): Add i386-opc.lo.
1590 * Makefile.in: Regenerated.
1592 * configure.in: Add i386-opc.lo for bfd_i386_arch.
1593 * configure: Regenerated.
1595 * i386-dis.c: Include "opcode/i386.h".
1596 (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
1597 (FWAIT_OPCODE): Remove definition.
1598 (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
1599 (MAX_OPERANDS): Remove definition.
1601 * i386-opc.c: New file.
1602 * i386-opc.h: Likewise.
1604 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1606 * Makefile.in: Regenerated.
1608 2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
1610 * i386-dis.c (OP_Rd): Renamed to ...
1615 2007-03-08 Alan Modra <amodra@bigpond.net.au>
1617 * fr30-asm.c: Regenerate.
1618 * frv-asm.c: Regenerate.
1619 * ip2k-asm.c: Regenerate.
1620 * iq2000-asm.c: Regenerate.
1621 * m32c-asm.c: Regenerate.
1622 * m32r-asm.c: Regenerate.
1623 * m32r-dis.c: Regenerate.
1624 * mt-asm.c: Regenerate.
1625 * mt-ibld.c: Regenerate.
1626 * mt-opc.c: Regenerate.
1627 * openrisc-asm.c: Regenerate.
1628 * xc16x-asm.c: Regenerate.
1629 * xstormy16-asm.c: Regenerate.
1631 * Makefile.am: Run "make dep-am".
1632 * Makefile.in: Regenerate.
1633 * po/POTFILES.in: Regenerate.
1635 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
1637 * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
1638 INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
1639 instruction formats added.
1640 (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
1641 MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
1643 * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
1645 * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1646 (main): z9-ec cpu type option added.
1647 * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1649 2007-02-22 DJ Delorie <dj@redhat.com>
1651 * s390-opc.c (INSTR_SS_L2RDRD): New.
1652 (MASK_SS_L2RDRD): New.
1653 * s390-opc.txt (pka): Use it.
1655 2007-02-20 Thiemo Seufer <ths@mips.com>
1656 Chao-Ying Fu <fu@mips.com>
1658 * mips-dis.c (mips_arch_choices): Add DSP R2 support.
1659 (print_insn_args): Add support for balign instruction.
1660 * mips-opc.c (D33): New shortcut for DSP R2 instructions.
1661 (mips_builtin_opcodes): Add DSP R2 instructions.
1663 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1665 * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
1666 (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
1667 * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
1668 cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
1670 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1672 * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
1673 * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
1674 (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
1677 2007-02-16 Nick Clifton <nickc@redhat.com>
1680 * avr-dis.c (comment_start): New variable, contains the prefix to
1681 use when printing addresses in comments.
1682 (print_insn_avr): Set comment_start to an empty space if there is
1683 no symbol table available as the generic address printing code
1684 will prefix the numeric value of the address with 0x.
1686 2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
1688 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
1691 2007-02-05 Dave Brolley <brolley@redhat.com>
1692 Richard Sandiford <rsandifo@redhat.com>
1693 DJ Delorie <dj@redhat.com>
1694 Graydon Hoare <graydon@redhat.com>
1695 Frank Ch. Eigler <fche@redhat.com>
1696 Ben Elliston <bje@redhat.com>
1698 * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
1699 (CFILES): Add mep-*.c
1700 (ALL_MACHINES): Add mep-*.lo.
1701 (CLEANFILES): Add stamp-mep.
1702 (CGEN_CPUS): Add mep.
1703 (MEP_DEPS): New variable.
1704 (mep-*): New targets.
1705 * configure.in: Handle bfd_mep_arch.
1706 * disassemble.c (ARCH_mep): New macro.
1707 (disassembler): Handle bfd_arch_mep.
1708 (disassemble_init_for_target): Likewise.
1709 * mep-*: New files for Toshiba Media Processor (MeP).
1710 * Makefile.in: Regenerated.
1711 * configure: Regenerated.
1713 2007-02-05 H.J. Lu <hongjiu.lu@intel.com>
1715 * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
1716 wrap around within the same segment in 16bit mode.
1718 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1720 * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
1723 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1725 * avr-dis.c (avr_operand): Correct PR number in comment.
1727 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1729 * disassemble.c (disassembler_usage): Call
1730 print_i386_disassembler_options for i386 disassembler.
1732 * i386-dis.c (print_i386_disassembler_options): New.
1733 (print_insn): Support the new addr64 option.
1735 2007-02-02 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
1737 * ppc-dis.c (powerpc_dialect): Handle ppc440.
1738 * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
1741 2007-02-02 Alan Modra <amodra@bigpond.net.au>
1743 * ppc-opc.c (insert_bdm): -Many comment.
1744 (valid_bo): Add "extract" param. Accept both powerpc and power4
1745 BO fields when disassembling with -Many.
1746 (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
1748 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
1750 * m68k-opc.c (m68k_opcodes): Replace cpu32 with
1751 cpu32 | fido_a except on tbl instructions.
1753 2007-01-04 Paul Brook <paul@codesourcery.com>
1755 * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
1757 2007-01-04 Andreas Schwab <schwab@suse.de>
1759 * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
1761 2007-01-04 Julian Brown <julian@codesourcery.com>
1763 * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
1764 vqrshl instructions.
1766 For older changes see ChangeLog-2006
1772 version-control: never