1 2007-10-15 Alan Modra <amodra@bigpond.net.au>
3 * mcore-dis.c (print_insn_mcore): Protect "fprintf" var against
6 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
8 * i386-gen.c (opcode_modifiers): Add FirstXmm0.
10 * i386-opc.h (FirstXmm0): New.
12 (i386_opcode_modifier): Add firstxmm0.
14 * i386-opc.tbl (blendvpd): Replace RegKludge with FirstXmm0.
17 * i386-tbl.h: Regenerated.
19 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
21 * i386-dis.c (prefix_table): Reformat pblendvb and blendvps.
23 2007-10-10 H.J. Lu <hongjiu.lu@intel.com>
25 * i386-dis.c (v_mode): Defined as previous one + 1.
32 (cond_jump_mode): Likewise.
33 (loop_jcxz_mode): Likewise.
37 (const_1_mode): Likewise.
38 (stack_v_mode): Likewise.
81 (z_mode_ax_reg): Likewise.
82 (indir_dx_reg): Likewise.
84 (DREX_NO_OC0): Likewise.
85 (DREX_MASK): Likewise.
86 (MAX_BYTEMODE): New. Issue an error if MAX_BYTEMODE is not
89 2007-10-08 H.J. Lu <hongjiu.lu@intel.com>
91 * i386-dis.c: Updated comments for 'Y'.
92 (putop): Don't add 'q' for 'Y' if suffix_always isn't true.
94 2007-10-08 Maciej W. Rozycki <macro@linux-mips.org>
96 * opcodes/mips-dis.c (mips_cp0_names_r3000): New definition.
97 (mips_cp0_names_r4000): Likewise.
98 (mips_arch_choices): Link to the above as appropriate.
100 2007-10-08 Nick Clifton <nickc@redhat.com>
102 * configure.in (SHARED_DEPENDENCIES): Change non-cygwin dependency
103 to be ../bfd/libbfd.la.
104 * configure: Regenerate.
106 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
108 * i386-dis.c (dis386_twobyte): Add getsec.
110 * i386-gen.c (cpu_flags): Add CpuSMX.
112 * i386-opc.h (CpuSMX): New.
114 (i386_cpu_flags): Add cpusmx.
116 * i386-opc.tbl: Add getsec.
117 * i386-init.h: Regenerated.
118 * i386-tbl.h: Likewise.
120 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
122 * i386-dis.c (reg_table): Use "{ XX }" on "(bad)".
123 (prefix_table): Likewise.
125 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
127 * i386-dis.c (dis386_twobyte): Use EXx instead of EXq on
128 unpckhpX and unpckhpX.
130 2007-10-04 David Daney <ddaney@avtrex.com>
132 * mips-opc.c (mips_builtin_opcodes): Mark lwxc1 as working on FP_S
135 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
137 * i386-dis.c (MOD_0F12_PREFIX_0): Use "movlps" and "movhlps"
138 instead of "movlpX" and "movhlpX", respectively.
139 (MOD_0F16_PREFIX_0): Use "movhps" and "movlhps" instead of
140 "movhpX" and "movlhpX", respectively.
142 2007-10-04 Nick Clifton <nickc@redhat.com>
144 * configure.in (WIN32LDFLAGS): Rename to SHARED_LDFLAGS.
145 (WIN32LIBADD): Rename to SHARED_LIBADD
146 (SHARED_DEPENDENCIES): New exported variable.
147 (enable_shared): Add dependency upon libbfd.la for non-cygwin
148 based shared library builds.
149 * Makefile.am (libopcodes_la_DEPENDENCIES): Append
151 (libopcodes_la_LIBADD): Rename WIN32LIBADD to SHARED_LIBADD.
152 (libopcodes_la_LDFLAGS): Rename WIN32LDFLAGS to SHARED_LDFLAGS.
153 * configure: Regenerate.
154 * Makefile.in: Regenerate.
157 * arc-opc.c (insert_offset): Fix spelling mistake in error
160 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
162 * i386-dis.c (OP_REG): Set add to 0 only when needed.
171 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
173 * i386-opc.tbl: Update SSE comments.
175 2007-10-01 H.J. Lu <hongjiu.lu@intel.com>
177 * i386-dis.c (THREE_BYTE_0FBA): Renamed to ...
178 (THREE_BYTE_0F7B): This.
179 (dis386_twobyte): Updated.
180 (three_byte_table): Updated comments.
182 2007-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
184 * cr16-opc.c: Updated the branch on condition instructions with
187 2007-09-30 H.J. Lu <hongjiu.lu@intel.com>
189 * 386-dis.c (prefix_table): Reformat comment.
191 2007-09-29 H.J. Lu <hongjiu.lu@intel.com>
193 * 386-dis.c (USE_GROUPS): Renamed to ...
194 (USE_REG_TABLE): This.
195 (USE_OPC_EXT_TABLE): Renamed to ...
196 (USE_MOD_TABLE): This.
197 (USE_OPC_EXT_RM_TABLE): Renamed to ...
198 (USE_RM_TABLE): This.
199 (USE_XXX_TABLE): Reordered.
200 (GRP): Renamed to ...
202 (OPC_EXT_TABLE): Renamed to ...
204 (OPC_EXT_RM_TABLE): Renamed to ...
206 (GRP_XXX): Renamed to ...
208 (PREGRP_XXX): Renamed to ...
210 (OPC_EXT_XXX): Renamed to ...
212 (OPC_EXT_RM_XXX): Renamed to ...
214 (grps): Renamed to ...
216 (prefix_user_table): Renamed to ...
218 (opc_ext_table): Renamed to ...
220 (opc_ext_rm_table): Renamed to ...
222 (OPC_EXT_RM_XXX): Likewise.
224 (dis386_twobyte): Likewise.
225 (reg_table): Likewise.
226 (prefix_table): Likewise.
227 (x86_64_table): Likewise.
228 (three_byte_table): Likewise.
229 (mod_table): Likewise.
230 (rm_table): Likewise.
231 (get_valid_dis386): Likewise.
233 2007-09-28 H.J. Lu <hongjiu.lu@intel.com>
235 * 386-dis.c (USE_PREFIX_USER_TABLE): Renamed to ...
236 (USE_PREFIX_TABLE): This.
237 (X86_64_SPECIAL): Renamed to ...
238 (USE_X86_64_TABLE): This.
239 (IS_3BYTE_OPCODE): Renamed to ...
240 (USE_3BYTE_TABLE): This.
242 (PREGRPXXX): Likewise.
243 (X86_64_XXX): Likewise.
244 (THREE_BYTE_XXX): Likewise.
245 (OPC_EXT_XXX): Likewise.
246 (OPC_EXT_RM_XXX): Likewise.
250 (X86_64_TABLE): Likewise.
251 (THREE_BYTE_TABLE): Likewise.
252 (OPC_EXT_TABLE): Likewise.
253 (OPC_EXT_RM_TABLE): Likewise.
255 (PREGRP_XXX): Likewise.
256 (X86_64_XXX): Likewise.
257 (THREE_BYTE_XXX): Likewise.
258 (OPC_EXT_XXX): Likewise.
259 (OPC_EXT_RM_XXX): Likewise.
261 (dis386_twobyte): Likewise.
263 (prefix_user_table): Likewise.
264 (x86_64_table): Likewise.
265 (three_byte_table): Likewise.
266 (opc_ext_table): Likewise.
267 (opc_ext_rm_table): Likewise.
268 (get_valid_dis386): Likewise.
270 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
272 * i386-dis.c (dis386): Swap X86_64_27 with OPC_EXT_2.
273 (x86_64_table): Likewise.
274 (opc_ext_table): Likewise.
276 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
279 * i386-dis.c: Update comments on '{', '}' and '|' to support
280 only AT&T and Intel modes.
281 (X86_64_4...X86_64_27): New.
282 (dis386): Updated. Use X86_64_4...X86_64_21.
283 (dis386_twobyte): Updated.
284 (float_mem): Likewise.
285 (x86_64_table): Add X86_64_4...X86_64_27.
286 (opc_ext_table): Updated. Use X86_64_22...X86_64_27.
287 (putop): Updated handling of '{', '}' and '|' to support only
288 AT&T and Intel modes.
290 2007-09-27 Kazu Hirata <kazu@codesourcery.com>
292 * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb.
294 2007-09-26 James E. Wilson <wilson@specifix.com>
296 * ia64-gen.c (print_dependency_table): Fix typo in last patch.
298 2007-09-26 Nick Clifton <nickc@redhat.com>
300 * mt-asm.c (parse_imm16): Reword error message in order to allow
301 it to be translated properly.
302 * ia64-gen.c (print_dependency_table): Likewise.
303 * mips-dis.c (print_insn_args): Likewise.
305 2007-09-26 Jan Beulich <jbeulich@novell.com>
307 * i386-dis.c (OP_E_extended): Distinguish rip- and eip-
308 relative addressing. Update used_prefixes based on whether any
309 base or index register was printed.
311 2007-09-26 Jan Beulich <jbeulich@novell.com>
313 * i386-opc.h (RegEip): Define.
315 * i386-reg.tbl: Add eip. Mark rip and eip with RegRex64.
316 * i386-tbl.h: Re-generate.
318 2007-09-25 H.J. Lu <hongjiu.lu@intel.com>
320 * i386-gen.c (process_i386_opcodes): Process opcode_length.
322 * i386-opc.h (template): Add opcode_length.
323 * 386-opc.tbl: Likewise.
324 * i386-tbl.h: Regenerated.
326 2007-09-21 H.J. Lu <hongjiu.lu@intel.com>
328 * i386-opc.h: Adjust whitespaces.
330 2007-09-21 Dave Brolley <brolley@redhat.com>
332 * mep-desc.c: Regenerated.
334 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
336 * i386-dis.c (OP_E_extended): Display eiz for [eiz*1 + offset].
338 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
341 * 386-dis.c (index64): New.
343 (intel_index64): Likewise.
344 (intel_index32): Likewise.
345 (att_index64): Likewise.
346 (att_index32): Likewise.
347 (print_insn): Set index64 and index32.
348 (OP_E_extended): Use index64/index32 for index register for
351 * i386-opc.h (RegEiz): New.
354 * i386-reg.tbl: Add eiz and riz.
355 * i386-tbl.h: Regenerated.
357 2007-09-19 H.J. Lu <hongjiu.lu@intel.com>
359 * i386-dis.c (OP_E_extended): Always display scale for memory.
361 2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
363 * i386-opc.h (RegRip): New.
365 * i386-reg.tbl (rip): Use RegRip for reg_num.
366 * i386-tbl.h: Regenerated.
368 2007-09-17 Nick Clifton <nickc@redhat.com>
370 * po/es.po: Updated Spanish translation.
372 2007-09-14 H.J. Lu <hongjiu.lu@intel.com>
374 * Makefile.am: Run "make dep-am".
375 * Makefile.in: Regenerate.
377 2007-09-14 Michael Meissner <michael.meissner@amd.com>
378 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
379 Tony Linthicum <tony.linthicum@amd.com>
381 * i386-opc.h (CpuSSE5): New macro.
382 (i386_cpu_flags): Add Drex, Drexv and Drexc.
384 * i386-gen.c (cpu_flag_init): Add CPU_SSE5_FLAGS.
385 (operand_type_init): Add CpuSSE5.
386 (opcode_modifiers): Add Drex, Drexv and Drexc.
387 (i386_opcode_modifier): Ditto.
389 * i386-opc.tbl (fmaddps,fmaddpd,fmaddss,fmaddsd): Define SSE5
391 (fmsubps,fmsubpd,fmsubss,fmsubsd): Ditto.
392 (fnmaddps,fnmaddpd,fnmaddss,fnmaddsd): Ditto.
393 (fnmsubps,fnmsubpd,fnmsubss,fnmsubsd): Ditto.
394 (pmacssww,pmacsww,pmacsswd,pmacswd): Ditto.
395 (pmacssdd,pmacsdd,pmacssdql,pmacssdqh): Ditto.
396 (pmacsdql,pmacsdqh,pmadcsswd,pmadcswd): Ditto.
397 (phaddbw,phaddbd,phaddbq,phaddwd): Ditto.
398 (phaddwq,phadddq,phaddubw,phaddubd): Ditto.
399 (phaddubq,phadduwd,phadduwq,phaddudq): Ditto.
400 (phsubbw,phsubwd,phsubdq): Ditto.
401 (pcmov,pperm,permps,permpd): Ditto.
402 (protb,protw,protd,protq): Ditto.
403 (pshlb,pshlw,pshld,pshlq): Ditto.
404 (pshab,pshaw,pshad,pshaq): Ditto.
405 (comps,comeqps,comltps,comungeps,comleps,comungtps): Ditto.
406 (comunordps,comneps,comneqps,comnltps,comugeps): Ditto.
407 (comnleps,comugtps,comordps,comueqps,comultps): Ditto.
408 (comngeps,comuleps,comngtps,comfalseps,comuneps): Ditto.
409 (comuneqps,comunltps,comgeps,comunleps,comgtps,comtrueps): Ditto.
410 (compd,comeqpd,comltpd,comungepd,comlepd,comungtpd,comunordpd): Ditto.
411 (comnepd,comneqpd,comnltpd,comugepd,comnlepd,comugtpd): Ditto.
412 (comordpd,comueqpd,comultpd,comngepd,comulepd,comngtpd): Ditto.
413 (comfalsepd,comunepd,comuneqpd,comunltpd,comgepd): Ditto.
414 (comunlepd,comgtpd,comtruepd): Ditto.
415 (comss,comeqss,comltss,comungess,comless,comungtss,comunordss): Ditto.
416 (comness,comneqss,comnltss,comugess,comnless,comugtss): Ditto.
417 (comordss,comueqss,comultss,comngess,comuless,comngtss): Ditto.
418 (comfalsess,comuness,comuneqss,comunltss,comgess): Ditto.
419 (comunless,comgtss,comtruess): Ditto.
420 (comsd,comeqsd,comltsd,comungesd,comlesd,comungtsd,comunordsd): Ditto.
421 (comnesd,comneqsd,comnltsd,comugesd,comnlesd,comugtsd): Ditto.
422 (comordsd,comueqsd,comultsd,comngesd,comulesd,comngtsd): Ditto.
423 (comfalsesd,comunesd,comuneqsd,comunltsd,comgesd): Ditto.
424 (comunlesd,comgtsd,comtruesd): Ditto.
425 (pcomub,pcomltub,pcomleub,pcomgtub,pcomgeub,pcomequb): Ditto.
426 (pcomnequb,pcomneub): Ditto.
427 (pcomuw,pcomltuw,pcomleuw,pcomgtuw,pcomgeuw,pcomequw): Ditto.
428 (pcomnequw,pcomneuw): Ditto.
429 (pcomud,pcomltud,pcomleud,pcomgtud,pcomgeud,pcomequd): Ditto.
430 (pcomnequd,pcomneud): Ditto.
431 (pcomuq,pcomltuq,pcomleuq,pcomgtuq,pcomgeuq,pcomequq): Ditto.
432 (pcomnequq,pcomneuq): Ditto.
433 (pcomb,pcomltb,pcomleb,pcomgtb,pcomgeb,pcomeqb): Ditto.
434 (pcomneqb,pcomneb): Ditto.
435 (pcomw,pcomltw,pcomlew,pcomgtw,pcomgew,pcomeqw): Ditto.
436 (pcomneqw,pcomnew): Ditto.
437 (pcomd,pcomltd,pcomled,pcomgtd,pcomged,pcomeqd): Ditto.
438 (pcomneqd,pcomned): Ditto.
439 (pcomq,pcomltq,pcomleq,pcomgtq,pcomgeq): Ditto.
440 (pcomeqq,pcomneqq,pcomneq): Ditto.
441 (pcomtrueb, pcomtruew, pcomtrued, pcomtrueq): Ditto.
442 (pcomtrueub, pcomtrueuw, pcomtrueud, pcomtrueuq): Ditto.
443 (pcomfalseb, pcomfalsew, pcomfalsed, pcomfalseq): Ditto.
444 (pcomfalseub, pcomfalseuw, pcomfalseud, pcomfalseuq): Ditto.
445 (frczps,frczpd,frczss,frczsd): Ditto.
446 (cvtph2ps,cvtps2ph): Ditto.
448 * i386-tbl.h: Regenerate from i386-opc.tbl.
449 * i386-init.h: Likewise.
451 * i386-dis.c (libiberty.h): Include to get ARRAY_SIZE.
452 (dis386_move_test): New disassembly support for move from test
453 register instruction that overlaps with SSE5 instructions.
454 (print_insn): Add support for special casing the i386/i486 move
455 from test register instruction that overlaps with the SSE5
456 0x0f24 4 operand instructions.
457 (OP_DREX_ICMP): New macros for SSE5 DREX handling.
458 (OP_DREX_FCMP): Ditto.
459 (OP_E_extended): Rename from OP_E, add additional argument to skip
461 (OP_E): Call OP_E_extended.
462 (DREX_REG_MEMORY): New macros for drex handling.
463 (DREX_REG_UNKNOWN): Ditto.
465 (DREX4_NO_OC0): Ditto.
467 (three_byte_table): Add SSE5 instructions.
468 (print_drex_arg): New function to print a DREX register or memory
470 (OP_DREX4): New function for handling DREX 4 argument ops.
471 (OP_DREX3): New function for handling DREX 3 argument ops.
472 (twobyte_has_modrm): 0f{25,7a,7b} all use the modrm byte.
473 (THREE_BYTE_SSE5_0F{24,25,7A,7B}): New macros for initializing 3
474 byte opcode support for SSE5 instructions.
475 (dis386_twobyte): Add SSE5 24/25/7a/7b support.
476 (three_byte_table): Add rows for describing SSE5 instructions.
478 2007-09-13 H.J. Lu <hongjiu.lu@intel.com>
480 * i386-dis.c (get_valid_dis386): Take a pointer to
481 disassemble_info. Handle IS_3BYTE_OPCODE.
482 (print_insn): Updated. Don't handle IS_3BYTE_OPCODE here.
484 2007-09-12 H.J. Lu <hongjiu.lu@intel.com>
486 * i386-opc.h (CpuUnused): Defined with CpuMax.
487 (OTUnused): Defined with OTMax.
489 2007-09-12 Jan Beulich <jbeulich@novell.com>
491 * i386-opc.tbl: Add two-operand forms of blendvps, blendvpd, and
493 * i386-tbl.h: Regenerate.
495 2007-09-09 H.J. Lu <hongjiu.lu@intel.com>
497 * i386-gen.c (main): Remove the local variable, unused.
499 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
501 * Makefile.am: Run "make dep-am".
502 * Makefile.in: Regenerate.
504 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
506 * configure.in (AC_CHECK_HEADERS): Add limits.h.
507 * configure: Regenerated.
508 * config.in: Likewise.
510 * i386-gen.c: Include "sysdep.h" instead of <stdlib.h> and
511 <string.h>. Use xstrerror instead of strerror.
513 (cpu_flag_init): Likewise.
514 (bitfield): Likewise.
516 (cpu_flags): Likewise.
517 (opcode_modifiers): Likewise.
518 (operand_types): Likewise.
520 (set_cpu_flags): Likewise.
521 (output_cpu_flags): Likewise.
522 (process_i386_cpu_flags): Likewise.
523 (output_opcode_modifier): Likewise.
524 (process_i386_opcode_modifier): Likewise.
525 (output_operand_type): Likewise.
526 (process_i386_operand_type): Likewise.
527 (set_bitfield): Likewise.
528 (operand_type_init): Likewise.
529 (process_i386_initializers): Likewise.
530 (process_i386_opcodes): Call process_i386_opcode_modifier to
531 process opcode_modifier. Call process_i386_operand_type to
532 process operand_types.
533 (process_i386_registers): Call process_i386_operand_type to
535 (main): Check unused bits in i386_cpu_flags and i386_operand_type.
536 Sort cpu_flags, opcode_modifiers and operand_types. Call
537 process_i386_initializers.
540 * i386-tbl.h: Regenerated.
542 * i386-opc.h: Include <limits.h>.
543 (CHAR_BIT): Define as 8 if not defined.
544 (Cpu186): Changed to position of bitfiled.
557 (Cpu3dnow): Likewise.
558 (Cpu3dnowA): Likewise.
560 (CpuPadLock): Likewise.
563 (CpuSSSE3): Likewise.
564 (CpuSSE4a): Likewise.
566 (CpuSSE4_1): Likewise.
567 (CpuSSE4_2): Likewise.
573 (ShortForm): Likewise.
575 (JumpDword): Likewise.
576 (JumpByte): Likewise.
577 (JumpInterSegment): Likewise.
584 (IgnoreSize): Likewise.
585 (DefaultSize): Likewise.
593 (IsString): Likewise.
594 (RegKludge): Likewise.
595 (IsPrefix): Likewise.
604 (FloatReg): Likewise.
614 (BaseIndex): Likewise.
620 (InOutPortReg): Likewise.
621 (ShiftCount): Likewise.
628 (FloatAcc): Likewise.
629 (JumpAbsolute): Likewise.
633 (Reg): Commented out.
635 (ImplicitRegister): Likewise.
640 (LLongMem): Likewise.
642 (ShortMem): Likewise.
647 (CpuNumOfUints): Likewise.
648 (CpuNumOfBits): Likewise.
649 (CpuUnused): Likewise.
650 (OTNumOfUints): Likewise.
651 (OTNumOfBits): Likewise.
652 (OTUnused): Likewise.
653 (i386_cpu_flags): New type.
654 (i386_operand_type): Likewise.
655 (i386_opcode_modifier): Likewise.
656 (CpuSledgehammer): Removed.
658 (CpuUnknownFlags): Likewise.
661 (ImplicitRegister): Likewise.
666 (LLongMem): Likewise.
668 (ShortMem): Likewise.
671 (template): Use i386_cpu_flags for cpu_flags, use
672 i386_opcode_modifier for opcode_modifier, use
673 i386_operand_type for operand_types.
674 (reg_entry): Use i386_operand_type for reg_type.
676 * Makefile.am (HFILES): Add i386-init.h.
677 ($(srcdir)/i386-init.h): New rule.
678 ($(srcdir)/i386-tbl.h): Depend on $(srcdir)/i386-init.h
680 * Makefile.in: Regenerated.
682 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
684 * i386-gen.c (next_field): Updated to take a separator.
685 (process_i386_opcodes): Updated.
686 (process_i386_registers): Likewise.
688 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
690 * i386-gen.c (table): Moved ...
691 (main): Here. Call process_copyright to output copyright.
692 (process_copyright): New.
693 (process_i386_opcodes): Take FILE *table.
694 (process_i386_registers): Likewise.
696 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
698 * i386-gen.c (table): New.
699 (process_i386_opcodes): Report errno when faied to open
700 i386-opc.tbl. Output opcodes to table. Close i386-opc.tbl
702 (process_i386_registers): Report errno when faied to open
703 i386-reg.tbl. Output opcodes to table. Close i386-reg.tbl
705 (main): Open i386-tbl.h for output.
707 * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@".
708 * Makefile.in: Regenerated.
710 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
712 * i386-opc.tbl: Correct SVME instructions to allow 32bit register
713 operand in 64bit mode.
714 * i386-tbl.h: Regenerated.
716 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
718 * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
719 (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
720 (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
722 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
724 * i386-dis.c (SVME_Fixup): Removed.
726 (OPC_EXT_RM_6): Likewise.
727 (grps): Use OPC_EXT_39.
728 (opc_ext_table): Add OPC_EXT_39.
729 (opc_ext_rm_table): Add OPC_EXT_RM_6.
731 * i386-opc.tbl: Correct SVME instructions to take register
733 * i386-tbl.h: Regenerated.
735 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
737 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
738 * Makefile.in: Regenerated.
740 * configure.in (AC_GNU_SOURCE): Added.
741 (AC_PROG_CC): Moved before AC_GNU_SOURCE.
742 (AC_CHECK_DECLS): Add stpcpy.
743 * configure: Regenerated.
744 * config.in: Likewise.
746 * i386-dis.c: Include "sysdep.h" before "dis-asm.h".
748 * sysdep.h (stpcpy): New.
750 2007-08-30 H.J. Lu <hongjiu.lu@intel.com>
752 * i386-dis.c (INVLPG_Fixup): Removed.
754 (OPC_EXT_RM_5): Likewise.
755 (grps): Use OPC_EXT_38.
756 (opc_ext_table): Add OPC_EXT_38.
757 (opc_ext_rm_table): Add OPC_EXT_RM_5.
759 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
761 * i386-dis.c (SIMD_Fixup): Removed.
762 (OPC_EXT_34...OPC_EXT_37): New.
763 (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
764 (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
765 (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
767 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
769 * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
770 (dis386): Use OPC_EXT_0...OPC_EXT_2.
771 (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
772 (grps): Updated to use OPC_EXT_6...OPC_EXT_31.
773 (prefix_user_table): Use OPC_EXT_32.
774 (x86_64_table): Use OPC_EXT_33.
775 (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
777 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
779 * i386-dis.c (prefix_user_table): Fix comment.
781 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
783 * i386-dis.c (OP_Skip_MODRM): New.
784 (OP_Monitor): Likewise.
785 (OP_Mwait): Likewise.
787 (Skip_MODRM): Likewise.
788 (USE_OPC_EXT_TABLE): Likewise.
789 (USE_OPC_EXT_RM_TABLE): Likewise.
790 (PREGRP98...PREGRP100): Likewise.
791 (OPC_EXT_0...OPC_EXT_24): Likewise.
792 (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
793 (lock_prefix): Likewise.
794 (data_prefix): Likewise.
795 (addr_prefix): Likewise.
796 (repz_prefix): Likewise.
797 (repnz_prefix): Likewise.
798 (opc_ext_table): Likewise.
799 (opc_ext_rm_table): Likewise.
800 (get_valid_dis386): Likewise.
803 (PNI_Fixup): Likewise.
804 (VMX_Fixup): Likewise.
806 (twobyte_uses_DATA_prefix): Likewise.
807 (twobyte_uses_REPNZ_prefix): Likewise.
808 (twobyte_uses_REPZ_prefix): Likewise.
809 (threebyte_0x38_uses_DATA_prefix): Likewise.
810 (threebyte_0x38_uses_REPNZ_prefix): Likewise.
811 (threebyte_0x38_uses_REPZ_prefix): Likewise.
812 (threebyte_0x3a_uses_DATA_prefix): Likewise.
813 (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
814 (threebyte_0x3a_uses_REPZ_prefix): Likewise.
815 (grps): Use OPC_EXT_0...OPC_EXT_24.
816 (prefix_user_table): Add PREGRP98...PREGRP100.
817 (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
818 uses_REPNZ_prefix and uses_REPZ_prefix. Initialize
819 repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
820 data_prefix based on prefixes. Call get_valid_dis386 to
821 get a pointer to the valid dis386. Print out prefixes if
823 (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
824 (REP_Fixup): Set repz_prefix to "rep " when seeing
827 2007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
829 * po/nl.po: Updated translation.
831 2007-08-28 H.J. Lu <hongjiu.lu@intel.com>
833 * i386-dis.c (Md): New.
834 (grps): Use 0 on invlpg. Use M on fxsave and fxrstor. Use
835 Md on ldmxcsr and stmxcsr. Use b_mode on clflush.
836 (OP_0fae): Clear bytemode for sfence.
838 2007-08-22 Ben Elliston <bje@au.ibm.com>
840 * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
841 (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
843 (powerpc_opcodes): Add all pair singles instructions.
844 * ppc-dis.c (powerpc_dialect): Handle "ppcps".
845 (print_ppc_disassembler_options): Document -Mppcps.
847 2007-08-21 Andreas Krebbel <krebbel1@de.ibm.com>
849 * s390-mkopc.c (struct s390_cond_ext_format): New global struct.
850 (s390_cond_ext_format): New global variable.
851 (expandConditionalJump): New function.
852 (main): Invoke expandConditionalJump for mnemonics containing '*'.
853 * s390-opc.txt: Replace mnemonics with conditional
854 mask extensions with instructions using the newly introduced '*' tag.
856 2007-08-17 Alan Modra <amodra@bigpond.net.au>
858 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
860 2007-08-10 Nick Clifton <nickc@redhat.com>
862 * po/fi.po: Updated Finnish translation.
863 * po/ga.po: Updated Irish translation.
864 * po/vi.po: Updated Vietnamese translation.
866 2007-08-09 H.J. Lu <hongjiu.lu@intel.com>
868 * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
869 pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
870 * i386-tbl.h: Regenerated.
872 2007-08-03 James E. Wilson <wilson@specifix.com>
874 * ia64-gen.c: (main): Add missing newline to copyright message.
875 * ia64-ic.tbl (fp-non-arith): Add xmpy.
876 * ia64-asmtab.c: Regenerate.
878 2007-08-01 Michael Snyder <msnyder@access-company.com>
880 * i386-dis.c (print_insn): Guard against NULL.
882 2007-07-29 H.J. Lu <hongjiu.lu@intel.com>
885 * i386-dis.c (EXw): New.
886 (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
887 instructions when appropriated.
889 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
892 * i386-dis.c (Eq): New.
893 (EMC): Renamed to ...
894 (EMCq): This. Use q_mode instead of v_mode.
895 (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
898 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
900 * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
901 (prefix_user_table): Likewise. Use EXq instead of EXx on
904 2007-07-27 Nathan Sidwell <nathan@codesourcery.com>
906 * ppc-opc (PPC7450): New.
907 (powerpc_opcodes): Use it in dcba.
909 2007-07-24 H.J. Lu <hongjiu.lu@intel.com>
911 * i386-gen.c (main): Print a newline after copyright notice.
913 2007-07-19 Nick Clifton <nickc@redhat.com>
916 * maxq-dis.c (get_reg_name): Fix the scan of the
917 mem_access_syntax_table.
919 2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
921 * i386-dis.c (EMq): Removed.
923 (prefix_user_table): Replace EMq with EMx.
925 2007-07-16 Nick Clifton <nickc@redhat.com>
927 * po/nl.po: Updated translation.
929 2007-07-12 Nick Clifton <nickc@redhat.com>
931 * po/vi.po: Updated translation.
932 * po/nl.po: Updated translation.
934 2007-07-06 Mark Kettenis <kettenis@gnu.org>
935 H.J. Lu <hongjiu.lu@intel.com>
937 * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
938 (ia64-asmtab.c): Likewise.
939 * Makefile.in: Regenerate.
941 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
943 * aclocal.m4: Regenerated.
945 2007-07-04 Nick Clifton <nickc@redhat.com>
947 * alpha-dis.c: Update copyright notice to refer to GPLv3.
948 * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h,
949 arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c,
950 cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in,
951 cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c,
952 cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c,
953 d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c,
954 dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c,
955 h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c,
956 i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c,
957 ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c,
958 ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c,
959 ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c,
960 m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c,
961 m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c,
962 mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c,
963 mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c,
964 or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c,
965 ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c,
966 score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h,
967 sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c,
968 spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c,
969 tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c,
970 vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c,
971 z8k-dis.c, z8kgen.c: Likewise.
972 * i386-opc.tbl, i386-reg.tbl: Add copyright notice.
973 * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h,
974 fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c,
975 frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c,
976 frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c,
977 ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h,
978 iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c,
979 iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c,
980 m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c,
981 m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
982 m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c,
983 mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c,
984 mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c,
985 mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c,
986 openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c,
987 openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h,
988 xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h,
989 xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h,
990 xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c,
991 xstormy16-opc.h, z8k-opc.h: Regenerated
993 2007-07-04 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
995 * cr16-dis.c (getcinvstring): Add const qualifier to char *
997 (print_insn_cr16): Remove cast to char *.
999 2007-07-03 Nathan Sidwell <nathan@codesourcery.com>
1001 * m68k-dis.c (fetch_arg): Add E. Replace length switch with
1003 (print_ins_arg): Add j & K operand types.
1004 (match_insn_m68k): Check and skip initial '.' arg character.
1005 (m68k_scan_mask): Likewise.
1006 * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
1008 2007-07-02 Alan Modra <amodra@bigpond.net.au>
1010 * Makefile.am: Run "make dep-am".
1011 * Makefile.in: Regenerate.
1012 * aclocal.m4: Regenerate.
1013 * config.in: Regenerate.
1014 * po/POTFILES.in: Regenerate.
1015 * po/opcodes.pot: Regenerate.
1017 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
1019 * aclocal.m4: Regenerated.
1020 * Makefile.in: Likewise.
1022 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
1024 * i386-reg.tbl: Remove spaces before comments.
1026 2007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1028 * cr16-opc.c: New file.
1029 * cr16-dis.c: New file.
1030 * Makefile.am: Entries for cr16.
1031 * Makefile.in: Regenerate.
1032 * cofigure.in: Add cr16 target information.
1033 * configure : Regenerate.
1034 * disassemble.c: Add cr16 target information.
1036 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
1038 * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
1039 (CFILES): Add i386-gen.c.
1040 (i386-gen): New rule.
1041 (i386-gen.o): Likewise.
1042 (i386-tbl.h): Likewise.
1044 * Makefile.in: Regenerated.
1046 * i386-gen.c: New file.
1047 * i386-opc.tbl: Likewise.
1048 * i386-reg.tbl: Likewise.
1049 * i386-tbl.h: Likewise.
1051 * i386-opc.c: Include "i386-tbl.h".
1052 (i386_optab): Removed.
1053 (i386_regtab): Likewise.
1054 (i386_regtab_size): Likewise.
1056 2007-06-26 Paul Brook <paul@codesourcery.com>
1058 * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
1060 2007-06-25 H.J. Lu <hongjiu.lu@intel.com>
1062 * i386-opc.h (regKludge): Renamed to ...
1065 * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
1067 2007-06-23 H.J. Lu <hongjiu.lu@intel.com>
1070 * i386-dis.c (EX): Removed.
1076 (PREGRP93...PREGRP97): Likewise.
1077 (dis386_twobyte): Updated.
1078 (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
1079 (OP_EX): Remove Intel syntax handling.
1081 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
1083 * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
1085 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
1087 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
1089 * acinclude.m4: Removed.
1091 * Makefile.in: Regenerated.
1092 * doc/Makefile.in: Likewise.
1093 * aclocal.m4: Likewise.
1094 * configure: Likewise.
1096 2007-06-05 Paul Brook <paul@codesourcery.com>
1098 * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
1100 2007-05-24 Steve Ellcey <sje@cup.hp.com>
1102 * Makefile.in: Regnerate.
1103 * configure: Regenerate.
1104 * aclocal.m4: Regenerate.
1106 2007-05-18 Alan Modra <amodra@bigpond.net.au>
1108 * ppc-dis.c (print_insn_powerpc): Don't skip all operands
1109 after setting skip_optional.
1111 2007-05-16 Peter Bergner <bergner@vnet.ibm.com>
1113 * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
1114 (print_insn_powerpc): Use the new operand_value_powerpc and
1115 skip_optional_operands functions to omit or print all optional
1116 operands as a group.
1117 * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
1118 (XFL_MASK): Delete L and W bits from the mask.
1119 (mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK
1120 with XWRA_MASK. Use W.
1121 (mtfsf, mtfsf.): Use XFL_L and W.
1123 2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
1126 * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
1128 2007-05-10 H.J. Lu <hongjiu.lu@intel.com>
1130 * i386-opc.h (ShortForm): Redefined.
1132 (JumpDword): Likewise.
1133 (JumpByte): Likewise.
1134 (JumpInterSegment): Likewise.
1135 (FloatMF): Likewise.
1141 (IgnoreSize): Likewise.
1142 (DefaultSize): Likewise.
1143 (No_bSuf): Likewise.
1144 (No_wSuf): Likewise.
1145 (No_lSuf): Likewise.
1146 (No_sSuf): Likewise.
1147 (No_qSuf): Likewise.
1148 (No_xSuf): Likewise.
1150 (IsString): Likewise.
1151 (regKludge): Likewise.
1152 (IsPrefix): Likewise.
1154 (NoRex64): Likewise.
1158 2007-05-07 H.J. Lu <hongjiu.lu@intel.com>
1160 * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
1161 for some SSE4 instructions.
1162 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1164 2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
1166 * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
1168 * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
1171 2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
1173 * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
1174 check data size prefix in 16bit mode.
1176 * i386-opc.c (i386_optab): Default crc32 to non-8bit and
1179 2007-04-30 Mark Salter <msalter@redhat.com>
1181 * frv-desc.c: Regenerate.
1182 * frv-desc.h: Regenerate.
1184 2007-04-30 Alan Modra <amodra@bigpond.net.au>
1187 * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
1189 2007-04-27 H.J. Lu <hongjiu.lu@intel.com>
1191 * i386-dis.c (modrm): Put reg before rm.
1193 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1196 * i386-dis.c (print_displacement): New.
1197 (OP_E): Call print_displacement instead of print_operand_value
1198 to output displacement when either base or index exist. Print
1199 the explicit zero displacement in 16bit mode.
1201 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1204 * i386-dis.c (print_insn): Also swap the order of op_riprel
1205 when swapping op_index. Break when the RIP relative address
1207 (OP_E): Properly handle RIP relative addressing and print the
1208 explicit zero displacement for Intel mode.
1210 2007-04-27 Alan Modra <amodra@bigpond.net.au>
1212 * Makefile.am: Run "make dep-am".
1213 * Makefile.in: Regenerate.
1214 * ns32k-dis.c: Include sysdep.h first.
1216 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
1218 * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
1220 * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
1222 2007-04-24 Nick Clifton <nickc@redhat.com>
1224 * arm-dis.c (print_insn): Initialise type.
1226 2007-04-24 Alan Modra <amodra@bigpond.net.au>
1228 * cgen-types.h: Include bfd_stdint.h, not stdint.h.
1229 * Makefile.am: Run "make dep-am".
1230 * Makefile.in: Regenerate.
1232 2007-04-23 Nathan Sidwell <nathan@codesourcery.com>
1234 * m68k-opc.c: Mark mcfisa_c instructions.
1236 2007-04-21 Richard Earnshaw <rearnsha@arm.com>
1238 * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
1239 (thumb_opcodes): Add missing white space in adr.
1240 (arm_decode_shift): New parameter, print_shift. Only decode the
1241 shift parameter if set. Adjust callers.
1242 (print_insn_arm): Support for operand type q with no shift decode.
1244 2007-04-21 Alan Modra <amodra@bigpond.net.au>
1246 * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
1248 (i386_regtab): ..here.
1249 * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
1251 * ppc-opc.c (powerpc_operands): Delete duplicate entries.
1252 (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
1253 (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
1254 (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
1256 2007-04-20 Nathan Sidwell <nathan@codesourcery.com>
1258 * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
1261 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1263 * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
1265 * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
1266 in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove
1267 references to following deleted functions.
1268 (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
1269 (insert_ds, extract_ds, insert_de, extract_de): Delete.
1270 (insert_des, extract_des, insert_li, extract_li): Delete.
1271 (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
1272 (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
1273 (num_powerpc_operands): New constant.
1274 (XSPRG_MASK): Remove entire SPRG field.
1275 (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
1277 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1279 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
1281 (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
1283 2007-04-20 Richard Earnshaw <rearnsha@arm.com>
1285 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
1288 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1290 * Makefile.am: Run "make dep-am".
1291 * Makefile.in: Regenerate.
1292 * po/POTFILES.in: Regenerate.
1294 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1296 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
1297 db10cyc, db12cyc, db16cyc.
1299 2007-04-19 Nathan Froyd <froydnj@codesourcery.com>
1301 * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
1303 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1305 * i386-dis.c (CRC32_Fixup): New.
1306 (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
1308 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
1309 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1310 (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
1311 PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
1312 (three_byte_table): Likewise.
1314 * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
1316 * i386-opc.h (CpuSSE4_2): New.
1317 (CpuSSE4): Likewise.
1318 (CpuUnknownFlags): Add CpuSSE4_2.
1320 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1322 * i386-dis.c (XMM_Fixup): New.
1328 (PREGRP39 ... PREGRP85): New.
1329 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
1330 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1331 (prefix_user_table): Add PREGRP39 ... PREGRP85.
1332 (three_byte_table): Likewise.
1333 (putop): Handle 'K'.
1334 (intel_operand_size): Handle dqb_mode, dqd_mode):
1338 * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
1340 * i386-opc.h (CpuSSE4_1): New.
1341 (CpuUnknownFlags): Add CpuSSE4_1.
1342 (regKludge): Update comment.
1344 2007-04-18 Matthias Klose <doko@ubuntu.com>
1346 * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
1347 * Makefile.in: Regenerate.
1349 2007-04-14 Steve Ellcey <sje@cup.hp.com>
1351 * Makefile.am: Add ACLOCAL_AMFLAGS.
1352 * Makefile.in: Regenerate.
1354 2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
1356 * i386-dis.c: Remove trailing white spaces.
1357 * i386-opc.c: Likewise.
1358 * i386-opc.h: Likewise.
1360 2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
1363 * i386-dis.c (GRP1a): New.
1364 (GRP1b ... GRPPADLCK2): Update index.
1365 (dis386): Use GRP1a for entry 0x8f.
1366 (mod, rm, reg): Removed. Replaced by ...
1370 2007-04-09 Kazu Hirata <kazu@codesourcery.com>
1372 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
1373 info->print_address_func if longjmp is called.
1375 2007-03-29 DJ Delorie <dj@redhat.com>
1377 * m32c-desc.c: Regenerate.
1378 * m32c-dis.c: Regenerate.
1379 * m32c-opc.c: Regenerate.
1381 2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
1383 * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
1384 movq. Remove InvMem from sldt, smsw and str.
1386 * i386-opc.h (InvMem): Renamed to ...
1387 (RegMem): Update comments.
1388 (AnyMem): Remove InvMem.
1390 2007-03-27 Paul Brook <paul@codesourcery.com>
1392 * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
1394 2007-03-24 Paul Brook <paul@codesourcery.com>
1396 * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
1397 (print_insn_coprocessor): Handle %<bitfield>x.
1399 2007-03-24 Paul Brook <paul@codesourcery.com>
1400 Mark Shinwell <shinwell@codesourcery.com>
1402 * arm-dis.c (arm_opcodes): Print SRS base register.
1404 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
1406 * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
1408 * i386-opc.c (i386_optab): Add rex.wrxb.
1410 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1412 * i386-dis.c (REX_MODE64): Remove definition.
1413 (REX_EXTX): Likewise.
1414 (REX_EXTY): Likewise.
1415 (REX_EXTZ): Likewise.
1416 (USED_REX): Use REX_OPCODE instead of 0x40.
1417 Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
1418 REX_R, REX_X and REX_B respectively.
1420 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1423 * i386-dis.c (PREGRP38): New.
1424 (dis386): Use PREGRP38 for 0x90.
1425 (prefix_user_table): Add PREGRP38.
1426 (print_insn): Set uses_REPZ_prefix to 1 for pause.
1427 (NOP_Fixup1): Properly handle REX bits.
1428 (NOP_Fixup2): Likewise.
1430 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
1431 Allow register with nop.
1433 2007-03-20 DJ Delorie <dj@redhat.com>
1435 * m32c-asm.c: Regenerate.
1436 * m32c-desc.c: Regenerate.
1437 * m32c-desc.h: Regenerate.
1438 * m32c-dis.h: Regenerate.
1439 * m32c-ibld.c: Regenerate.
1440 * m32c-opc.c: Regenerate.
1441 * m32c-opc.h: Regenerate.
1443 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1445 * i386-opc.c: Include "libiberty.h".
1446 (i386_regtab): Remove the last entry.
1447 (i386_regtab_size): New.
1448 (i386_float_regtab_size): Likewise.
1450 * i386-opc.h (i386_regtab_size): New.
1451 (i386_float_regtab_size): Likewise.
1453 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1455 * Makefile.am (CFILES): Add i386-opc.c.
1456 (ALL_MACHINES): Add i386-opc.lo.
1458 * Makefile.in: Regenerated.
1460 * configure.in: Add i386-opc.lo for bfd_i386_arch.
1461 * configure: Regenerated.
1463 * i386-dis.c: Include "opcode/i386.h".
1464 (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
1465 (FWAIT_OPCODE): Remove definition.
1466 (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
1467 (MAX_OPERANDS): Remove definition.
1469 * i386-opc.c: New file.
1470 * i386-opc.h: Likewise.
1472 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1474 * Makefile.in: Regenerated.
1476 2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
1478 * i386-dis.c (OP_Rd): Renamed to ...
1483 2007-03-08 Alan Modra <amodra@bigpond.net.au>
1485 * fr30-asm.c: Regenerate.
1486 * frv-asm.c: Regenerate.
1487 * ip2k-asm.c: Regenerate.
1488 * iq2000-asm.c: Regenerate.
1489 * m32c-asm.c: Regenerate.
1490 * m32r-asm.c: Regenerate.
1491 * m32r-dis.c: Regenerate.
1492 * mt-asm.c: Regenerate.
1493 * mt-ibld.c: Regenerate.
1494 * mt-opc.c: Regenerate.
1495 * openrisc-asm.c: Regenerate.
1496 * xc16x-asm.c: Regenerate.
1497 * xstormy16-asm.c: Regenerate.
1499 * Makefile.am: Run "make dep-am".
1500 * Makefile.in: Regenerate.
1501 * po/POTFILES.in: Regenerate.
1503 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
1505 * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
1506 INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
1507 instruction formats added.
1508 (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
1509 MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
1511 * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
1513 * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1514 (main): z9-ec cpu type option added.
1515 * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1517 2007-02-22 DJ Delorie <dj@redhat.com>
1519 * s390-opc.c (INSTR_SS_L2RDRD): New.
1520 (MASK_SS_L2RDRD): New.
1521 * s390-opc.txt (pka): Use it.
1523 2007-02-20 Thiemo Seufer <ths@mips.com>
1524 Chao-Ying Fu <fu@mips.com>
1526 * mips-dis.c (mips_arch_choices): Add DSP R2 support.
1527 (print_insn_args): Add support for balign instruction.
1528 * mips-opc.c (D33): New shortcut for DSP R2 instructions.
1529 (mips_builtin_opcodes): Add DSP R2 instructions.
1531 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1533 * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
1534 (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
1535 * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
1536 cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
1538 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1540 * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
1541 * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
1542 (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
1545 2007-02-16 Nick Clifton <nickc@redhat.com>
1548 * avr-dis.c (comment_start): New variable, contains the prefix to
1549 use when printing addresses in comments.
1550 (print_insn_avr): Set comment_start to an empty space if there is
1551 no symbol table available as the generic address printing code
1552 will prefix the numeric value of the address with 0x.
1554 2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
1556 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
1559 2007-02-05 Dave Brolley <brolley@redhat.com>
1560 Richard Sandiford <rsandifo@redhat.com>
1561 DJ Delorie <dj@redhat.com>
1562 Graydon Hoare <graydon@redhat.com>
1563 Frank Ch. Eigler <fche@redhat.com>
1564 Ben Elliston <bje@redhat.com>
1566 * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
1567 (CFILES): Add mep-*.c
1568 (ALL_MACHINES): Add mep-*.lo.
1569 (CLEANFILES): Add stamp-mep.
1570 (CGEN_CPUS): Add mep.
1571 (MEP_DEPS): New variable.
1572 (mep-*): New targets.
1573 * configure.in: Handle bfd_mep_arch.
1574 * disassemble.c (ARCH_mep): New macro.
1575 (disassembler): Handle bfd_arch_mep.
1576 (disassemble_init_for_target): Likewise.
1577 * mep-*: New files for Toshiba Media Processor (MeP).
1578 * Makefile.in: Regenerated.
1579 * configure: Regenerated.
1581 2007-02-05 H.J. Lu <hongjiu.lu@intel.com>
1583 * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
1584 wrap around within the same segment in 16bit mode.
1586 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1588 * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
1591 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1593 * avr-dis.c (avr_operand): Correct PR number in comment.
1595 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1597 * disassemble.c (disassembler_usage): Call
1598 print_i386_disassembler_options for i386 disassembler.
1600 * i386-dis.c (print_i386_disassembler_options): New.
1601 (print_insn): Support the new addr64 option.
1603 2007-02-02 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
1605 * ppc-dis.c (powerpc_dialect): Handle ppc440.
1606 * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
1609 2007-02-02 Alan Modra <amodra@bigpond.net.au>
1611 * ppc-opc.c (insert_bdm): -Many comment.
1612 (valid_bo): Add "extract" param. Accept both powerpc and power4
1613 BO fields when disassembling with -Many.
1614 (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
1616 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
1618 * m68k-opc.c (m68k_opcodes): Replace cpu32 with
1619 cpu32 | fido_a except on tbl instructions.
1621 2007-01-04 Paul Brook <paul@codesourcery.com>
1623 * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
1625 2007-01-04 Andreas Schwab <schwab@suse.de>
1627 * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
1629 2007-01-04 Julian Brown <julian@codesourcery.com>
1631 * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
1632 vqrshl instructions.
1634 For older changes see ChangeLog-2006
1640 version-control: never