1 2007-10-31 H.J. Lu <hongjiu.lu@intel.com>
3 * i386-dis.c (USE_REG_TABLE): Defined as the previous one + 1.
4 (USE_REG_TABLE): Likewise.
5 (USE_MOD_TABLE): Likewise.
6 (USE_RM_TABLE): Likewise.
7 (USE_PREFIX_TABLE): Likewise.
8 (USE_X86_64_TABLE): Likewise.
9 (USE_3BYTE_TABLE): Likewise.
11 2007-10-26 H.J. Lu <hongjiu.lu@intel.com>
13 * i386-dis.c (MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3): New.
16 (MOD_0FE7_PREFIX_2): Likewise.
17 (MOD_0F382A_PREFIX_2): Likewise.
18 (MOD_0F71_REG_2): Updated.
19 (MOD_0FF0_PREFIX_3): Likewise.
20 (MOD_62_32BIT): Likewise.
21 (dis386_twobyte): Use MOD_0F51 and MOD_0FD7.
22 (prefix_table): Use MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
23 MOD_0FE7_PREFIX_2 and MOD_0F382A_PREFIX_2.
24 (mod_table): Add MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
25 MOD_0F51, MOD_0FD7 and MOD_0F382A_PREFIX_2.
27 2007-10-26 Nick Clifton <nickc@redhat.com>
29 * arm-dis.c (print_insn): Check for a symtab that exists but is
32 2007-10-24 Alan Modra <amodra@bigpond.net.au>
34 * po/POTFILES.in: Regenerate.
36 2007-10-23 H.J. Lu <hongjiu.lu@intel.com>
38 * i386-dis.c (OP_SIMD_Suffix): Renamed to ...
39 (CMP_Fixup): This. Rewrite.
40 (OPSIMD): Renamed to ...
42 (prefix_table): Update PREFIX_0FC2 entry.
44 2007-10-22 H.J. Lu <hongjiu.lu@intel.com>
46 * i386-dis.c (prefix_table): Reordered by opcode.
47 (mod_table): Likewise.
49 2007-10-19 H.J. Lu <hongjiu.lu@intel.com>
51 * i386-dis.c (prefix_table): Use XS on psrldq and pslldq.
53 2007-10-17 Nathan Sidwell <nathan@codesourcery.com>
55 * m68k-opc.c (m68k_opcodes): Correct move sr and ccr masks for
58 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
60 * ppc-opc.c (powerpc_opcodes): Fix the first two operands of
61 dquaiq. to use the TE and FRT macros.
63 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
65 * ppc-opc.c (TE): Correct signedness.
66 (powerpc_opcodes): Sort psq_st and psq_stu according to major
69 2007-10-15 H.J. Lu <hongjiu.lu@intel.com>
71 * i386-dis.c (dis386_twobyte): Reformat.
72 (prefix_table): Likewise.
73 (three_byte_table): Likewise.
75 2007-10-15 Alan Modra <amodra@bigpond.net.au>
77 * mcore-dis.c (print_insn_mcore): Protect "fprintf" var against
80 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
82 * i386-gen.c (opcode_modifiers): Add FirstXmm0.
84 * i386-opc.h (FirstXmm0): New.
86 (i386_opcode_modifier): Add firstxmm0.
88 * i386-opc.tbl (blendvpd): Replace RegKludge with FirstXmm0.
91 * i386-tbl.h: Regenerated.
93 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
95 * i386-dis.c (prefix_table): Reformat pblendvb and blendvps.
97 2007-10-10 H.J. Lu <hongjiu.lu@intel.com>
99 * i386-dis.c (v_mode): Defined as previous one + 1.
106 (cond_jump_mode): Likewise.
107 (loop_jcxz_mode): Likewise.
109 (dqw_mode): Likewise.
111 (const_1_mode): Likewise.
112 (stack_v_mode): Likewise.
115 (dqb_mode): Likewise.
116 (dqd_mode): Likewise.
155 (z_mode_ax_reg): Likewise.
156 (indir_dx_reg): Likewise.
158 (DREX_NO_OC0): Likewise.
159 (DREX_MASK): Likewise.
160 (MAX_BYTEMODE): New. Issue an error if MAX_BYTEMODE is not
163 2007-10-08 H.J. Lu <hongjiu.lu@intel.com>
165 * i386-dis.c: Updated comments for 'Y'.
166 (putop): Don't add 'q' for 'Y' if suffix_always isn't true.
168 2007-10-08 Maciej W. Rozycki <macro@linux-mips.org>
170 * opcodes/mips-dis.c (mips_cp0_names_r3000): New definition.
171 (mips_cp0_names_r4000): Likewise.
172 (mips_arch_choices): Link to the above as appropriate.
174 2007-10-08 Nick Clifton <nickc@redhat.com>
176 * configure.in (SHARED_DEPENDENCIES): Change non-cygwin dependency
177 to be ../bfd/libbfd.la.
178 * configure: Regenerate.
180 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
182 * i386-dis.c (dis386_twobyte): Add getsec.
184 * i386-gen.c (cpu_flags): Add CpuSMX.
186 * i386-opc.h (CpuSMX): New.
188 (i386_cpu_flags): Add cpusmx.
190 * i386-opc.tbl: Add getsec.
191 * i386-init.h: Regenerated.
192 * i386-tbl.h: Likewise.
194 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
196 * i386-dis.c (reg_table): Use "{ XX }" on "(bad)".
197 (prefix_table): Likewise.
199 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
201 * i386-dis.c (dis386_twobyte): Use EXx instead of EXq on
202 unpckhpX and unpckhpX.
204 2007-10-04 David Daney <ddaney@avtrex.com>
206 * mips-opc.c (mips_builtin_opcodes): Mark lwxc1 as working on FP_S
209 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
211 * i386-dis.c (MOD_0F12_PREFIX_0): Use "movlps" and "movhlps"
212 instead of "movlpX" and "movhlpX", respectively.
213 (MOD_0F16_PREFIX_0): Use "movhps" and "movlhps" instead of
214 "movhpX" and "movlhpX", respectively.
216 2007-10-04 Nick Clifton <nickc@redhat.com>
218 * configure.in (WIN32LDFLAGS): Rename to SHARED_LDFLAGS.
219 (WIN32LIBADD): Rename to SHARED_LIBADD
220 (SHARED_DEPENDENCIES): New exported variable.
221 (enable_shared): Add dependency upon libbfd.la for non-cygwin
222 based shared library builds.
223 * Makefile.am (libopcodes_la_DEPENDENCIES): Append
225 (libopcodes_la_LIBADD): Rename WIN32LIBADD to SHARED_LIBADD.
226 (libopcodes_la_LDFLAGS): Rename WIN32LDFLAGS to SHARED_LDFLAGS.
227 * configure: Regenerate.
228 * Makefile.in: Regenerate.
231 * arc-opc.c (insert_offset): Fix spelling mistake in error
234 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
236 * i386-dis.c (OP_REG): Set add to 0 only when needed.
245 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
247 * i386-opc.tbl: Update SSE comments.
249 2007-10-01 H.J. Lu <hongjiu.lu@intel.com>
251 * i386-dis.c (THREE_BYTE_0FBA): Renamed to ...
252 (THREE_BYTE_0F7B): This.
253 (dis386_twobyte): Updated.
254 (three_byte_table): Updated comments.
256 2007-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
258 * cr16-opc.c: Updated the branch on condition instructions with
261 2007-09-30 H.J. Lu <hongjiu.lu@intel.com>
263 * 386-dis.c (prefix_table): Reformat comment.
265 2007-09-29 H.J. Lu <hongjiu.lu@intel.com>
267 * 386-dis.c (USE_GROUPS): Renamed to ...
268 (USE_REG_TABLE): This.
269 (USE_OPC_EXT_TABLE): Renamed to ...
270 (USE_MOD_TABLE): This.
271 (USE_OPC_EXT_RM_TABLE): Renamed to ...
272 (USE_RM_TABLE): This.
273 (USE_XXX_TABLE): Reordered.
274 (GRP): Renamed to ...
276 (OPC_EXT_TABLE): Renamed to ...
278 (OPC_EXT_RM_TABLE): Renamed to ...
280 (GRP_XXX): Renamed to ...
282 (PREGRP_XXX): Renamed to ...
284 (OPC_EXT_XXX): Renamed to ...
286 (OPC_EXT_RM_XXX): Renamed to ...
288 (grps): Renamed to ...
290 (prefix_user_table): Renamed to ...
292 (opc_ext_table): Renamed to ...
294 (opc_ext_rm_table): Renamed to ...
296 (OPC_EXT_RM_XXX): Likewise.
298 (dis386_twobyte): Likewise.
299 (reg_table): Likewise.
300 (prefix_table): Likewise.
301 (x86_64_table): Likewise.
302 (three_byte_table): Likewise.
303 (mod_table): Likewise.
304 (rm_table): Likewise.
305 (get_valid_dis386): Likewise.
307 2007-09-28 H.J. Lu <hongjiu.lu@intel.com>
309 * 386-dis.c (USE_PREFIX_USER_TABLE): Renamed to ...
310 (USE_PREFIX_TABLE): This.
311 (X86_64_SPECIAL): Renamed to ...
312 (USE_X86_64_TABLE): This.
313 (IS_3BYTE_OPCODE): Renamed to ...
314 (USE_3BYTE_TABLE): This.
316 (PREGRPXXX): Likewise.
317 (X86_64_XXX): Likewise.
318 (THREE_BYTE_XXX): Likewise.
319 (OPC_EXT_XXX): Likewise.
320 (OPC_EXT_RM_XXX): Likewise.
324 (X86_64_TABLE): Likewise.
325 (THREE_BYTE_TABLE): Likewise.
326 (OPC_EXT_TABLE): Likewise.
327 (OPC_EXT_RM_TABLE): Likewise.
329 (PREGRP_XXX): Likewise.
330 (X86_64_XXX): Likewise.
331 (THREE_BYTE_XXX): Likewise.
332 (OPC_EXT_XXX): Likewise.
333 (OPC_EXT_RM_XXX): Likewise.
335 (dis386_twobyte): Likewise.
337 (prefix_user_table): Likewise.
338 (x86_64_table): Likewise.
339 (three_byte_table): Likewise.
340 (opc_ext_table): Likewise.
341 (opc_ext_rm_table): Likewise.
342 (get_valid_dis386): Likewise.
344 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
346 * i386-dis.c (dis386): Swap X86_64_27 with OPC_EXT_2.
347 (x86_64_table): Likewise.
348 (opc_ext_table): Likewise.
350 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
353 * i386-dis.c: Update comments on '{', '}' and '|' to support
354 only AT&T and Intel modes.
355 (X86_64_4...X86_64_27): New.
356 (dis386): Updated. Use X86_64_4...X86_64_21.
357 (dis386_twobyte): Updated.
358 (float_mem): Likewise.
359 (x86_64_table): Add X86_64_4...X86_64_27.
360 (opc_ext_table): Updated. Use X86_64_22...X86_64_27.
361 (putop): Updated handling of '{', '}' and '|' to support only
362 AT&T and Intel modes.
364 2007-09-27 Kazu Hirata <kazu@codesourcery.com>
366 * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb.
368 2007-09-26 James E. Wilson <wilson@specifix.com>
370 * ia64-gen.c (print_dependency_table): Fix typo in last patch.
372 2007-09-26 Nick Clifton <nickc@redhat.com>
374 * mt-asm.c (parse_imm16): Reword error message in order to allow
375 it to be translated properly.
376 * ia64-gen.c (print_dependency_table): Likewise.
377 * mips-dis.c (print_insn_args): Likewise.
379 2007-09-26 Jan Beulich <jbeulich@novell.com>
381 * i386-dis.c (OP_E_extended): Distinguish rip- and eip-
382 relative addressing. Update used_prefixes based on whether any
383 base or index register was printed.
385 2007-09-26 Jan Beulich <jbeulich@novell.com>
387 * i386-opc.h (RegEip): Define.
389 * i386-reg.tbl: Add eip. Mark rip and eip with RegRex64.
390 * i386-tbl.h: Re-generate.
392 2007-09-25 H.J. Lu <hongjiu.lu@intel.com>
394 * i386-gen.c (process_i386_opcodes): Process opcode_length.
396 * i386-opc.h (template): Add opcode_length.
397 * 386-opc.tbl: Likewise.
398 * i386-tbl.h: Regenerated.
400 2007-09-21 H.J. Lu <hongjiu.lu@intel.com>
402 * i386-opc.h: Adjust whitespaces.
404 2007-09-21 Dave Brolley <brolley@redhat.com>
406 * mep-desc.c: Regenerated.
408 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
410 * i386-dis.c (OP_E_extended): Display eiz for [eiz*1 + offset].
412 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
415 * 386-dis.c (index64): New.
417 (intel_index64): Likewise.
418 (intel_index32): Likewise.
419 (att_index64): Likewise.
420 (att_index32): Likewise.
421 (print_insn): Set index64 and index32.
422 (OP_E_extended): Use index64/index32 for index register for
425 * i386-opc.h (RegEiz): New.
428 * i386-reg.tbl: Add eiz and riz.
429 * i386-tbl.h: Regenerated.
431 2007-09-19 H.J. Lu <hongjiu.lu@intel.com>
433 * i386-dis.c (OP_E_extended): Always display scale for memory.
435 2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
437 * i386-opc.h (RegRip): New.
439 * i386-reg.tbl (rip): Use RegRip for reg_num.
440 * i386-tbl.h: Regenerated.
442 2007-09-17 Nick Clifton <nickc@redhat.com>
444 * po/es.po: Updated Spanish translation.
446 2007-09-14 H.J. Lu <hongjiu.lu@intel.com>
448 * Makefile.am: Run "make dep-am".
449 * Makefile.in: Regenerate.
451 2007-09-14 Michael Meissner <michael.meissner@amd.com>
452 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
453 Tony Linthicum <tony.linthicum@amd.com>
455 * i386-opc.h (CpuSSE5): New macro.
456 (i386_cpu_flags): Add Drex, Drexv and Drexc.
458 * i386-gen.c (cpu_flag_init): Add CPU_SSE5_FLAGS.
459 (operand_type_init): Add CpuSSE5.
460 (opcode_modifiers): Add Drex, Drexv and Drexc.
461 (i386_opcode_modifier): Ditto.
463 * i386-opc.tbl (fmaddps,fmaddpd,fmaddss,fmaddsd): Define SSE5
465 (fmsubps,fmsubpd,fmsubss,fmsubsd): Ditto.
466 (fnmaddps,fnmaddpd,fnmaddss,fnmaddsd): Ditto.
467 (fnmsubps,fnmsubpd,fnmsubss,fnmsubsd): Ditto.
468 (pmacssww,pmacsww,pmacsswd,pmacswd): Ditto.
469 (pmacssdd,pmacsdd,pmacssdql,pmacssdqh): Ditto.
470 (pmacsdql,pmacsdqh,pmadcsswd,pmadcswd): Ditto.
471 (phaddbw,phaddbd,phaddbq,phaddwd): Ditto.
472 (phaddwq,phadddq,phaddubw,phaddubd): Ditto.
473 (phaddubq,phadduwd,phadduwq,phaddudq): Ditto.
474 (phsubbw,phsubwd,phsubdq): Ditto.
475 (pcmov,pperm,permps,permpd): Ditto.
476 (protb,protw,protd,protq): Ditto.
477 (pshlb,pshlw,pshld,pshlq): Ditto.
478 (pshab,pshaw,pshad,pshaq): Ditto.
479 (comps,comeqps,comltps,comungeps,comleps,comungtps): Ditto.
480 (comunordps,comneps,comneqps,comnltps,comugeps): Ditto.
481 (comnleps,comugtps,comordps,comueqps,comultps): Ditto.
482 (comngeps,comuleps,comngtps,comfalseps,comuneps): Ditto.
483 (comuneqps,comunltps,comgeps,comunleps,comgtps,comtrueps): Ditto.
484 (compd,comeqpd,comltpd,comungepd,comlepd,comungtpd,comunordpd): Ditto.
485 (comnepd,comneqpd,comnltpd,comugepd,comnlepd,comugtpd): Ditto.
486 (comordpd,comueqpd,comultpd,comngepd,comulepd,comngtpd): Ditto.
487 (comfalsepd,comunepd,comuneqpd,comunltpd,comgepd): Ditto.
488 (comunlepd,comgtpd,comtruepd): Ditto.
489 (comss,comeqss,comltss,comungess,comless,comungtss,comunordss): Ditto.
490 (comness,comneqss,comnltss,comugess,comnless,comugtss): Ditto.
491 (comordss,comueqss,comultss,comngess,comuless,comngtss): Ditto.
492 (comfalsess,comuness,comuneqss,comunltss,comgess): Ditto.
493 (comunless,comgtss,comtruess): Ditto.
494 (comsd,comeqsd,comltsd,comungesd,comlesd,comungtsd,comunordsd): Ditto.
495 (comnesd,comneqsd,comnltsd,comugesd,comnlesd,comugtsd): Ditto.
496 (comordsd,comueqsd,comultsd,comngesd,comulesd,comngtsd): Ditto.
497 (comfalsesd,comunesd,comuneqsd,comunltsd,comgesd): Ditto.
498 (comunlesd,comgtsd,comtruesd): Ditto.
499 (pcomub,pcomltub,pcomleub,pcomgtub,pcomgeub,pcomequb): Ditto.
500 (pcomnequb,pcomneub): Ditto.
501 (pcomuw,pcomltuw,pcomleuw,pcomgtuw,pcomgeuw,pcomequw): Ditto.
502 (pcomnequw,pcomneuw): Ditto.
503 (pcomud,pcomltud,pcomleud,pcomgtud,pcomgeud,pcomequd): Ditto.
504 (pcomnequd,pcomneud): Ditto.
505 (pcomuq,pcomltuq,pcomleuq,pcomgtuq,pcomgeuq,pcomequq): Ditto.
506 (pcomnequq,pcomneuq): Ditto.
507 (pcomb,pcomltb,pcomleb,pcomgtb,pcomgeb,pcomeqb): Ditto.
508 (pcomneqb,pcomneb): Ditto.
509 (pcomw,pcomltw,pcomlew,pcomgtw,pcomgew,pcomeqw): Ditto.
510 (pcomneqw,pcomnew): Ditto.
511 (pcomd,pcomltd,pcomled,pcomgtd,pcomged,pcomeqd): Ditto.
512 (pcomneqd,pcomned): Ditto.
513 (pcomq,pcomltq,pcomleq,pcomgtq,pcomgeq): Ditto.
514 (pcomeqq,pcomneqq,pcomneq): Ditto.
515 (pcomtrueb, pcomtruew, pcomtrued, pcomtrueq): Ditto.
516 (pcomtrueub, pcomtrueuw, pcomtrueud, pcomtrueuq): Ditto.
517 (pcomfalseb, pcomfalsew, pcomfalsed, pcomfalseq): Ditto.
518 (pcomfalseub, pcomfalseuw, pcomfalseud, pcomfalseuq): Ditto.
519 (frczps,frczpd,frczss,frczsd): Ditto.
520 (cvtph2ps,cvtps2ph): Ditto.
522 * i386-tbl.h: Regenerate from i386-opc.tbl.
523 * i386-init.h: Likewise.
525 * i386-dis.c (libiberty.h): Include to get ARRAY_SIZE.
526 (dis386_move_test): New disassembly support for move from test
527 register instruction that overlaps with SSE5 instructions.
528 (print_insn): Add support for special casing the i386/i486 move
529 from test register instruction that overlaps with the SSE5
530 0x0f24 4 operand instructions.
531 (OP_DREX_ICMP): New macros for SSE5 DREX handling.
532 (OP_DREX_FCMP): Ditto.
533 (OP_E_extended): Rename from OP_E, add additional argument to skip
535 (OP_E): Call OP_E_extended.
536 (DREX_REG_MEMORY): New macros for drex handling.
537 (DREX_REG_UNKNOWN): Ditto.
539 (DREX4_NO_OC0): Ditto.
541 (three_byte_table): Add SSE5 instructions.
542 (print_drex_arg): New function to print a DREX register or memory
544 (OP_DREX4): New function for handling DREX 4 argument ops.
545 (OP_DREX3): New function for handling DREX 3 argument ops.
546 (twobyte_has_modrm): 0f{25,7a,7b} all use the modrm byte.
547 (THREE_BYTE_SSE5_0F{24,25,7A,7B}): New macros for initializing 3
548 byte opcode support for SSE5 instructions.
549 (dis386_twobyte): Add SSE5 24/25/7a/7b support.
550 (three_byte_table): Add rows for describing SSE5 instructions.
552 2007-09-13 H.J. Lu <hongjiu.lu@intel.com>
554 * i386-dis.c (get_valid_dis386): Take a pointer to
555 disassemble_info. Handle IS_3BYTE_OPCODE.
556 (print_insn): Updated. Don't handle IS_3BYTE_OPCODE here.
558 2007-09-12 H.J. Lu <hongjiu.lu@intel.com>
560 * i386-opc.h (CpuUnused): Defined with CpuMax.
561 (OTUnused): Defined with OTMax.
563 2007-09-12 Jan Beulich <jbeulich@novell.com>
565 * i386-opc.tbl: Add two-operand forms of blendvps, blendvpd, and
567 * i386-tbl.h: Regenerate.
569 2007-09-09 H.J. Lu <hongjiu.lu@intel.com>
571 * i386-gen.c (main): Remove the local variable, unused.
573 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
575 * Makefile.am: Run "make dep-am".
576 * Makefile.in: Regenerate.
578 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
580 * configure.in (AC_CHECK_HEADERS): Add limits.h.
581 * configure: Regenerated.
582 * config.in: Likewise.
584 * i386-gen.c: Include "sysdep.h" instead of <stdlib.h> and
585 <string.h>. Use xstrerror instead of strerror.
587 (cpu_flag_init): Likewise.
588 (bitfield): Likewise.
590 (cpu_flags): Likewise.
591 (opcode_modifiers): Likewise.
592 (operand_types): Likewise.
594 (set_cpu_flags): Likewise.
595 (output_cpu_flags): Likewise.
596 (process_i386_cpu_flags): Likewise.
597 (output_opcode_modifier): Likewise.
598 (process_i386_opcode_modifier): Likewise.
599 (output_operand_type): Likewise.
600 (process_i386_operand_type): Likewise.
601 (set_bitfield): Likewise.
602 (operand_type_init): Likewise.
603 (process_i386_initializers): Likewise.
604 (process_i386_opcodes): Call process_i386_opcode_modifier to
605 process opcode_modifier. Call process_i386_operand_type to
606 process operand_types.
607 (process_i386_registers): Call process_i386_operand_type to
609 (main): Check unused bits in i386_cpu_flags and i386_operand_type.
610 Sort cpu_flags, opcode_modifiers and operand_types. Call
611 process_i386_initializers.
614 * i386-tbl.h: Regenerated.
616 * i386-opc.h: Include <limits.h>.
617 (CHAR_BIT): Define as 8 if not defined.
618 (Cpu186): Changed to position of bitfiled.
631 (Cpu3dnow): Likewise.
632 (Cpu3dnowA): Likewise.
634 (CpuPadLock): Likewise.
637 (CpuSSSE3): Likewise.
638 (CpuSSE4a): Likewise.
640 (CpuSSE4_1): Likewise.
641 (CpuSSE4_2): Likewise.
647 (ShortForm): Likewise.
649 (JumpDword): Likewise.
650 (JumpByte): Likewise.
651 (JumpInterSegment): Likewise.
658 (IgnoreSize): Likewise.
659 (DefaultSize): Likewise.
667 (IsString): Likewise.
668 (RegKludge): Likewise.
669 (IsPrefix): Likewise.
678 (FloatReg): Likewise.
688 (BaseIndex): Likewise.
694 (InOutPortReg): Likewise.
695 (ShiftCount): Likewise.
702 (FloatAcc): Likewise.
703 (JumpAbsolute): Likewise.
707 (Reg): Commented out.
709 (ImplicitRegister): Likewise.
714 (LLongMem): Likewise.
716 (ShortMem): Likewise.
721 (CpuNumOfUints): Likewise.
722 (CpuNumOfBits): Likewise.
723 (CpuUnused): Likewise.
724 (OTNumOfUints): Likewise.
725 (OTNumOfBits): Likewise.
726 (OTUnused): Likewise.
727 (i386_cpu_flags): New type.
728 (i386_operand_type): Likewise.
729 (i386_opcode_modifier): Likewise.
730 (CpuSledgehammer): Removed.
732 (CpuUnknownFlags): Likewise.
735 (ImplicitRegister): Likewise.
740 (LLongMem): Likewise.
742 (ShortMem): Likewise.
745 (template): Use i386_cpu_flags for cpu_flags, use
746 i386_opcode_modifier for opcode_modifier, use
747 i386_operand_type for operand_types.
748 (reg_entry): Use i386_operand_type for reg_type.
750 * Makefile.am (HFILES): Add i386-init.h.
751 ($(srcdir)/i386-init.h): New rule.
752 ($(srcdir)/i386-tbl.h): Depend on $(srcdir)/i386-init.h
754 * Makefile.in: Regenerated.
756 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
758 * i386-gen.c (next_field): Updated to take a separator.
759 (process_i386_opcodes): Updated.
760 (process_i386_registers): Likewise.
762 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
764 * i386-gen.c (table): Moved ...
765 (main): Here. Call process_copyright to output copyright.
766 (process_copyright): New.
767 (process_i386_opcodes): Take FILE *table.
768 (process_i386_registers): Likewise.
770 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
772 * i386-gen.c (table): New.
773 (process_i386_opcodes): Report errno when faied to open
774 i386-opc.tbl. Output opcodes to table. Close i386-opc.tbl
776 (process_i386_registers): Report errno when faied to open
777 i386-reg.tbl. Output opcodes to table. Close i386-reg.tbl
779 (main): Open i386-tbl.h for output.
781 * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@".
782 * Makefile.in: Regenerated.
784 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
786 * i386-opc.tbl: Correct SVME instructions to allow 32bit register
787 operand in 64bit mode.
788 * i386-tbl.h: Regenerated.
790 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
792 * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
793 (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
794 (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
796 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
798 * i386-dis.c (SVME_Fixup): Removed.
800 (OPC_EXT_RM_6): Likewise.
801 (grps): Use OPC_EXT_39.
802 (opc_ext_table): Add OPC_EXT_39.
803 (opc_ext_rm_table): Add OPC_EXT_RM_6.
805 * i386-opc.tbl: Correct SVME instructions to take register
807 * i386-tbl.h: Regenerated.
809 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
811 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
812 * Makefile.in: Regenerated.
814 * configure.in (AC_GNU_SOURCE): Added.
815 (AC_PROG_CC): Moved before AC_GNU_SOURCE.
816 (AC_CHECK_DECLS): Add stpcpy.
817 * configure: Regenerated.
818 * config.in: Likewise.
820 * i386-dis.c: Include "sysdep.h" before "dis-asm.h".
822 * sysdep.h (stpcpy): New.
824 2007-08-30 H.J. Lu <hongjiu.lu@intel.com>
826 * i386-dis.c (INVLPG_Fixup): Removed.
828 (OPC_EXT_RM_5): Likewise.
829 (grps): Use OPC_EXT_38.
830 (opc_ext_table): Add OPC_EXT_38.
831 (opc_ext_rm_table): Add OPC_EXT_RM_5.
833 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
835 * i386-dis.c (SIMD_Fixup): Removed.
836 (OPC_EXT_34...OPC_EXT_37): New.
837 (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
838 (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
839 (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
841 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
843 * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
844 (dis386): Use OPC_EXT_0...OPC_EXT_2.
845 (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
846 (grps): Updated to use OPC_EXT_6...OPC_EXT_31.
847 (prefix_user_table): Use OPC_EXT_32.
848 (x86_64_table): Use OPC_EXT_33.
849 (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
851 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
853 * i386-dis.c (prefix_user_table): Fix comment.
855 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
857 * i386-dis.c (OP_Skip_MODRM): New.
858 (OP_Monitor): Likewise.
859 (OP_Mwait): Likewise.
861 (Skip_MODRM): Likewise.
862 (USE_OPC_EXT_TABLE): Likewise.
863 (USE_OPC_EXT_RM_TABLE): Likewise.
864 (PREGRP98...PREGRP100): Likewise.
865 (OPC_EXT_0...OPC_EXT_24): Likewise.
866 (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
867 (lock_prefix): Likewise.
868 (data_prefix): Likewise.
869 (addr_prefix): Likewise.
870 (repz_prefix): Likewise.
871 (repnz_prefix): Likewise.
872 (opc_ext_table): Likewise.
873 (opc_ext_rm_table): Likewise.
874 (get_valid_dis386): Likewise.
877 (PNI_Fixup): Likewise.
878 (VMX_Fixup): Likewise.
880 (twobyte_uses_DATA_prefix): Likewise.
881 (twobyte_uses_REPNZ_prefix): Likewise.
882 (twobyte_uses_REPZ_prefix): Likewise.
883 (threebyte_0x38_uses_DATA_prefix): Likewise.
884 (threebyte_0x38_uses_REPNZ_prefix): Likewise.
885 (threebyte_0x38_uses_REPZ_prefix): Likewise.
886 (threebyte_0x3a_uses_DATA_prefix): Likewise.
887 (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
888 (threebyte_0x3a_uses_REPZ_prefix): Likewise.
889 (grps): Use OPC_EXT_0...OPC_EXT_24.
890 (prefix_user_table): Add PREGRP98...PREGRP100.
891 (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
892 uses_REPNZ_prefix and uses_REPZ_prefix. Initialize
893 repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
894 data_prefix based on prefixes. Call get_valid_dis386 to
895 get a pointer to the valid dis386. Print out prefixes if
897 (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
898 (REP_Fixup): Set repz_prefix to "rep " when seeing
901 2007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
903 * po/nl.po: Updated translation.
905 2007-08-28 H.J. Lu <hongjiu.lu@intel.com>
907 * i386-dis.c (Md): New.
908 (grps): Use 0 on invlpg. Use M on fxsave and fxrstor. Use
909 Md on ldmxcsr and stmxcsr. Use b_mode on clflush.
910 (OP_0fae): Clear bytemode for sfence.
912 2007-08-22 Ben Elliston <bje@au.ibm.com>
914 * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
915 (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
917 (powerpc_opcodes): Add all pair singles instructions.
918 * ppc-dis.c (powerpc_dialect): Handle "ppcps".
919 (print_ppc_disassembler_options): Document -Mppcps.
921 2007-08-21 Andreas Krebbel <krebbel1@de.ibm.com>
923 * s390-mkopc.c (struct s390_cond_ext_format): New global struct.
924 (s390_cond_ext_format): New global variable.
925 (expandConditionalJump): New function.
926 (main): Invoke expandConditionalJump for mnemonics containing '*'.
927 * s390-opc.txt: Replace mnemonics with conditional
928 mask extensions with instructions using the newly introduced '*' tag.
930 2007-08-17 Alan Modra <amodra@bigpond.net.au>
932 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
934 2007-08-10 Nick Clifton <nickc@redhat.com>
936 * po/fi.po: Updated Finnish translation.
937 * po/ga.po: Updated Irish translation.
938 * po/vi.po: Updated Vietnamese translation.
940 2007-08-09 H.J. Lu <hongjiu.lu@intel.com>
942 * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
943 pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
944 * i386-tbl.h: Regenerated.
946 2007-08-03 James E. Wilson <wilson@specifix.com>
948 * ia64-gen.c: (main): Add missing newline to copyright message.
949 * ia64-ic.tbl (fp-non-arith): Add xmpy.
950 * ia64-asmtab.c: Regenerate.
952 2007-08-01 Michael Snyder <msnyder@access-company.com>
954 * i386-dis.c (print_insn): Guard against NULL.
956 2007-07-29 H.J. Lu <hongjiu.lu@intel.com>
959 * i386-dis.c (EXw): New.
960 (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
961 instructions when appropriated.
963 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
966 * i386-dis.c (Eq): New.
967 (EMC): Renamed to ...
968 (EMCq): This. Use q_mode instead of v_mode.
969 (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
972 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
974 * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
975 (prefix_user_table): Likewise. Use EXq instead of EXx on
978 2007-07-27 Nathan Sidwell <nathan@codesourcery.com>
980 * ppc-opc (PPC7450): New.
981 (powerpc_opcodes): Use it in dcba.
983 2007-07-24 H.J. Lu <hongjiu.lu@intel.com>
985 * i386-gen.c (main): Print a newline after copyright notice.
987 2007-07-19 Nick Clifton <nickc@redhat.com>
990 * maxq-dis.c (get_reg_name): Fix the scan of the
991 mem_access_syntax_table.
993 2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
995 * i386-dis.c (EMq): Removed.
997 (prefix_user_table): Replace EMq with EMx.
999 2007-07-16 Nick Clifton <nickc@redhat.com>
1001 * po/nl.po: Updated translation.
1003 2007-07-12 Nick Clifton <nickc@redhat.com>
1005 * po/vi.po: Updated translation.
1006 * po/nl.po: Updated translation.
1008 2007-07-06 Mark Kettenis <kettenis@gnu.org>
1009 H.J. Lu <hongjiu.lu@intel.com>
1011 * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
1012 (ia64-asmtab.c): Likewise.
1013 * Makefile.in: Regenerate.
1015 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
1017 * aclocal.m4: Regenerated.
1019 2007-07-04 Nick Clifton <nickc@redhat.com>
1021 * alpha-dis.c: Update copyright notice to refer to GPLv3.
1022 * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h,
1023 arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c,
1024 cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in,
1025 cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c,
1026 cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c,
1027 d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c,
1028 dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c,
1029 h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c,
1030 i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c,
1031 ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c,
1032 ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c,
1033 ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c,
1034 m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c,
1035 m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c,
1036 mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c,
1037 mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c,
1038 or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c,
1039 ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c,
1040 score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h,
1041 sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c,
1042 spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c,
1043 tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c,
1044 vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c,
1045 z8k-dis.c, z8kgen.c: Likewise.
1046 * i386-opc.tbl, i386-reg.tbl: Add copyright notice.
1047 * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h,
1048 fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c,
1049 frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c,
1050 frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c,
1051 ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h,
1052 iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c,
1053 iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c,
1054 m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c,
1055 m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
1056 m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c,
1057 mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c,
1058 mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c,
1059 mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c,
1060 openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c,
1061 openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h,
1062 xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h,
1063 xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h,
1064 xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c,
1065 xstormy16-opc.h, z8k-opc.h: Regenerated
1067 2007-07-04 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1069 * cr16-dis.c (getcinvstring): Add const qualifier to char *
1071 (print_insn_cr16): Remove cast to char *.
1073 2007-07-03 Nathan Sidwell <nathan@codesourcery.com>
1075 * m68k-dis.c (fetch_arg): Add E. Replace length switch with
1077 (print_ins_arg): Add j & K operand types.
1078 (match_insn_m68k): Check and skip initial '.' arg character.
1079 (m68k_scan_mask): Likewise.
1080 * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
1082 2007-07-02 Alan Modra <amodra@bigpond.net.au>
1084 * Makefile.am: Run "make dep-am".
1085 * Makefile.in: Regenerate.
1086 * aclocal.m4: Regenerate.
1087 * config.in: Regenerate.
1088 * po/POTFILES.in: Regenerate.
1089 * po/opcodes.pot: Regenerate.
1091 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
1093 * aclocal.m4: Regenerated.
1094 * Makefile.in: Likewise.
1096 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
1098 * i386-reg.tbl: Remove spaces before comments.
1100 2007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1102 * cr16-opc.c: New file.
1103 * cr16-dis.c: New file.
1104 * Makefile.am: Entries for cr16.
1105 * Makefile.in: Regenerate.
1106 * cofigure.in: Add cr16 target information.
1107 * configure : Regenerate.
1108 * disassemble.c: Add cr16 target information.
1110 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
1112 * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
1113 (CFILES): Add i386-gen.c.
1114 (i386-gen): New rule.
1115 (i386-gen.o): Likewise.
1116 (i386-tbl.h): Likewise.
1118 * Makefile.in: Regenerated.
1120 * i386-gen.c: New file.
1121 * i386-opc.tbl: Likewise.
1122 * i386-reg.tbl: Likewise.
1123 * i386-tbl.h: Likewise.
1125 * i386-opc.c: Include "i386-tbl.h".
1126 (i386_optab): Removed.
1127 (i386_regtab): Likewise.
1128 (i386_regtab_size): Likewise.
1130 2007-06-26 Paul Brook <paul@codesourcery.com>
1132 * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
1134 2007-06-25 H.J. Lu <hongjiu.lu@intel.com>
1136 * i386-opc.h (regKludge): Renamed to ...
1139 * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
1141 2007-06-23 H.J. Lu <hongjiu.lu@intel.com>
1144 * i386-dis.c (EX): Removed.
1150 (PREGRP93...PREGRP97): Likewise.
1151 (dis386_twobyte): Updated.
1152 (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
1153 (OP_EX): Remove Intel syntax handling.
1155 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
1157 * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
1159 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
1161 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
1163 * acinclude.m4: Removed.
1165 * Makefile.in: Regenerated.
1166 * doc/Makefile.in: Likewise.
1167 * aclocal.m4: Likewise.
1168 * configure: Likewise.
1170 2007-06-05 Paul Brook <paul@codesourcery.com>
1172 * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
1174 2007-05-24 Steve Ellcey <sje@cup.hp.com>
1176 * Makefile.in: Regnerate.
1177 * configure: Regenerate.
1178 * aclocal.m4: Regenerate.
1180 2007-05-18 Alan Modra <amodra@bigpond.net.au>
1182 * ppc-dis.c (print_insn_powerpc): Don't skip all operands
1183 after setting skip_optional.
1185 2007-05-16 Peter Bergner <bergner@vnet.ibm.com>
1187 * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
1188 (print_insn_powerpc): Use the new operand_value_powerpc and
1189 skip_optional_operands functions to omit or print all optional
1190 operands as a group.
1191 * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
1192 (XFL_MASK): Delete L and W bits from the mask.
1193 (mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK
1194 with XWRA_MASK. Use W.
1195 (mtfsf, mtfsf.): Use XFL_L and W.
1197 2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
1200 * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
1202 2007-05-10 H.J. Lu <hongjiu.lu@intel.com>
1204 * i386-opc.h (ShortForm): Redefined.
1206 (JumpDword): Likewise.
1207 (JumpByte): Likewise.
1208 (JumpInterSegment): Likewise.
1209 (FloatMF): Likewise.
1215 (IgnoreSize): Likewise.
1216 (DefaultSize): Likewise.
1217 (No_bSuf): Likewise.
1218 (No_wSuf): Likewise.
1219 (No_lSuf): Likewise.
1220 (No_sSuf): Likewise.
1221 (No_qSuf): Likewise.
1222 (No_xSuf): Likewise.
1224 (IsString): Likewise.
1225 (regKludge): Likewise.
1226 (IsPrefix): Likewise.
1228 (NoRex64): Likewise.
1232 2007-05-07 H.J. Lu <hongjiu.lu@intel.com>
1234 * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
1235 for some SSE4 instructions.
1236 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1238 2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
1240 * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
1242 * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
1245 2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
1247 * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
1248 check data size prefix in 16bit mode.
1250 * i386-opc.c (i386_optab): Default crc32 to non-8bit and
1253 2007-04-30 Mark Salter <msalter@redhat.com>
1255 * frv-desc.c: Regenerate.
1256 * frv-desc.h: Regenerate.
1258 2007-04-30 Alan Modra <amodra@bigpond.net.au>
1261 * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
1263 2007-04-27 H.J. Lu <hongjiu.lu@intel.com>
1265 * i386-dis.c (modrm): Put reg before rm.
1267 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1270 * i386-dis.c (print_displacement): New.
1271 (OP_E): Call print_displacement instead of print_operand_value
1272 to output displacement when either base or index exist. Print
1273 the explicit zero displacement in 16bit mode.
1275 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1278 * i386-dis.c (print_insn): Also swap the order of op_riprel
1279 when swapping op_index. Break when the RIP relative address
1281 (OP_E): Properly handle RIP relative addressing and print the
1282 explicit zero displacement for Intel mode.
1284 2007-04-27 Alan Modra <amodra@bigpond.net.au>
1286 * Makefile.am: Run "make dep-am".
1287 * Makefile.in: Regenerate.
1288 * ns32k-dis.c: Include sysdep.h first.
1290 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
1292 * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
1294 * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
1296 2007-04-24 Nick Clifton <nickc@redhat.com>
1298 * arm-dis.c (print_insn): Initialise type.
1300 2007-04-24 Alan Modra <amodra@bigpond.net.au>
1302 * cgen-types.h: Include bfd_stdint.h, not stdint.h.
1303 * Makefile.am: Run "make dep-am".
1304 * Makefile.in: Regenerate.
1306 2007-04-23 Nathan Sidwell <nathan@codesourcery.com>
1308 * m68k-opc.c: Mark mcfisa_c instructions.
1310 2007-04-21 Richard Earnshaw <rearnsha@arm.com>
1312 * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
1313 (thumb_opcodes): Add missing white space in adr.
1314 (arm_decode_shift): New parameter, print_shift. Only decode the
1315 shift parameter if set. Adjust callers.
1316 (print_insn_arm): Support for operand type q with no shift decode.
1318 2007-04-21 Alan Modra <amodra@bigpond.net.au>
1320 * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
1322 (i386_regtab): ..here.
1323 * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
1325 * ppc-opc.c (powerpc_operands): Delete duplicate entries.
1326 (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
1327 (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
1328 (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
1330 2007-04-20 Nathan Sidwell <nathan@codesourcery.com>
1332 * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
1335 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1337 * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
1339 * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
1340 in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove
1341 references to following deleted functions.
1342 (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
1343 (insert_ds, extract_ds, insert_de, extract_de): Delete.
1344 (insert_des, extract_des, insert_li, extract_li): Delete.
1345 (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
1346 (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
1347 (num_powerpc_operands): New constant.
1348 (XSPRG_MASK): Remove entire SPRG field.
1349 (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
1351 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1353 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
1355 (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
1357 2007-04-20 Richard Earnshaw <rearnsha@arm.com>
1359 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
1362 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1364 * Makefile.am: Run "make dep-am".
1365 * Makefile.in: Regenerate.
1366 * po/POTFILES.in: Regenerate.
1368 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1370 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
1371 db10cyc, db12cyc, db16cyc.
1373 2007-04-19 Nathan Froyd <froydnj@codesourcery.com>
1375 * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
1377 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1379 * i386-dis.c (CRC32_Fixup): New.
1380 (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
1382 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
1383 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1384 (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
1385 PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
1386 (three_byte_table): Likewise.
1388 * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
1390 * i386-opc.h (CpuSSE4_2): New.
1391 (CpuSSE4): Likewise.
1392 (CpuUnknownFlags): Add CpuSSE4_2.
1394 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1396 * i386-dis.c (XMM_Fixup): New.
1402 (PREGRP39 ... PREGRP85): New.
1403 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
1404 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1405 (prefix_user_table): Add PREGRP39 ... PREGRP85.
1406 (three_byte_table): Likewise.
1407 (putop): Handle 'K'.
1408 (intel_operand_size): Handle dqb_mode, dqd_mode):
1412 * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
1414 * i386-opc.h (CpuSSE4_1): New.
1415 (CpuUnknownFlags): Add CpuSSE4_1.
1416 (regKludge): Update comment.
1418 2007-04-18 Matthias Klose <doko@ubuntu.com>
1420 * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
1421 * Makefile.in: Regenerate.
1423 2007-04-14 Steve Ellcey <sje@cup.hp.com>
1425 * Makefile.am: Add ACLOCAL_AMFLAGS.
1426 * Makefile.in: Regenerate.
1428 2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
1430 * i386-dis.c: Remove trailing white spaces.
1431 * i386-opc.c: Likewise.
1432 * i386-opc.h: Likewise.
1434 2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
1437 * i386-dis.c (GRP1a): New.
1438 (GRP1b ... GRPPADLCK2): Update index.
1439 (dis386): Use GRP1a for entry 0x8f.
1440 (mod, rm, reg): Removed. Replaced by ...
1444 2007-04-09 Kazu Hirata <kazu@codesourcery.com>
1446 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
1447 info->print_address_func if longjmp is called.
1449 2007-03-29 DJ Delorie <dj@redhat.com>
1451 * m32c-desc.c: Regenerate.
1452 * m32c-dis.c: Regenerate.
1453 * m32c-opc.c: Regenerate.
1455 2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
1457 * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
1458 movq. Remove InvMem from sldt, smsw and str.
1460 * i386-opc.h (InvMem): Renamed to ...
1461 (RegMem): Update comments.
1462 (AnyMem): Remove InvMem.
1464 2007-03-27 Paul Brook <paul@codesourcery.com>
1466 * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
1468 2007-03-24 Paul Brook <paul@codesourcery.com>
1470 * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
1471 (print_insn_coprocessor): Handle %<bitfield>x.
1473 2007-03-24 Paul Brook <paul@codesourcery.com>
1474 Mark Shinwell <shinwell@codesourcery.com>
1476 * arm-dis.c (arm_opcodes): Print SRS base register.
1478 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
1480 * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
1482 * i386-opc.c (i386_optab): Add rex.wrxb.
1484 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1486 * i386-dis.c (REX_MODE64): Remove definition.
1487 (REX_EXTX): Likewise.
1488 (REX_EXTY): Likewise.
1489 (REX_EXTZ): Likewise.
1490 (USED_REX): Use REX_OPCODE instead of 0x40.
1491 Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
1492 REX_R, REX_X and REX_B respectively.
1494 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1497 * i386-dis.c (PREGRP38): New.
1498 (dis386): Use PREGRP38 for 0x90.
1499 (prefix_user_table): Add PREGRP38.
1500 (print_insn): Set uses_REPZ_prefix to 1 for pause.
1501 (NOP_Fixup1): Properly handle REX bits.
1502 (NOP_Fixup2): Likewise.
1504 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
1505 Allow register with nop.
1507 2007-03-20 DJ Delorie <dj@redhat.com>
1509 * m32c-asm.c: Regenerate.
1510 * m32c-desc.c: Regenerate.
1511 * m32c-desc.h: Regenerate.
1512 * m32c-dis.h: Regenerate.
1513 * m32c-ibld.c: Regenerate.
1514 * m32c-opc.c: Regenerate.
1515 * m32c-opc.h: Regenerate.
1517 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1519 * i386-opc.c: Include "libiberty.h".
1520 (i386_regtab): Remove the last entry.
1521 (i386_regtab_size): New.
1522 (i386_float_regtab_size): Likewise.
1524 * i386-opc.h (i386_regtab_size): New.
1525 (i386_float_regtab_size): Likewise.
1527 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1529 * Makefile.am (CFILES): Add i386-opc.c.
1530 (ALL_MACHINES): Add i386-opc.lo.
1532 * Makefile.in: Regenerated.
1534 * configure.in: Add i386-opc.lo for bfd_i386_arch.
1535 * configure: Regenerated.
1537 * i386-dis.c: Include "opcode/i386.h".
1538 (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
1539 (FWAIT_OPCODE): Remove definition.
1540 (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
1541 (MAX_OPERANDS): Remove definition.
1543 * i386-opc.c: New file.
1544 * i386-opc.h: Likewise.
1546 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1548 * Makefile.in: Regenerated.
1550 2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
1552 * i386-dis.c (OP_Rd): Renamed to ...
1557 2007-03-08 Alan Modra <amodra@bigpond.net.au>
1559 * fr30-asm.c: Regenerate.
1560 * frv-asm.c: Regenerate.
1561 * ip2k-asm.c: Regenerate.
1562 * iq2000-asm.c: Regenerate.
1563 * m32c-asm.c: Regenerate.
1564 * m32r-asm.c: Regenerate.
1565 * m32r-dis.c: Regenerate.
1566 * mt-asm.c: Regenerate.
1567 * mt-ibld.c: Regenerate.
1568 * mt-opc.c: Regenerate.
1569 * openrisc-asm.c: Regenerate.
1570 * xc16x-asm.c: Regenerate.
1571 * xstormy16-asm.c: Regenerate.
1573 * Makefile.am: Run "make dep-am".
1574 * Makefile.in: Regenerate.
1575 * po/POTFILES.in: Regenerate.
1577 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
1579 * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
1580 INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
1581 instruction formats added.
1582 (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
1583 MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
1585 * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
1587 * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1588 (main): z9-ec cpu type option added.
1589 * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1591 2007-02-22 DJ Delorie <dj@redhat.com>
1593 * s390-opc.c (INSTR_SS_L2RDRD): New.
1594 (MASK_SS_L2RDRD): New.
1595 * s390-opc.txt (pka): Use it.
1597 2007-02-20 Thiemo Seufer <ths@mips.com>
1598 Chao-Ying Fu <fu@mips.com>
1600 * mips-dis.c (mips_arch_choices): Add DSP R2 support.
1601 (print_insn_args): Add support for balign instruction.
1602 * mips-opc.c (D33): New shortcut for DSP R2 instructions.
1603 (mips_builtin_opcodes): Add DSP R2 instructions.
1605 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1607 * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
1608 (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
1609 * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
1610 cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
1612 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1614 * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
1615 * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
1616 (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
1619 2007-02-16 Nick Clifton <nickc@redhat.com>
1622 * avr-dis.c (comment_start): New variable, contains the prefix to
1623 use when printing addresses in comments.
1624 (print_insn_avr): Set comment_start to an empty space if there is
1625 no symbol table available as the generic address printing code
1626 will prefix the numeric value of the address with 0x.
1628 2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
1630 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
1633 2007-02-05 Dave Brolley <brolley@redhat.com>
1634 Richard Sandiford <rsandifo@redhat.com>
1635 DJ Delorie <dj@redhat.com>
1636 Graydon Hoare <graydon@redhat.com>
1637 Frank Ch. Eigler <fche@redhat.com>
1638 Ben Elliston <bje@redhat.com>
1640 * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
1641 (CFILES): Add mep-*.c
1642 (ALL_MACHINES): Add mep-*.lo.
1643 (CLEANFILES): Add stamp-mep.
1644 (CGEN_CPUS): Add mep.
1645 (MEP_DEPS): New variable.
1646 (mep-*): New targets.
1647 * configure.in: Handle bfd_mep_arch.
1648 * disassemble.c (ARCH_mep): New macro.
1649 (disassembler): Handle bfd_arch_mep.
1650 (disassemble_init_for_target): Likewise.
1651 * mep-*: New files for Toshiba Media Processor (MeP).
1652 * Makefile.in: Regenerated.
1653 * configure: Regenerated.
1655 2007-02-05 H.J. Lu <hongjiu.lu@intel.com>
1657 * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
1658 wrap around within the same segment in 16bit mode.
1660 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1662 * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
1665 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1667 * avr-dis.c (avr_operand): Correct PR number in comment.
1669 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1671 * disassemble.c (disassembler_usage): Call
1672 print_i386_disassembler_options for i386 disassembler.
1674 * i386-dis.c (print_i386_disassembler_options): New.
1675 (print_insn): Support the new addr64 option.
1677 2007-02-02 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
1679 * ppc-dis.c (powerpc_dialect): Handle ppc440.
1680 * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
1683 2007-02-02 Alan Modra <amodra@bigpond.net.au>
1685 * ppc-opc.c (insert_bdm): -Many comment.
1686 (valid_bo): Add "extract" param. Accept both powerpc and power4
1687 BO fields when disassembling with -Many.
1688 (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
1690 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
1692 * m68k-opc.c (m68k_opcodes): Replace cpu32 with
1693 cpu32 | fido_a except on tbl instructions.
1695 2007-01-04 Paul Brook <paul@codesourcery.com>
1697 * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
1699 2007-01-04 Andreas Schwab <schwab@suse.de>
1701 * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
1703 2007-01-04 Julian Brown <julian@codesourcery.com>
1705 * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
1706 vqrshl instructions.
1708 For older changes see ChangeLog-2006
1714 version-control: never