1 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
3 * i386-dis.c (OP_REG): Set add to 0 only when needed.
12 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
14 * i386-opc.tbl: Update SSE comments.
16 2007-10-01 H.J. Lu <hongjiu.lu@intel.com>
18 * i386-dis.c (THREE_BYTE_0FBA): Renamed to ...
19 (THREE_BYTE_0F7B): This.
20 (dis386_twobyte): Updated.
21 (three_byte_table): Updated comments.
23 2007-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
25 * cr16-opc.c: Updated the branch on condition instructions with
28 2007-09-30 H.J. Lu <hongjiu.lu@intel.com>
30 * 386-dis.c (prefix_table): Reformat comment.
32 2007-09-29 H.J. Lu <hongjiu.lu@intel.com>
34 * 386-dis.c (USE_GROUPS): Renamed to ...
35 (USE_REG_TABLE): This.
36 (USE_OPC_EXT_TABLE): Renamed to ...
37 (USE_MOD_TABLE): This.
38 (USE_OPC_EXT_RM_TABLE): Renamed to ...
40 (USE_XXX_TABLE): Reordered.
43 (OPC_EXT_TABLE): Renamed to ...
45 (OPC_EXT_RM_TABLE): Renamed to ...
47 (GRP_XXX): Renamed to ...
49 (PREGRP_XXX): Renamed to ...
51 (OPC_EXT_XXX): Renamed to ...
53 (OPC_EXT_RM_XXX): Renamed to ...
55 (grps): Renamed to ...
57 (prefix_user_table): Renamed to ...
59 (opc_ext_table): Renamed to ...
61 (opc_ext_rm_table): Renamed to ...
63 (OPC_EXT_RM_XXX): Likewise.
65 (dis386_twobyte): Likewise.
66 (reg_table): Likewise.
67 (prefix_table): Likewise.
68 (x86_64_table): Likewise.
69 (three_byte_table): Likewise.
70 (mod_table): Likewise.
72 (get_valid_dis386): Likewise.
74 2007-09-28 H.J. Lu <hongjiu.lu@intel.com>
76 * 386-dis.c (USE_PREFIX_USER_TABLE): Renamed to ...
77 (USE_PREFIX_TABLE): This.
78 (X86_64_SPECIAL): Renamed to ...
79 (USE_X86_64_TABLE): This.
80 (IS_3BYTE_OPCODE): Renamed to ...
81 (USE_3BYTE_TABLE): This.
83 (PREGRPXXX): Likewise.
84 (X86_64_XXX): Likewise.
85 (THREE_BYTE_XXX): Likewise.
86 (OPC_EXT_XXX): Likewise.
87 (OPC_EXT_RM_XXX): Likewise.
91 (X86_64_TABLE): Likewise.
92 (THREE_BYTE_TABLE): Likewise.
93 (OPC_EXT_TABLE): Likewise.
94 (OPC_EXT_RM_TABLE): Likewise.
96 (PREGRP_XXX): Likewise.
97 (X86_64_XXX): Likewise.
98 (THREE_BYTE_XXX): Likewise.
99 (OPC_EXT_XXX): Likewise.
100 (OPC_EXT_RM_XXX): Likewise.
102 (dis386_twobyte): Likewise.
104 (prefix_user_table): Likewise.
105 (x86_64_table): Likewise.
106 (three_byte_table): Likewise.
107 (opc_ext_table): Likewise.
108 (opc_ext_rm_table): Likewise.
109 (get_valid_dis386): Likewise.
111 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
113 * i386-dis.c (dis386): Swap X86_64_27 with OPC_EXT_2.
114 (x86_64_table): Likewise.
115 (opc_ext_table): Likewise.
117 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
120 * i386-dis.c: Update comments on '{', '}' and '|' to support
121 only AT&T and Intel modes.
122 (X86_64_4...X86_64_27): New.
123 (dis386): Updated. Use X86_64_4...X86_64_21.
124 (dis386_twobyte): Updated.
125 (float_mem): Likewise.
126 (x86_64_table): Add X86_64_4...X86_64_27.
127 (opc_ext_table): Updated. Use X86_64_22...X86_64_27.
128 (putop): Updated handling of '{', '}' and '|' to support only
129 AT&T and Intel modes.
131 2007-09-27 Kazu Hirata <kazu@codesourcery.com>
133 * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb.
135 2007-09-26 James E. Wilson <wilson@specifix.com>
137 * ia64-gen.c (print_dependency_table): Fix typo in last patch.
139 2007-09-26 Nick Clifton <nickc@redhat.com>
141 * mt-asm.c (parse_imm16): Reword error message in order to allow
142 it to be translated properly.
143 * ia64-gen.c (print_dependency_table): Likewise.
144 * mips-dis.c (print_insn_args): Likewise.
146 2007-09-26 Jan Beulich <jbeulich@novell.com>
148 * i386-dis.c (OP_E_extended): Distinguish rip- and eip-
149 relative addressing. Update used_prefixes based on whether any
150 base or index register was printed.
152 2007-09-26 Jan Beulich <jbeulich@novell.com>
154 * i386-opc.h (RegEip): Define.
156 * i386-reg.tbl: Add eip. Mark rip and eip with RegRex64.
157 * i386-tbl.h: Re-generate.
159 2007-09-25 H.J. Lu <hongjiu.lu@intel.com>
161 * i386-gen.c (process_i386_opcodes): Process opcode_length.
163 * i386-opc.h (template): Add opcode_length.
164 * 386-opc.tbl: Likewise.
165 * i386-tbl.h: Regenerated.
167 2007-09-21 H.J. Lu <hongjiu.lu@intel.com>
169 * i386-opc.h: Adjust whitespaces.
171 2007-09-21 Dave Brolley <brolley@redhat.com>
173 * mep-desc.c: Regenerated.
175 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
177 * i386-dis.c (OP_E_extended): Display eiz for [eiz*1 + offset].
179 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
182 * 386-dis.c (index64): New.
184 (intel_index64): Likewise.
185 (intel_index32): Likewise.
186 (att_index64): Likewise.
187 (att_index32): Likewise.
188 (print_insn): Set index64 and index32.
189 (OP_E_extended): Use index64/index32 for index register for
192 * i386-opc.h (RegEiz): New.
195 * i386-reg.tbl: Add eiz and riz.
196 * i386-tbl.h: Regenerated.
198 2007-09-19 H.J. Lu <hongjiu.lu@intel.com>
200 * i386-dis.c (OP_E_extended): Always display scale for memory.
202 2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
204 * i386-opc.h (RegRip): New.
206 * i386-reg.tbl (rip): Use RegRip for reg_num.
207 * i386-tbl.h: Regenerated.
209 2007-09-17 Nick Clifton <nickc@redhat.com>
211 * po/es.po: Updated Spanish translation.
213 2007-09-14 H.J. Lu <hongjiu.lu@intel.com>
215 * Makefile.am: Run "make dep-am".
216 * Makefile.in: Regenerate.
218 2007-09-14 Michael Meissner <michael.meissner@amd.com>
219 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
220 Tony Linthicum <tony.linthicum@amd.com>
222 * i386-opc.h (CpuSSE5): New macro.
223 (i386_cpu_flags): Add Drex, Drexv and Drexc.
225 * i386-gen.c (cpu_flag_init): Add CPU_SSE5_FLAGS.
226 (operand_type_init): Add CpuSSE5.
227 (opcode_modifiers): Add Drex, Drexv and Drexc.
228 (i386_opcode_modifier): Ditto.
230 * i386-opc.tbl (fmaddps,fmaddpd,fmaddss,fmaddsd): Define SSE5
232 (fmsubps,fmsubpd,fmsubss,fmsubsd): Ditto.
233 (fnmaddps,fnmaddpd,fnmaddss,fnmaddsd): Ditto.
234 (fnmsubps,fnmsubpd,fnmsubss,fnmsubsd): Ditto.
235 (pmacssww,pmacsww,pmacsswd,pmacswd): Ditto.
236 (pmacssdd,pmacsdd,pmacssdql,pmacssdqh): Ditto.
237 (pmacsdql,pmacsdqh,pmadcsswd,pmadcswd): Ditto.
238 (phaddbw,phaddbd,phaddbq,phaddwd): Ditto.
239 (phaddwq,phadddq,phaddubw,phaddubd): Ditto.
240 (phaddubq,phadduwd,phadduwq,phaddudq): Ditto.
241 (phsubbw,phsubwd,phsubdq): Ditto.
242 (pcmov,pperm,permps,permpd): Ditto.
243 (protb,protw,protd,protq): Ditto.
244 (pshlb,pshlw,pshld,pshlq): Ditto.
245 (pshab,pshaw,pshad,pshaq): Ditto.
246 (comps,comeqps,comltps,comungeps,comleps,comungtps): Ditto.
247 (comunordps,comneps,comneqps,comnltps,comugeps): Ditto.
248 (comnleps,comugtps,comordps,comueqps,comultps): Ditto.
249 (comngeps,comuleps,comngtps,comfalseps,comuneps): Ditto.
250 (comuneqps,comunltps,comgeps,comunleps,comgtps,comtrueps): Ditto.
251 (compd,comeqpd,comltpd,comungepd,comlepd,comungtpd,comunordpd): Ditto.
252 (comnepd,comneqpd,comnltpd,comugepd,comnlepd,comugtpd): Ditto.
253 (comordpd,comueqpd,comultpd,comngepd,comulepd,comngtpd): Ditto.
254 (comfalsepd,comunepd,comuneqpd,comunltpd,comgepd): Ditto.
255 (comunlepd,comgtpd,comtruepd): Ditto.
256 (comss,comeqss,comltss,comungess,comless,comungtss,comunordss): Ditto.
257 (comness,comneqss,comnltss,comugess,comnless,comugtss): Ditto.
258 (comordss,comueqss,comultss,comngess,comuless,comngtss): Ditto.
259 (comfalsess,comuness,comuneqss,comunltss,comgess): Ditto.
260 (comunless,comgtss,comtruess): Ditto.
261 (comsd,comeqsd,comltsd,comungesd,comlesd,comungtsd,comunordsd): Ditto.
262 (comnesd,comneqsd,comnltsd,comugesd,comnlesd,comugtsd): Ditto.
263 (comordsd,comueqsd,comultsd,comngesd,comulesd,comngtsd): Ditto.
264 (comfalsesd,comunesd,comuneqsd,comunltsd,comgesd): Ditto.
265 (comunlesd,comgtsd,comtruesd): Ditto.
266 (pcomub,pcomltub,pcomleub,pcomgtub,pcomgeub,pcomequb): Ditto.
267 (pcomnequb,pcomneub): Ditto.
268 (pcomuw,pcomltuw,pcomleuw,pcomgtuw,pcomgeuw,pcomequw): Ditto.
269 (pcomnequw,pcomneuw): Ditto.
270 (pcomud,pcomltud,pcomleud,pcomgtud,pcomgeud,pcomequd): Ditto.
271 (pcomnequd,pcomneud): Ditto.
272 (pcomuq,pcomltuq,pcomleuq,pcomgtuq,pcomgeuq,pcomequq): Ditto.
273 (pcomnequq,pcomneuq): Ditto.
274 (pcomb,pcomltb,pcomleb,pcomgtb,pcomgeb,pcomeqb): Ditto.
275 (pcomneqb,pcomneb): Ditto.
276 (pcomw,pcomltw,pcomlew,pcomgtw,pcomgew,pcomeqw): Ditto.
277 (pcomneqw,pcomnew): Ditto.
278 (pcomd,pcomltd,pcomled,pcomgtd,pcomged,pcomeqd): Ditto.
279 (pcomneqd,pcomned): Ditto.
280 (pcomq,pcomltq,pcomleq,pcomgtq,pcomgeq): Ditto.
281 (pcomeqq,pcomneqq,pcomneq): Ditto.
282 (pcomtrueb, pcomtruew, pcomtrued, pcomtrueq): Ditto.
283 (pcomtrueub, pcomtrueuw, pcomtrueud, pcomtrueuq): Ditto.
284 (pcomfalseb, pcomfalsew, pcomfalsed, pcomfalseq): Ditto.
285 (pcomfalseub, pcomfalseuw, pcomfalseud, pcomfalseuq): Ditto.
286 (frczps,frczpd,frczss,frczsd): Ditto.
287 (cvtph2ps,cvtps2ph): Ditto.
289 * i386-tbl.h: Regenerate from i386-opc.tbl.
290 * i386-init.h: Likewise.
292 * i386-dis.c (libiberty.h): Include to get ARRAY_SIZE.
293 (dis386_move_test): New disassembly support for move from test
294 register instruction that overlaps with SSE5 instructions.
295 (print_insn): Add support for special casing the i386/i486 move
296 from test register instruction that overlaps with the SSE5
297 0x0f24 4 operand instructions.
298 (OP_DREX_ICMP): New macros for SSE5 DREX handling.
299 (OP_DREX_FCMP): Ditto.
300 (OP_E_extended): Rename from OP_E, add additional argument to skip
302 (OP_E): Call OP_E_extended.
303 (DREX_REG_MEMORY): New macros for drex handling.
304 (DREX_REG_UNKNOWN): Ditto.
306 (DREX4_NO_OC0): Ditto.
308 (three_byte_table): Add SSE5 instructions.
309 (print_drex_arg): New function to print a DREX register or memory
311 (OP_DREX4): New function for handling DREX 4 argument ops.
312 (OP_DREX3): New function for handling DREX 3 argument ops.
313 (twobyte_has_modrm): 0f{25,7a,7b} all use the modrm byte.
314 (THREE_BYTE_SSE5_0F{24,25,7A,7B}): New macros for initializing 3
315 byte opcode support for SSE5 instructions.
316 (dis386_twobyte): Add SSE5 24/25/7a/7b support.
317 (three_byte_table): Add rows for describing SSE5 instructions.
319 2007-09-13 H.J. Lu <hongjiu.lu@intel.com>
321 * i386-dis.c (get_valid_dis386): Take a pointer to
322 disassemble_info. Handle IS_3BYTE_OPCODE.
323 (print_insn): Updated. Don't handle IS_3BYTE_OPCODE here.
325 2007-09-12 H.J. Lu <hongjiu.lu@intel.com>
327 * i386-opc.h (CpuUnused): Defined with CpuMax.
328 (OTUnused): Defined with OTMax.
330 2007-09-12 Jan Beulich <jbeulich@novell.com>
332 * i386-opc.tbl: Add two-operand forms of blendvps, blendvpd, and
334 * i386-tbl.h: Regenerate.
336 2007-09-09 H.J. Lu <hongjiu.lu@intel.com>
338 * i386-gen.c (main): Remove the local variable, unused.
340 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
342 * Makefile.am: Run "make dep-am".
343 * Makefile.in: Regenerate.
345 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
347 * configure.in (AC_CHECK_HEADERS): Add limits.h.
348 * configure: Regenerated.
349 * config.in: Likewise.
351 * i386-gen.c: Include "sysdep.h" instead of <stdlib.h> and
352 <string.h>. Use xstrerror instead of strerror.
354 (cpu_flag_init): Likewise.
355 (bitfield): Likewise.
357 (cpu_flags): Likewise.
358 (opcode_modifiers): Likewise.
359 (operand_types): Likewise.
361 (set_cpu_flags): Likewise.
362 (output_cpu_flags): Likewise.
363 (process_i386_cpu_flags): Likewise.
364 (output_opcode_modifier): Likewise.
365 (process_i386_opcode_modifier): Likewise.
366 (output_operand_type): Likewise.
367 (process_i386_operand_type): Likewise.
368 (set_bitfield): Likewise.
369 (operand_type_init): Likewise.
370 (process_i386_initializers): Likewise.
371 (process_i386_opcodes): Call process_i386_opcode_modifier to
372 process opcode_modifier. Call process_i386_operand_type to
373 process operand_types.
374 (process_i386_registers): Call process_i386_operand_type to
376 (main): Check unused bits in i386_cpu_flags and i386_operand_type.
377 Sort cpu_flags, opcode_modifiers and operand_types. Call
378 process_i386_initializers.
381 * i386-tbl.h: Regenerated.
383 * i386-opc.h: Include <limits.h>.
384 (CHAR_BIT): Define as 8 if not defined.
385 (Cpu186): Changed to position of bitfiled.
398 (Cpu3dnow): Likewise.
399 (Cpu3dnowA): Likewise.
401 (CpuPadLock): Likewise.
404 (CpuSSSE3): Likewise.
405 (CpuSSE4a): Likewise.
407 (CpuSSE4_1): Likewise.
408 (CpuSSE4_2): Likewise.
414 (ShortForm): Likewise.
416 (JumpDword): Likewise.
417 (JumpByte): Likewise.
418 (JumpInterSegment): Likewise.
425 (IgnoreSize): Likewise.
426 (DefaultSize): Likewise.
434 (IsString): Likewise.
435 (RegKludge): Likewise.
436 (IsPrefix): Likewise.
445 (FloatReg): Likewise.
455 (BaseIndex): Likewise.
461 (InOutPortReg): Likewise.
462 (ShiftCount): Likewise.
469 (FloatAcc): Likewise.
470 (JumpAbsolute): Likewise.
474 (Reg): Commented out.
476 (ImplicitRegister): Likewise.
481 (LLongMem): Likewise.
483 (ShortMem): Likewise.
488 (CpuNumOfUints): Likewise.
489 (CpuNumOfBits): Likewise.
490 (CpuUnused): Likewise.
491 (OTNumOfUints): Likewise.
492 (OTNumOfBits): Likewise.
493 (OTUnused): Likewise.
494 (i386_cpu_flags): New type.
495 (i386_operand_type): Likewise.
496 (i386_opcode_modifier): Likewise.
497 (CpuSledgehammer): Removed.
499 (CpuUnknownFlags): Likewise.
502 (ImplicitRegister): Likewise.
507 (LLongMem): Likewise.
509 (ShortMem): Likewise.
512 (template): Use i386_cpu_flags for cpu_flags, use
513 i386_opcode_modifier for opcode_modifier, use
514 i386_operand_type for operand_types.
515 (reg_entry): Use i386_operand_type for reg_type.
517 * Makefile.am (HFILES): Add i386-init.h.
518 ($(srcdir)/i386-init.h): New rule.
519 ($(srcdir)/i386-tbl.h): Depend on $(srcdir)/i386-init.h
521 * Makefile.in: Regenerated.
523 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
525 * i386-gen.c (next_field): Updated to take a separator.
526 (process_i386_opcodes): Updated.
527 (process_i386_registers): Likewise.
529 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
531 * i386-gen.c (table): Moved ...
532 (main): Here. Call process_copyright to output copyright.
533 (process_copyright): New.
534 (process_i386_opcodes): Take FILE *table.
535 (process_i386_registers): Likewise.
537 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
539 * i386-gen.c (table): New.
540 (process_i386_opcodes): Report errno when faied to open
541 i386-opc.tbl. Output opcodes to table. Close i386-opc.tbl
543 (process_i386_registers): Report errno when faied to open
544 i386-reg.tbl. Output opcodes to table. Close i386-reg.tbl
546 (main): Open i386-tbl.h for output.
548 * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@".
549 * Makefile.in: Regenerated.
551 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
553 * i386-opc.tbl: Correct SVME instructions to allow 32bit register
554 operand in 64bit mode.
555 * i386-tbl.h: Regenerated.
557 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
559 * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
560 (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
561 (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
563 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
565 * i386-dis.c (SVME_Fixup): Removed.
567 (OPC_EXT_RM_6): Likewise.
568 (grps): Use OPC_EXT_39.
569 (opc_ext_table): Add OPC_EXT_39.
570 (opc_ext_rm_table): Add OPC_EXT_RM_6.
572 * i386-opc.tbl: Correct SVME instructions to take register
574 * i386-tbl.h: Regenerated.
576 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
578 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
579 * Makefile.in: Regenerated.
581 * configure.in (AC_GNU_SOURCE): Added.
582 (AC_PROG_CC): Moved before AC_GNU_SOURCE.
583 (AC_CHECK_DECLS): Add stpcpy.
584 * configure: Regenerated.
585 * config.in: Likewise.
587 * i386-dis.c: Include "sysdep.h" before "dis-asm.h".
589 * sysdep.h (stpcpy): New.
591 2007-08-30 H.J. Lu <hongjiu.lu@intel.com>
593 * i386-dis.c (INVLPG_Fixup): Removed.
595 (OPC_EXT_RM_5): Likewise.
596 (grps): Use OPC_EXT_38.
597 (opc_ext_table): Add OPC_EXT_38.
598 (opc_ext_rm_table): Add OPC_EXT_RM_5.
600 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
602 * i386-dis.c (SIMD_Fixup): Removed.
603 (OPC_EXT_34...OPC_EXT_37): New.
604 (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
605 (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
606 (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
608 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
610 * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
611 (dis386): Use OPC_EXT_0...OPC_EXT_2.
612 (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
613 (grps): Updated to use OPC_EXT_6...OPC_EXT_31.
614 (prefix_user_table): Use OPC_EXT_32.
615 (x86_64_table): Use OPC_EXT_33.
616 (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
618 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
620 * i386-dis.c (prefix_user_table): Fix comment.
622 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
624 * i386-dis.c (OP_Skip_MODRM): New.
625 (OP_Monitor): Likewise.
626 (OP_Mwait): Likewise.
628 (Skip_MODRM): Likewise.
629 (USE_OPC_EXT_TABLE): Likewise.
630 (USE_OPC_EXT_RM_TABLE): Likewise.
631 (PREGRP98...PREGRP100): Likewise.
632 (OPC_EXT_0...OPC_EXT_24): Likewise.
633 (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
634 (lock_prefix): Likewise.
635 (data_prefix): Likewise.
636 (addr_prefix): Likewise.
637 (repz_prefix): Likewise.
638 (repnz_prefix): Likewise.
639 (opc_ext_table): Likewise.
640 (opc_ext_rm_table): Likewise.
641 (get_valid_dis386): Likewise.
644 (PNI_Fixup): Likewise.
645 (VMX_Fixup): Likewise.
647 (twobyte_uses_DATA_prefix): Likewise.
648 (twobyte_uses_REPNZ_prefix): Likewise.
649 (twobyte_uses_REPZ_prefix): Likewise.
650 (threebyte_0x38_uses_DATA_prefix): Likewise.
651 (threebyte_0x38_uses_REPNZ_prefix): Likewise.
652 (threebyte_0x38_uses_REPZ_prefix): Likewise.
653 (threebyte_0x3a_uses_DATA_prefix): Likewise.
654 (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
655 (threebyte_0x3a_uses_REPZ_prefix): Likewise.
656 (grps): Use OPC_EXT_0...OPC_EXT_24.
657 (prefix_user_table): Add PREGRP98...PREGRP100.
658 (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
659 uses_REPNZ_prefix and uses_REPZ_prefix. Initialize
660 repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
661 data_prefix based on prefixes. Call get_valid_dis386 to
662 get a pointer to the valid dis386. Print out prefixes if
664 (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
665 (REP_Fixup): Set repz_prefix to "rep " when seeing
668 2007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
670 * po/nl.po: Updated translation.
672 2007-08-28 H.J. Lu <hongjiu.lu@intel.com>
674 * i386-dis.c (Md): New.
675 (grps): Use 0 on invlpg. Use M on fxsave and fxrstor. Use
676 Md on ldmxcsr and stmxcsr. Use b_mode on clflush.
677 (OP_0fae): Clear bytemode for sfence.
679 2007-08-22 Ben Elliston <bje@au.ibm.com>
681 * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
682 (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
684 (powerpc_opcodes): Add all pair singles instructions.
685 * ppc-dis.c (powerpc_dialect): Handle "ppcps".
686 (print_ppc_disassembler_options): Document -Mppcps.
688 2007-08-21 Andreas Krebbel <krebbel1@de.ibm.com>
690 * s390-mkopc.c (struct s390_cond_ext_format): New global struct.
691 (s390_cond_ext_format): New global variable.
692 (expandConditionalJump): New function.
693 (main): Invoke expandConditionalJump for mnemonics containing '*'.
694 * s390-opc.txt: Replace mnemonics with conditional
695 mask extensions with instructions using the newly introduced '*' tag.
697 2007-08-17 Alan Modra <amodra@bigpond.net.au>
699 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
701 2007-08-10 Nick Clifton <nickc@redhat.com>
703 * po/fi.po: Updated Finnish translation.
704 * po/ga.po: Updated Irish translation.
705 * po/vi.po: Updated Vietnamese translation.
707 2007-08-09 H.J. Lu <hongjiu.lu@intel.com>
709 * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
710 pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
711 * i386-tbl.h: Regenerated.
713 2007-08-03 James E. Wilson <wilson@specifix.com>
715 * ia64-gen.c: (main): Add missing newline to copyright message.
716 * ia64-ic.tbl (fp-non-arith): Add xmpy.
717 * ia64-asmtab.c: Regenerate.
719 2007-08-01 Michael Snyder <msnyder@access-company.com>
721 * i386-dis.c (print_insn): Guard against NULL.
723 2007-07-29 H.J. Lu <hongjiu.lu@intel.com>
726 * i386-dis.c (EXw): New.
727 (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
728 instructions when appropriated.
730 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
733 * i386-dis.c (Eq): New.
734 (EMC): Renamed to ...
735 (EMCq): This. Use q_mode instead of v_mode.
736 (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
739 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
741 * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
742 (prefix_user_table): Likewise. Use EXq instead of EXx on
745 2007-07-27 Nathan Sidwell <nathan@codesourcery.com>
747 * ppc-opc (PPC7450): New.
748 (powerpc_opcodes): Use it in dcba.
750 2007-07-24 H.J. Lu <hongjiu.lu@intel.com>
752 * i386-gen.c (main): Print a newline after copyright notice.
754 2007-07-19 Nick Clifton <nickc@redhat.com>
757 * maxq-dis.c (get_reg_name): Fix the scan of the
758 mem_access_syntax_table.
760 2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
762 * i386-dis.c (EMq): Removed.
764 (prefix_user_table): Replace EMq with EMx.
766 2007-07-16 Nick Clifton <nickc@redhat.com>
768 * po/nl.po: Updated translation.
770 2007-07-12 Nick Clifton <nickc@redhat.com>
772 * po/vi.po: Updated translation.
773 * po/nl.po: Updated translation.
775 2007-07-06 Mark Kettenis <kettenis@gnu.org>
776 H.J. Lu <hongjiu.lu@intel.com>
778 * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
779 (ia64-asmtab.c): Likewise.
780 * Makefile.in: Regenerate.
782 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
784 * aclocal.m4: Regenerated.
786 2007-07-04 Nick Clifton <nickc@redhat.com>
788 * alpha-dis.c: Update copyright notice to refer to GPLv3.
789 * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h,
790 arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c,
791 cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in,
792 cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c,
793 cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c,
794 d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c,
795 dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c,
796 h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c,
797 i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c,
798 ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c,
799 ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c,
800 ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c,
801 m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c,
802 m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c,
803 mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c,
804 mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c,
805 or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c,
806 ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c,
807 score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h,
808 sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c,
809 spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c,
810 tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c,
811 vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c,
812 z8k-dis.c, z8kgen.c: Likewise.
813 * i386-opc.tbl, i386-reg.tbl: Add copyright notice.
814 * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h,
815 fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c,
816 frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c,
817 frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c,
818 ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h,
819 iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c,
820 iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c,
821 m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c,
822 m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
823 m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c,
824 mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c,
825 mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c,
826 mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c,
827 openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c,
828 openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h,
829 xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h,
830 xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h,
831 xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c,
832 xstormy16-opc.h, z8k-opc.h: Regenerated
834 2007-07-04 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
836 * cr16-dis.c (getcinvstring): Add const qualifier to char *
838 (print_insn_cr16): Remove cast to char *.
840 2007-07-03 Nathan Sidwell <nathan@codesourcery.com>
842 * m68k-dis.c (fetch_arg): Add E. Replace length switch with
844 (print_ins_arg): Add j & K operand types.
845 (match_insn_m68k): Check and skip initial '.' arg character.
846 (m68k_scan_mask): Likewise.
847 * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
849 2007-07-02 Alan Modra <amodra@bigpond.net.au>
851 * Makefile.am: Run "make dep-am".
852 * Makefile.in: Regenerate.
853 * aclocal.m4: Regenerate.
854 * config.in: Regenerate.
855 * po/POTFILES.in: Regenerate.
856 * po/opcodes.pot: Regenerate.
858 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
860 * aclocal.m4: Regenerated.
861 * Makefile.in: Likewise.
863 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
865 * i386-reg.tbl: Remove spaces before comments.
867 2007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
869 * cr16-opc.c: New file.
870 * cr16-dis.c: New file.
871 * Makefile.am: Entries for cr16.
872 * Makefile.in: Regenerate.
873 * cofigure.in: Add cr16 target information.
874 * configure : Regenerate.
875 * disassemble.c: Add cr16 target information.
877 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
879 * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
880 (CFILES): Add i386-gen.c.
881 (i386-gen): New rule.
882 (i386-gen.o): Likewise.
883 (i386-tbl.h): Likewise.
885 * Makefile.in: Regenerated.
887 * i386-gen.c: New file.
888 * i386-opc.tbl: Likewise.
889 * i386-reg.tbl: Likewise.
890 * i386-tbl.h: Likewise.
892 * i386-opc.c: Include "i386-tbl.h".
893 (i386_optab): Removed.
894 (i386_regtab): Likewise.
895 (i386_regtab_size): Likewise.
897 2007-06-26 Paul Brook <paul@codesourcery.com>
899 * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
901 2007-06-25 H.J. Lu <hongjiu.lu@intel.com>
903 * i386-opc.h (regKludge): Renamed to ...
906 * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
908 2007-06-23 H.J. Lu <hongjiu.lu@intel.com>
911 * i386-dis.c (EX): Removed.
917 (PREGRP93...PREGRP97): Likewise.
918 (dis386_twobyte): Updated.
919 (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
920 (OP_EX): Remove Intel syntax handling.
922 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
924 * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
926 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
928 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
930 * acinclude.m4: Removed.
932 * Makefile.in: Regenerated.
933 * doc/Makefile.in: Likewise.
934 * aclocal.m4: Likewise.
935 * configure: Likewise.
937 2007-06-05 Paul Brook <paul@codesourcery.com>
939 * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
941 2007-05-24 Steve Ellcey <sje@cup.hp.com>
943 * Makefile.in: Regnerate.
944 * configure: Regenerate.
945 * aclocal.m4: Regenerate.
947 2007-05-18 Alan Modra <amodra@bigpond.net.au>
949 * ppc-dis.c (print_insn_powerpc): Don't skip all operands
950 after setting skip_optional.
952 2007-05-16 Peter Bergner <bergner@vnet.ibm.com>
954 * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
955 (print_insn_powerpc): Use the new operand_value_powerpc and
956 skip_optional_operands functions to omit or print all optional
958 * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
959 (XFL_MASK): Delete L and W bits from the mask.
960 (mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK
961 with XWRA_MASK. Use W.
962 (mtfsf, mtfsf.): Use XFL_L and W.
964 2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
967 * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
969 2007-05-10 H.J. Lu <hongjiu.lu@intel.com>
971 * i386-opc.h (ShortForm): Redefined.
973 (JumpDword): Likewise.
974 (JumpByte): Likewise.
975 (JumpInterSegment): Likewise.
982 (IgnoreSize): Likewise.
983 (DefaultSize): Likewise.
991 (IsString): Likewise.
992 (regKludge): Likewise.
993 (IsPrefix): Likewise.
999 2007-05-07 H.J. Lu <hongjiu.lu@intel.com>
1001 * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
1002 for some SSE4 instructions.
1003 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1005 2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
1007 * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
1009 * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
1012 2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
1014 * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
1015 check data size prefix in 16bit mode.
1017 * i386-opc.c (i386_optab): Default crc32 to non-8bit and
1020 2007-04-30 Mark Salter <msalter@redhat.com>
1022 * frv-desc.c: Regenerate.
1023 * frv-desc.h: Regenerate.
1025 2007-04-30 Alan Modra <amodra@bigpond.net.au>
1028 * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
1030 2007-04-27 H.J. Lu <hongjiu.lu@intel.com>
1032 * i386-dis.c (modrm): Put reg before rm.
1034 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1037 * i386-dis.c (print_displacement): New.
1038 (OP_E): Call print_displacement instead of print_operand_value
1039 to output displacement when either base or index exist. Print
1040 the explicit zero displacement in 16bit mode.
1042 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1045 * i386-dis.c (print_insn): Also swap the order of op_riprel
1046 when swapping op_index. Break when the RIP relative address
1048 (OP_E): Properly handle RIP relative addressing and print the
1049 explicit zero displacement for Intel mode.
1051 2007-04-27 Alan Modra <amodra@bigpond.net.au>
1053 * Makefile.am: Run "make dep-am".
1054 * Makefile.in: Regenerate.
1055 * ns32k-dis.c: Include sysdep.h first.
1057 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
1059 * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
1061 * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
1063 2007-04-24 Nick Clifton <nickc@redhat.com>
1065 * arm-dis.c (print_insn): Initialise type.
1067 2007-04-24 Alan Modra <amodra@bigpond.net.au>
1069 * cgen-types.h: Include bfd_stdint.h, not stdint.h.
1070 * Makefile.am: Run "make dep-am".
1071 * Makefile.in: Regenerate.
1073 2007-04-23 Nathan Sidwell <nathan@codesourcery.com>
1075 * m68k-opc.c: Mark mcfisa_c instructions.
1077 2007-04-21 Richard Earnshaw <rearnsha@arm.com>
1079 * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
1080 (thumb_opcodes): Add missing white space in adr.
1081 (arm_decode_shift): New parameter, print_shift. Only decode the
1082 shift parameter if set. Adjust callers.
1083 (print_insn_arm): Support for operand type q with no shift decode.
1085 2007-04-21 Alan Modra <amodra@bigpond.net.au>
1087 * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
1089 (i386_regtab): ..here.
1090 * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
1092 * ppc-opc.c (powerpc_operands): Delete duplicate entries.
1093 (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
1094 (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
1095 (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
1097 2007-04-20 Nathan Sidwell <nathan@codesourcery.com>
1099 * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
1102 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1104 * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
1106 * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
1107 in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove
1108 references to following deleted functions.
1109 (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
1110 (insert_ds, extract_ds, insert_de, extract_de): Delete.
1111 (insert_des, extract_des, insert_li, extract_li): Delete.
1112 (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
1113 (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
1114 (num_powerpc_operands): New constant.
1115 (XSPRG_MASK): Remove entire SPRG field.
1116 (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
1118 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1120 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
1122 (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
1124 2007-04-20 Richard Earnshaw <rearnsha@arm.com>
1126 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
1129 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1131 * Makefile.am: Run "make dep-am".
1132 * Makefile.in: Regenerate.
1133 * po/POTFILES.in: Regenerate.
1135 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1137 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
1138 db10cyc, db12cyc, db16cyc.
1140 2007-04-19 Nathan Froyd <froydnj@codesourcery.com>
1142 * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
1144 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1146 * i386-dis.c (CRC32_Fixup): New.
1147 (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
1149 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
1150 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1151 (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
1152 PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
1153 (three_byte_table): Likewise.
1155 * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
1157 * i386-opc.h (CpuSSE4_2): New.
1158 (CpuSSE4): Likewise.
1159 (CpuUnknownFlags): Add CpuSSE4_2.
1161 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1163 * i386-dis.c (XMM_Fixup): New.
1169 (PREGRP39 ... PREGRP85): New.
1170 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
1171 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1172 (prefix_user_table): Add PREGRP39 ... PREGRP85.
1173 (three_byte_table): Likewise.
1174 (putop): Handle 'K'.
1175 (intel_operand_size): Handle dqb_mode, dqd_mode):
1179 * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
1181 * i386-opc.h (CpuSSE4_1): New.
1182 (CpuUnknownFlags): Add CpuSSE4_1.
1183 (regKludge): Update comment.
1185 2007-04-18 Matthias Klose <doko@ubuntu.com>
1187 * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
1188 * Makefile.in: Regenerate.
1190 2007-04-14 Steve Ellcey <sje@cup.hp.com>
1192 * Makefile.am: Add ACLOCAL_AMFLAGS.
1193 * Makefile.in: Regenerate.
1195 2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
1197 * i386-dis.c: Remove trailing white spaces.
1198 * i386-opc.c: Likewise.
1199 * i386-opc.h: Likewise.
1201 2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
1204 * i386-dis.c (GRP1a): New.
1205 (GRP1b ... GRPPADLCK2): Update index.
1206 (dis386): Use GRP1a for entry 0x8f.
1207 (mod, rm, reg): Removed. Replaced by ...
1211 2007-04-09 Kazu Hirata <kazu@codesourcery.com>
1213 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
1214 info->print_address_func if longjmp is called.
1216 2007-03-29 DJ Delorie <dj@redhat.com>
1218 * m32c-desc.c: Regenerate.
1219 * m32c-dis.c: Regenerate.
1220 * m32c-opc.c: Regenerate.
1222 2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
1224 * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
1225 movq. Remove InvMem from sldt, smsw and str.
1227 * i386-opc.h (InvMem): Renamed to ...
1228 (RegMem): Update comments.
1229 (AnyMem): Remove InvMem.
1231 2007-03-27 Paul Brook <paul@codesourcery.com>
1233 * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
1235 2007-03-24 Paul Brook <paul@codesourcery.com>
1237 * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
1238 (print_insn_coprocessor): Handle %<bitfield>x.
1240 2007-03-24 Paul Brook <paul@codesourcery.com>
1241 Mark Shinwell <shinwell@codesourcery.com>
1243 * arm-dis.c (arm_opcodes): Print SRS base register.
1245 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
1247 * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
1249 * i386-opc.c (i386_optab): Add rex.wrxb.
1251 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1253 * i386-dis.c (REX_MODE64): Remove definition.
1254 (REX_EXTX): Likewise.
1255 (REX_EXTY): Likewise.
1256 (REX_EXTZ): Likewise.
1257 (USED_REX): Use REX_OPCODE instead of 0x40.
1258 Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
1259 REX_R, REX_X and REX_B respectively.
1261 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1264 * i386-dis.c (PREGRP38): New.
1265 (dis386): Use PREGRP38 for 0x90.
1266 (prefix_user_table): Add PREGRP38.
1267 (print_insn): Set uses_REPZ_prefix to 1 for pause.
1268 (NOP_Fixup1): Properly handle REX bits.
1269 (NOP_Fixup2): Likewise.
1271 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
1272 Allow register with nop.
1274 2007-03-20 DJ Delorie <dj@redhat.com>
1276 * m32c-asm.c: Regenerate.
1277 * m32c-desc.c: Regenerate.
1278 * m32c-desc.h: Regenerate.
1279 * m32c-dis.h: Regenerate.
1280 * m32c-ibld.c: Regenerate.
1281 * m32c-opc.c: Regenerate.
1282 * m32c-opc.h: Regenerate.
1284 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1286 * i386-opc.c: Include "libiberty.h".
1287 (i386_regtab): Remove the last entry.
1288 (i386_regtab_size): New.
1289 (i386_float_regtab_size): Likewise.
1291 * i386-opc.h (i386_regtab_size): New.
1292 (i386_float_regtab_size): Likewise.
1294 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1296 * Makefile.am (CFILES): Add i386-opc.c.
1297 (ALL_MACHINES): Add i386-opc.lo.
1299 * Makefile.in: Regenerated.
1301 * configure.in: Add i386-opc.lo for bfd_i386_arch.
1302 * configure: Regenerated.
1304 * i386-dis.c: Include "opcode/i386.h".
1305 (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
1306 (FWAIT_OPCODE): Remove definition.
1307 (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
1308 (MAX_OPERANDS): Remove definition.
1310 * i386-opc.c: New file.
1311 * i386-opc.h: Likewise.
1313 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1315 * Makefile.in: Regenerated.
1317 2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
1319 * i386-dis.c (OP_Rd): Renamed to ...
1324 2007-03-08 Alan Modra <amodra@bigpond.net.au>
1326 * fr30-asm.c: Regenerate.
1327 * frv-asm.c: Regenerate.
1328 * ip2k-asm.c: Regenerate.
1329 * iq2000-asm.c: Regenerate.
1330 * m32c-asm.c: Regenerate.
1331 * m32r-asm.c: Regenerate.
1332 * m32r-dis.c: Regenerate.
1333 * mt-asm.c: Regenerate.
1334 * mt-ibld.c: Regenerate.
1335 * mt-opc.c: Regenerate.
1336 * openrisc-asm.c: Regenerate.
1337 * xc16x-asm.c: Regenerate.
1338 * xstormy16-asm.c: Regenerate.
1340 * Makefile.am: Run "make dep-am".
1341 * Makefile.in: Regenerate.
1342 * po/POTFILES.in: Regenerate.
1344 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
1346 * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
1347 INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
1348 instruction formats added.
1349 (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
1350 MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
1352 * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
1354 * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1355 (main): z9-ec cpu type option added.
1356 * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1358 2007-02-22 DJ Delorie <dj@redhat.com>
1360 * s390-opc.c (INSTR_SS_L2RDRD): New.
1361 (MASK_SS_L2RDRD): New.
1362 * s390-opc.txt (pka): Use it.
1364 2007-02-20 Thiemo Seufer <ths@mips.com>
1365 Chao-Ying Fu <fu@mips.com>
1367 * mips-dis.c (mips_arch_choices): Add DSP R2 support.
1368 (print_insn_args): Add support for balign instruction.
1369 * mips-opc.c (D33): New shortcut for DSP R2 instructions.
1370 (mips_builtin_opcodes): Add DSP R2 instructions.
1372 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1374 * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
1375 (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
1376 * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
1377 cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
1379 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1381 * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
1382 * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
1383 (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
1386 2007-02-16 Nick Clifton <nickc@redhat.com>
1389 * avr-dis.c (comment_start): New variable, contains the prefix to
1390 use when printing addresses in comments.
1391 (print_insn_avr): Set comment_start to an empty space if there is
1392 no symbol table available as the generic address printing code
1393 will prefix the numeric value of the address with 0x.
1395 2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
1397 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
1400 2007-02-05 Dave Brolley <brolley@redhat.com>
1401 Richard Sandiford <rsandifo@redhat.com>
1402 DJ Delorie <dj@redhat.com>
1403 Graydon Hoare <graydon@redhat.com>
1404 Frank Ch. Eigler <fche@redhat.com>
1405 Ben Elliston <bje@redhat.com>
1407 * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
1408 (CFILES): Add mep-*.c
1409 (ALL_MACHINES): Add mep-*.lo.
1410 (CLEANFILES): Add stamp-mep.
1411 (CGEN_CPUS): Add mep.
1412 (MEP_DEPS): New variable.
1413 (mep-*): New targets.
1414 * configure.in: Handle bfd_mep_arch.
1415 * disassemble.c (ARCH_mep): New macro.
1416 (disassembler): Handle bfd_arch_mep.
1417 (disassemble_init_for_target): Likewise.
1418 * mep-*: New files for Toshiba Media Processor (MeP).
1419 * Makefile.in: Regenerated.
1420 * configure: Regenerated.
1422 2007-02-05 H.J. Lu <hongjiu.lu@intel.com>
1424 * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
1425 wrap around within the same segment in 16bit mode.
1427 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1429 * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
1432 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1434 * avr-dis.c (avr_operand): Correct PR number in comment.
1436 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1438 * disassemble.c (disassembler_usage): Call
1439 print_i386_disassembler_options for i386 disassembler.
1441 * i386-dis.c (print_i386_disassembler_options): New.
1442 (print_insn): Support the new addr64 option.
1444 2007-02-02 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
1446 * ppc-dis.c (powerpc_dialect): Handle ppc440.
1447 * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
1450 2007-02-02 Alan Modra <amodra@bigpond.net.au>
1452 * ppc-opc.c (insert_bdm): -Many comment.
1453 (valid_bo): Add "extract" param. Accept both powerpc and power4
1454 BO fields when disassembling with -Many.
1455 (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
1457 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
1459 * m68k-opc.c (m68k_opcodes): Replace cpu32 with
1460 cpu32 | fido_a except on tbl instructions.
1462 2007-01-04 Paul Brook <paul@codesourcery.com>
1464 * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
1466 2007-01-04 Andreas Schwab <schwab@suse.de>
1468 * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
1470 2007-01-04 Julian Brown <julian@codesourcery.com>
1472 * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
1473 vqrshl instructions.
1475 For older changes see ChangeLog-2006
1481 version-control: never