1 2007-09-29 H.J. Lu <hongjiu.lu@intel.com>
3 * 386-dis.c (USE_GROUPS): Renamed to ...
5 (USE_OPC_EXT_TABLE): Renamed to ...
7 (USE_OPC_EXT_RM_TABLE): Renamed to ...
9 (USE_XXX_TABLE): Reordered.
12 (OPC_EXT_TABLE): Renamed to ...
14 (OPC_EXT_RM_TABLE): Renamed to ...
16 (GRP_XXX): Renamed to ...
18 (PREGRP_XXX): Renamed to ...
20 (OPC_EXT_XXX): Renamed to ...
22 (OPC_EXT_RM_XXX): Renamed to ...
24 (grps): Renamed to ...
26 (prefix_user_table): Renamed to ...
28 (opc_ext_table): Renamed to ...
30 (opc_ext_rm_table): Renamed to ...
32 (OPC_EXT_RM_XXX): Likewise.
34 (dis386_twobyte): Likewise.
35 (reg_table): Likewise.
36 (prefix_table): Likewise.
37 (x86_64_table): Likewise.
38 (three_byte_table): Likewise.
39 (mod_table): Likewise.
41 (get_valid_dis386): Likewise.
43 2007-09-28 H.J. Lu <hongjiu.lu@intel.com>
45 * 386-dis.c (USE_PREFIX_USER_TABLE): Renamed to ...
46 (USE_PREFIX_TABLE): This.
47 (X86_64_SPECIAL): Renamed to ...
48 (USE_X86_64_TABLE): This.
49 (IS_3BYTE_OPCODE): Renamed to ...
50 (USE_3BYTE_TABLE): This.
52 (PREGRPXXX): Likewise.
53 (X86_64_XXX): Likewise.
54 (THREE_BYTE_XXX): Likewise.
55 (OPC_EXT_XXX): Likewise.
56 (OPC_EXT_RM_XXX): Likewise.
60 (X86_64_TABLE): Likewise.
61 (THREE_BYTE_TABLE): Likewise.
62 (OPC_EXT_TABLE): Likewise.
63 (OPC_EXT_RM_TABLE): Likewise.
65 (PREGRP_XXX): Likewise.
66 (X86_64_XXX): Likewise.
67 (THREE_BYTE_XXX): Likewise.
68 (OPC_EXT_XXX): Likewise.
69 (OPC_EXT_RM_XXX): Likewise.
71 (dis386_twobyte): Likewise.
73 (prefix_user_table): Likewise.
74 (x86_64_table): Likewise.
75 (three_byte_table): Likewise.
76 (opc_ext_table): Likewise.
77 (opc_ext_rm_table): Likewise.
78 (get_valid_dis386): Likewise.
80 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
82 * i386-dis.c (dis386): Swap X86_64_27 with OPC_EXT_2.
83 (x86_64_table): Likewise.
84 (opc_ext_table): Likewise.
86 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
89 * i386-dis.c: Update comments on '{', '}' and '|' to support
90 only AT&T and Intel modes.
91 (X86_64_4...X86_64_27): New.
92 (dis386): Updated. Use X86_64_4...X86_64_21.
93 (dis386_twobyte): Updated.
94 (float_mem): Likewise.
95 (x86_64_table): Add X86_64_4...X86_64_27.
96 (opc_ext_table): Updated. Use X86_64_22...X86_64_27.
97 (putop): Updated handling of '{', '}' and '|' to support only
100 2007-09-27 Kazu Hirata <kazu@codesourcery.com>
102 * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb.
104 2007-09-26 James E. Wilson <wilson@specifix.com>
106 * ia64-gen.c (print_dependency_table): Fix typo in last patch.
108 2007-09-26 Nick Clifton <nickc@redhat.com>
110 * mt-asm.c (parse_imm16): Reword error message in order to allow
111 it to be translated properly.
112 * ia64-gen.c (print_dependency_table): Likewise.
113 * mips-dis.c (print_insn_args): Likewise.
115 2007-09-26 Jan Beulich <jbeulich@novell.com>
117 * i386-dis.c (OP_E_extended): Distinguish rip- and eip-
118 relative addressing. Update used_prefixes based on whether any
119 base or index register was printed.
121 2007-09-26 Jan Beulich <jbeulich@novell.com>
123 * i386-opc.h (RegEip): Define.
125 * i386-reg.tbl: Add eip. Mark rip and eip with RegRex64.
126 * i386-tbl.h: Re-generate.
128 2007-09-25 H.J. Lu <hongjiu.lu@intel.com>
130 * i386-gen.c (process_i386_opcodes): Process opcode_length.
132 * i386-opc.h (template): Add opcode_length.
133 * 386-opc.tbl: Likewise.
134 * i386-tbl.h: Regenerated.
136 2007-09-21 H.J. Lu <hongjiu.lu@intel.com>
138 * i386-opc.h: Adjust whitespaces.
140 2007-09-21 Dave Brolley <brolley@redhat.com>
142 * mep-desc.c: Regenerated.
144 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
146 * i386-dis.c (OP_E_extended): Display eiz for [eiz*1 + offset].
148 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
151 * 386-dis.c (index64): New.
153 (intel_index64): Likewise.
154 (intel_index32): Likewise.
155 (att_index64): Likewise.
156 (att_index32): Likewise.
157 (print_insn): Set index64 and index32.
158 (OP_E_extended): Use index64/index32 for index register for
161 * i386-opc.h (RegEiz): New.
164 * i386-reg.tbl: Add eiz and riz.
165 * i386-tbl.h: Regenerated.
167 2007-09-19 H.J. Lu <hongjiu.lu@intel.com>
169 * i386-dis.c (OP_E_extended): Always display scale for memory.
171 2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
173 * i386-opc.h (RegRip): New.
175 * i386-reg.tbl (rip): Use RegRip for reg_num.
176 * i386-tbl.h: Regenerated.
178 2007-09-17 Nick Clifton <nickc@redhat.com>
180 * po/es.po: Updated Spanish translation.
182 2007-09-14 H.J. Lu <hongjiu.lu@intel.com>
184 * Makefile.am: Run "make dep-am".
185 * Makefile.in: Regenerate.
187 2007-09-14 Michael Meissner <michael.meissner@amd.com>
188 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
189 Tony Linthicum <tony.linthicum@amd.com>
191 * i386-opc.h (CpuSSE5): New macro.
192 (i386_cpu_flags): Add Drex, Drexv and Drexc.
194 * i386-gen.c (cpu_flag_init): Add CPU_SSE5_FLAGS.
195 (operand_type_init): Add CpuSSE5.
196 (opcode_modifiers): Add Drex, Drexv and Drexc.
197 (i386_opcode_modifier): Ditto.
199 * i386-opc.tbl (fmaddps,fmaddpd,fmaddss,fmaddsd): Define SSE5
201 (fmsubps,fmsubpd,fmsubss,fmsubsd): Ditto.
202 (fnmaddps,fnmaddpd,fnmaddss,fnmaddsd): Ditto.
203 (fnmsubps,fnmsubpd,fnmsubss,fnmsubsd): Ditto.
204 (pmacssww,pmacsww,pmacsswd,pmacswd): Ditto.
205 (pmacssdd,pmacsdd,pmacssdql,pmacssdqh): Ditto.
206 (pmacsdql,pmacsdqh,pmadcsswd,pmadcswd): Ditto.
207 (phaddbw,phaddbd,phaddbq,phaddwd): Ditto.
208 (phaddwq,phadddq,phaddubw,phaddubd): Ditto.
209 (phaddubq,phadduwd,phadduwq,phaddudq): Ditto.
210 (phsubbw,phsubwd,phsubdq): Ditto.
211 (pcmov,pperm,permps,permpd): Ditto.
212 (protb,protw,protd,protq): Ditto.
213 (pshlb,pshlw,pshld,pshlq): Ditto.
214 (pshab,pshaw,pshad,pshaq): Ditto.
215 (comps,comeqps,comltps,comungeps,comleps,comungtps): Ditto.
216 (comunordps,comneps,comneqps,comnltps,comugeps): Ditto.
217 (comnleps,comugtps,comordps,comueqps,comultps): Ditto.
218 (comngeps,comuleps,comngtps,comfalseps,comuneps): Ditto.
219 (comuneqps,comunltps,comgeps,comunleps,comgtps,comtrueps): Ditto.
220 (compd,comeqpd,comltpd,comungepd,comlepd,comungtpd,comunordpd): Ditto.
221 (comnepd,comneqpd,comnltpd,comugepd,comnlepd,comugtpd): Ditto.
222 (comordpd,comueqpd,comultpd,comngepd,comulepd,comngtpd): Ditto.
223 (comfalsepd,comunepd,comuneqpd,comunltpd,comgepd): Ditto.
224 (comunlepd,comgtpd,comtruepd): Ditto.
225 (comss,comeqss,comltss,comungess,comless,comungtss,comunordss): Ditto.
226 (comness,comneqss,comnltss,comugess,comnless,comugtss): Ditto.
227 (comordss,comueqss,comultss,comngess,comuless,comngtss): Ditto.
228 (comfalsess,comuness,comuneqss,comunltss,comgess): Ditto.
229 (comunless,comgtss,comtruess): Ditto.
230 (comsd,comeqsd,comltsd,comungesd,comlesd,comungtsd,comunordsd): Ditto.
231 (comnesd,comneqsd,comnltsd,comugesd,comnlesd,comugtsd): Ditto.
232 (comordsd,comueqsd,comultsd,comngesd,comulesd,comngtsd): Ditto.
233 (comfalsesd,comunesd,comuneqsd,comunltsd,comgesd): Ditto.
234 (comunlesd,comgtsd,comtruesd): Ditto.
235 (pcomub,pcomltub,pcomleub,pcomgtub,pcomgeub,pcomequb): Ditto.
236 (pcomnequb,pcomneub): Ditto.
237 (pcomuw,pcomltuw,pcomleuw,pcomgtuw,pcomgeuw,pcomequw): Ditto.
238 (pcomnequw,pcomneuw): Ditto.
239 (pcomud,pcomltud,pcomleud,pcomgtud,pcomgeud,pcomequd): Ditto.
240 (pcomnequd,pcomneud): Ditto.
241 (pcomuq,pcomltuq,pcomleuq,pcomgtuq,pcomgeuq,pcomequq): Ditto.
242 (pcomnequq,pcomneuq): Ditto.
243 (pcomb,pcomltb,pcomleb,pcomgtb,pcomgeb,pcomeqb): Ditto.
244 (pcomneqb,pcomneb): Ditto.
245 (pcomw,pcomltw,pcomlew,pcomgtw,pcomgew,pcomeqw): Ditto.
246 (pcomneqw,pcomnew): Ditto.
247 (pcomd,pcomltd,pcomled,pcomgtd,pcomged,pcomeqd): Ditto.
248 (pcomneqd,pcomned): Ditto.
249 (pcomq,pcomltq,pcomleq,pcomgtq,pcomgeq): Ditto.
250 (pcomeqq,pcomneqq,pcomneq): Ditto.
251 (pcomtrueb, pcomtruew, pcomtrued, pcomtrueq): Ditto.
252 (pcomtrueub, pcomtrueuw, pcomtrueud, pcomtrueuq): Ditto.
253 (pcomfalseb, pcomfalsew, pcomfalsed, pcomfalseq): Ditto.
254 (pcomfalseub, pcomfalseuw, pcomfalseud, pcomfalseuq): Ditto.
255 (frczps,frczpd,frczss,frczsd): Ditto.
256 (cvtph2ps,cvtps2ph): Ditto.
258 * i386-tbl.h: Regenerate from i386-opc.tbl.
259 * i386-init.h: Likewise.
261 * i386-dis.c (libiberty.h): Include to get ARRAY_SIZE.
262 (dis386_move_test): New disassembly support for move from test
263 register instruction that overlaps with SSE5 instructions.
264 (print_insn): Add support for special casing the i386/i486 move
265 from test register instruction that overlaps with the SSE5
266 0x0f24 4 operand instructions.
267 (OP_DREX_ICMP): New macros for SSE5 DREX handling.
268 (OP_DREX_FCMP): Ditto.
269 (OP_E_extended): Rename from OP_E, add additional argument to skip
271 (OP_E): Call OP_E_extended.
272 (DREX_REG_MEMORY): New macros for drex handling.
273 (DREX_REG_UNKNOWN): Ditto.
275 (DREX4_NO_OC0): Ditto.
277 (three_byte_table): Add SSE5 instructions.
278 (print_drex_arg): New function to print a DREX register or memory
280 (OP_DREX4): New function for handling DREX 4 argument ops.
281 (OP_DREX3): New function for handling DREX 3 argument ops.
282 (twobyte_has_modrm): 0f{25,7a,7b} all use the modrm byte.
283 (THREE_BYTE_SSE5_0F{24,25,7A,7B}): New macros for initializing 3
284 byte opcode support for SSE5 instructions.
285 (dis386_twobyte): Add SSE5 24/25/7a/7b support.
286 (three_byte_table): Add rows for describing SSE5 instructions.
288 2007-09-13 H.J. Lu <hongjiu.lu@intel.com>
290 * i386-dis.c (get_valid_dis386): Take a pointer to
291 disassemble_info. Handle IS_3BYTE_OPCODE.
292 (print_insn): Updated. Don't handle IS_3BYTE_OPCODE here.
294 2007-09-12 H.J. Lu <hongjiu.lu@intel.com>
296 * i386-opc.h (CpuUnused): Defined with CpuMax.
297 (OTUnused): Defined with OTMax.
299 2007-09-12 Jan Beulich <jbeulich@novell.com>
301 * i386-opc.tbl: Add two-operand forms of blendvps, blendvpd, and
303 * i386-tbl.h: Regenerate.
305 2007-09-09 H.J. Lu <hongjiu.lu@intel.com>
307 * i386-gen.c (main): Remove the local variable, unused.
309 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
311 * Makefile.am: Run "make dep-am".
312 * Makefile.in: Regenerate.
314 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
316 * configure.in (AC_CHECK_HEADERS): Add limits.h.
317 * configure: Regenerated.
318 * config.in: Likewise.
320 * i386-gen.c: Include "sysdep.h" instead of <stdlib.h> and
321 <string.h>. Use xstrerror instead of strerror.
323 (cpu_flag_init): Likewise.
324 (bitfield): Likewise.
326 (cpu_flags): Likewise.
327 (opcode_modifiers): Likewise.
328 (operand_types): Likewise.
330 (set_cpu_flags): Likewise.
331 (output_cpu_flags): Likewise.
332 (process_i386_cpu_flags): Likewise.
333 (output_opcode_modifier): Likewise.
334 (process_i386_opcode_modifier): Likewise.
335 (output_operand_type): Likewise.
336 (process_i386_operand_type): Likewise.
337 (set_bitfield): Likewise.
338 (operand_type_init): Likewise.
339 (process_i386_initializers): Likewise.
340 (process_i386_opcodes): Call process_i386_opcode_modifier to
341 process opcode_modifier. Call process_i386_operand_type to
342 process operand_types.
343 (process_i386_registers): Call process_i386_operand_type to
345 (main): Check unused bits in i386_cpu_flags and i386_operand_type.
346 Sort cpu_flags, opcode_modifiers and operand_types. Call
347 process_i386_initializers.
350 * i386-tbl.h: Regenerated.
352 * i386-opc.h: Include <limits.h>.
353 (CHAR_BIT): Define as 8 if not defined.
354 (Cpu186): Changed to position of bitfiled.
367 (Cpu3dnow): Likewise.
368 (Cpu3dnowA): Likewise.
370 (CpuPadLock): Likewise.
373 (CpuSSSE3): Likewise.
374 (CpuSSE4a): Likewise.
376 (CpuSSE4_1): Likewise.
377 (CpuSSE4_2): Likewise.
383 (ShortForm): Likewise.
385 (JumpDword): Likewise.
386 (JumpByte): Likewise.
387 (JumpInterSegment): Likewise.
394 (IgnoreSize): Likewise.
395 (DefaultSize): Likewise.
403 (IsString): Likewise.
404 (RegKludge): Likewise.
405 (IsPrefix): Likewise.
414 (FloatReg): Likewise.
424 (BaseIndex): Likewise.
430 (InOutPortReg): Likewise.
431 (ShiftCount): Likewise.
438 (FloatAcc): Likewise.
439 (JumpAbsolute): Likewise.
443 (Reg): Commented out.
445 (ImplicitRegister): Likewise.
450 (LLongMem): Likewise.
452 (ShortMem): Likewise.
457 (CpuNumOfUints): Likewise.
458 (CpuNumOfBits): Likewise.
459 (CpuUnused): Likewise.
460 (OTNumOfUints): Likewise.
461 (OTNumOfBits): Likewise.
462 (OTUnused): Likewise.
463 (i386_cpu_flags): New type.
464 (i386_operand_type): Likewise.
465 (i386_opcode_modifier): Likewise.
466 (CpuSledgehammer): Removed.
468 (CpuUnknownFlags): Likewise.
471 (ImplicitRegister): Likewise.
476 (LLongMem): Likewise.
478 (ShortMem): Likewise.
481 (template): Use i386_cpu_flags for cpu_flags, use
482 i386_opcode_modifier for opcode_modifier, use
483 i386_operand_type for operand_types.
484 (reg_entry): Use i386_operand_type for reg_type.
486 * Makefile.am (HFILES): Add i386-init.h.
487 ($(srcdir)/i386-init.h): New rule.
488 ($(srcdir)/i386-tbl.h): Depend on $(srcdir)/i386-init.h
490 * Makefile.in: Regenerated.
492 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
494 * i386-gen.c (next_field): Updated to take a separator.
495 (process_i386_opcodes): Updated.
496 (process_i386_registers): Likewise.
498 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
500 * i386-gen.c (table): Moved ...
501 (main): Here. Call process_copyright to output copyright.
502 (process_copyright): New.
503 (process_i386_opcodes): Take FILE *table.
504 (process_i386_registers): Likewise.
506 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
508 * i386-gen.c (table): New.
509 (process_i386_opcodes): Report errno when faied to open
510 i386-opc.tbl. Output opcodes to table. Close i386-opc.tbl
512 (process_i386_registers): Report errno when faied to open
513 i386-reg.tbl. Output opcodes to table. Close i386-reg.tbl
515 (main): Open i386-tbl.h for output.
517 * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@".
518 * Makefile.in: Regenerated.
520 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
522 * i386-opc.tbl: Correct SVME instructions to allow 32bit register
523 operand in 64bit mode.
524 * i386-tbl.h: Regenerated.
526 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
528 * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
529 (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
530 (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
532 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
534 * i386-dis.c (SVME_Fixup): Removed.
536 (OPC_EXT_RM_6): Likewise.
537 (grps): Use OPC_EXT_39.
538 (opc_ext_table): Add OPC_EXT_39.
539 (opc_ext_rm_table): Add OPC_EXT_RM_6.
541 * i386-opc.tbl: Correct SVME instructions to take register
543 * i386-tbl.h: Regenerated.
545 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
547 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
548 * Makefile.in: Regenerated.
550 * configure.in (AC_GNU_SOURCE): Added.
551 (AC_PROG_CC): Moved before AC_GNU_SOURCE.
552 (AC_CHECK_DECLS): Add stpcpy.
553 * configure: Regenerated.
554 * config.in: Likewise.
556 * i386-dis.c: Include "sysdep.h" before "dis-asm.h".
558 * sysdep.h (stpcpy): New.
560 2007-08-30 H.J. Lu <hongjiu.lu@intel.com>
562 * i386-dis.c (INVLPG_Fixup): Removed.
564 (OPC_EXT_RM_5): Likewise.
565 (grps): Use OPC_EXT_38.
566 (opc_ext_table): Add OPC_EXT_38.
567 (opc_ext_rm_table): Add OPC_EXT_RM_5.
569 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
571 * i386-dis.c (SIMD_Fixup): Removed.
572 (OPC_EXT_34...OPC_EXT_37): New.
573 (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
574 (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
575 (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
577 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
579 * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
580 (dis386): Use OPC_EXT_0...OPC_EXT_2.
581 (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
582 (grps): Updated to use OPC_EXT_6...OPC_EXT_31.
583 (prefix_user_table): Use OPC_EXT_32.
584 (x86_64_table): Use OPC_EXT_33.
585 (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
587 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
589 * i386-dis.c (prefix_user_table): Fix comment.
591 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
593 * i386-dis.c (OP_Skip_MODRM): New.
594 (OP_Monitor): Likewise.
595 (OP_Mwait): Likewise.
597 (Skip_MODRM): Likewise.
598 (USE_OPC_EXT_TABLE): Likewise.
599 (USE_OPC_EXT_RM_TABLE): Likewise.
600 (PREGRP98...PREGRP100): Likewise.
601 (OPC_EXT_0...OPC_EXT_24): Likewise.
602 (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
603 (lock_prefix): Likewise.
604 (data_prefix): Likewise.
605 (addr_prefix): Likewise.
606 (repz_prefix): Likewise.
607 (repnz_prefix): Likewise.
608 (opc_ext_table): Likewise.
609 (opc_ext_rm_table): Likewise.
610 (get_valid_dis386): Likewise.
613 (PNI_Fixup): Likewise.
614 (VMX_Fixup): Likewise.
616 (twobyte_uses_DATA_prefix): Likewise.
617 (twobyte_uses_REPNZ_prefix): Likewise.
618 (twobyte_uses_REPZ_prefix): Likewise.
619 (threebyte_0x38_uses_DATA_prefix): Likewise.
620 (threebyte_0x38_uses_REPNZ_prefix): Likewise.
621 (threebyte_0x38_uses_REPZ_prefix): Likewise.
622 (threebyte_0x3a_uses_DATA_prefix): Likewise.
623 (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
624 (threebyte_0x3a_uses_REPZ_prefix): Likewise.
625 (grps): Use OPC_EXT_0...OPC_EXT_24.
626 (prefix_user_table): Add PREGRP98...PREGRP100.
627 (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
628 uses_REPNZ_prefix and uses_REPZ_prefix. Initialize
629 repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
630 data_prefix based on prefixes. Call get_valid_dis386 to
631 get a pointer to the valid dis386. Print out prefixes if
633 (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
634 (REP_Fixup): Set repz_prefix to "rep " when seeing
637 2007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
639 * po/nl.po: Updated translation.
641 2007-08-28 H.J. Lu <hongjiu.lu@intel.com>
643 * i386-dis.c (Md): New.
644 (grps): Use 0 on invlpg. Use M on fxsave and fxrstor. Use
645 Md on ldmxcsr and stmxcsr. Use b_mode on clflush.
646 (OP_0fae): Clear bytemode for sfence.
648 2007-08-22 Ben Elliston <bje@au.ibm.com>
650 * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
651 (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
653 (powerpc_opcodes): Add all pair singles instructions.
654 * ppc-dis.c (powerpc_dialect): Handle "ppcps".
655 (print_ppc_disassembler_options): Document -Mppcps.
657 2007-08-21 Andreas Krebbel <krebbel1@de.ibm.com>
659 * s390-mkopc.c (struct s390_cond_ext_format): New global struct.
660 (s390_cond_ext_format): New global variable.
661 (expandConditionalJump): New function.
662 (main): Invoke expandConditionalJump for mnemonics containing '*'.
663 * s390-opc.txt: Replace mnemonics with conditional
664 mask extensions with instructions using the newly introduced '*' tag.
666 2007-08-17 Alan Modra <amodra@bigpond.net.au>
668 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
670 2007-08-10 Nick Clifton <nickc@redhat.com>
672 * po/fi.po: Updated Finnish translation.
673 * po/ga.po: Updated Irish translation.
674 * po/vi.po: Updated Vietnamese translation.
676 2007-08-09 H.J. Lu <hongjiu.lu@intel.com>
678 * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
679 pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
680 * i386-tbl.h: Regenerated.
682 2007-08-03 James E. Wilson <wilson@specifix.com>
684 * ia64-gen.c: (main): Add missing newline to copyright message.
685 * ia64-ic.tbl (fp-non-arith): Add xmpy.
686 * ia64-asmtab.c: Regenerate.
688 2007-08-01 Michael Snyder <msnyder@access-company.com>
690 * i386-dis.c (print_insn): Guard against NULL.
692 2007-07-29 H.J. Lu <hongjiu.lu@intel.com>
695 * i386-dis.c (EXw): New.
696 (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
697 instructions when appropriated.
699 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
702 * i386-dis.c (Eq): New.
703 (EMC): Renamed to ...
704 (EMCq): This. Use q_mode instead of v_mode.
705 (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
708 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
710 * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
711 (prefix_user_table): Likewise. Use EXq instead of EXx on
714 2007-07-27 Nathan Sidwell <nathan@codesourcery.com>
716 * ppc-opc (PPC7450): New.
717 (powerpc_opcodes): Use it in dcba.
719 2007-07-24 H.J. Lu <hongjiu.lu@intel.com>
721 * i386-gen.c (main): Print a newline after copyright notice.
723 2007-07-19 Nick Clifton <nickc@redhat.com>
726 * maxq-dis.c (get_reg_name): Fix the scan of the
727 mem_access_syntax_table.
729 2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
731 * i386-dis.c (EMq): Removed.
733 (prefix_user_table): Replace EMq with EMx.
735 2007-07-16 Nick Clifton <nickc@redhat.com>
737 * po/nl.po: Updated translation.
739 2007-07-12 Nick Clifton <nickc@redhat.com>
741 * po/vi.po: Updated translation.
742 * po/nl.po: Updated translation.
744 2007-07-06 Mark Kettenis <kettenis@gnu.org>
745 H.J. Lu <hongjiu.lu@intel.com>
747 * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
748 (ia64-asmtab.c): Likewise.
749 * Makefile.in: Regenerate.
751 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
753 * aclocal.m4: Regenerated.
755 2007-07-04 Nick Clifton <nickc@redhat.com>
757 * alpha-dis.c: Update copyright notice to refer to GPLv3.
758 * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h,
759 arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c,
760 cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in,
761 cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c,
762 cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c,
763 d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c,
764 dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c,
765 h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c,
766 i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c,
767 ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c,
768 ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c,
769 ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c,
770 m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c,
771 m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c,
772 mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c,
773 mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c,
774 or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c,
775 ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c,
776 score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h,
777 sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c,
778 spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c,
779 tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c,
780 vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c,
781 z8k-dis.c, z8kgen.c: Likewise.
782 * i386-opc.tbl, i386-reg.tbl: Add copyright notice.
783 * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h,
784 fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c,
785 frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c,
786 frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c,
787 ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h,
788 iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c,
789 iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c,
790 m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c,
791 m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
792 m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c,
793 mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c,
794 mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c,
795 mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c,
796 openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c,
797 openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h,
798 xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h,
799 xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h,
800 xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c,
801 xstormy16-opc.h, z8k-opc.h: Regenerated
803 2007-07-04 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
805 * cr16-dis.c (getcinvstring): Add const qualifier to char *
807 (print_insn_cr16): Remove cast to char *.
809 2007-07-03 Nathan Sidwell <nathan@codesourcery.com>
811 * m68k-dis.c (fetch_arg): Add E. Replace length switch with
813 (print_ins_arg): Add j & K operand types.
814 (match_insn_m68k): Check and skip initial '.' arg character.
815 (m68k_scan_mask): Likewise.
816 * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
818 2007-07-02 Alan Modra <amodra@bigpond.net.au>
820 * Makefile.am: Run "make dep-am".
821 * Makefile.in: Regenerate.
822 * aclocal.m4: Regenerate.
823 * config.in: Regenerate.
824 * po/POTFILES.in: Regenerate.
825 * po/opcodes.pot: Regenerate.
827 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
829 * aclocal.m4: Regenerated.
830 * Makefile.in: Likewise.
832 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
834 * i386-reg.tbl: Remove spaces before comments.
836 2007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
838 * cr16-opc.c: New file.
839 * cr16-dis.c: New file.
840 * Makefile.am: Entries for cr16.
841 * Makefile.in: Regenerate.
842 * cofigure.in: Add cr16 target information.
843 * configure : Regenerate.
844 * disassemble.c: Add cr16 target information.
846 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
848 * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
849 (CFILES): Add i386-gen.c.
850 (i386-gen): New rule.
851 (i386-gen.o): Likewise.
852 (i386-tbl.h): Likewise.
854 * Makefile.in: Regenerated.
856 * i386-gen.c: New file.
857 * i386-opc.tbl: Likewise.
858 * i386-reg.tbl: Likewise.
859 * i386-tbl.h: Likewise.
861 * i386-opc.c: Include "i386-tbl.h".
862 (i386_optab): Removed.
863 (i386_regtab): Likewise.
864 (i386_regtab_size): Likewise.
866 2007-06-26 Paul Brook <paul@codesourcery.com>
868 * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
870 2007-06-25 H.J. Lu <hongjiu.lu@intel.com>
872 * i386-opc.h (regKludge): Renamed to ...
875 * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
877 2007-06-23 H.J. Lu <hongjiu.lu@intel.com>
880 * i386-dis.c (EX): Removed.
886 (PREGRP93...PREGRP97): Likewise.
887 (dis386_twobyte): Updated.
888 (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
889 (OP_EX): Remove Intel syntax handling.
891 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
893 * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
895 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
897 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
899 * acinclude.m4: Removed.
901 * Makefile.in: Regenerated.
902 * doc/Makefile.in: Likewise.
903 * aclocal.m4: Likewise.
904 * configure: Likewise.
906 2007-06-05 Paul Brook <paul@codesourcery.com>
908 * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
910 2007-05-24 Steve Ellcey <sje@cup.hp.com>
912 * Makefile.in: Regnerate.
913 * configure: Regenerate.
914 * aclocal.m4: Regenerate.
916 2007-05-18 Alan Modra <amodra@bigpond.net.au>
918 * ppc-dis.c (print_insn_powerpc): Don't skip all operands
919 after setting skip_optional.
921 2007-05-16 Peter Bergner <bergner@vnet.ibm.com>
923 * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
924 (print_insn_powerpc): Use the new operand_value_powerpc and
925 skip_optional_operands functions to omit or print all optional
927 * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
928 (XFL_MASK): Delete L and W bits from the mask.
929 (mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK
930 with XWRA_MASK. Use W.
931 (mtfsf, mtfsf.): Use XFL_L and W.
933 2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
936 * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
938 2007-05-10 H.J. Lu <hongjiu.lu@intel.com>
940 * i386-opc.h (ShortForm): Redefined.
942 (JumpDword): Likewise.
943 (JumpByte): Likewise.
944 (JumpInterSegment): Likewise.
951 (IgnoreSize): Likewise.
952 (DefaultSize): Likewise.
960 (IsString): Likewise.
961 (regKludge): Likewise.
962 (IsPrefix): Likewise.
968 2007-05-07 H.J. Lu <hongjiu.lu@intel.com>
970 * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
971 for some SSE4 instructions.
972 (threebyte_0x3a_uses_DATA_prefix): Likewise.
974 2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
976 * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
978 * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
981 2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
983 * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
984 check data size prefix in 16bit mode.
986 * i386-opc.c (i386_optab): Default crc32 to non-8bit and
989 2007-04-30 Mark Salter <msalter@redhat.com>
991 * frv-desc.c: Regenerate.
992 * frv-desc.h: Regenerate.
994 2007-04-30 Alan Modra <amodra@bigpond.net.au>
997 * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
999 2007-04-27 H.J. Lu <hongjiu.lu@intel.com>
1001 * i386-dis.c (modrm): Put reg before rm.
1003 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1006 * i386-dis.c (print_displacement): New.
1007 (OP_E): Call print_displacement instead of print_operand_value
1008 to output displacement when either base or index exist. Print
1009 the explicit zero displacement in 16bit mode.
1011 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1014 * i386-dis.c (print_insn): Also swap the order of op_riprel
1015 when swapping op_index. Break when the RIP relative address
1017 (OP_E): Properly handle RIP relative addressing and print the
1018 explicit zero displacement for Intel mode.
1020 2007-04-27 Alan Modra <amodra@bigpond.net.au>
1022 * Makefile.am: Run "make dep-am".
1023 * Makefile.in: Regenerate.
1024 * ns32k-dis.c: Include sysdep.h first.
1026 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
1028 * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
1030 * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
1032 2007-04-24 Nick Clifton <nickc@redhat.com>
1034 * arm-dis.c (print_insn): Initialise type.
1036 2007-04-24 Alan Modra <amodra@bigpond.net.au>
1038 * cgen-types.h: Include bfd_stdint.h, not stdint.h.
1039 * Makefile.am: Run "make dep-am".
1040 * Makefile.in: Regenerate.
1042 2007-04-23 Nathan Sidwell <nathan@codesourcery.com>
1044 * m68k-opc.c: Mark mcfisa_c instructions.
1046 2007-04-21 Richard Earnshaw <rearnsha@arm.com>
1048 * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
1049 (thumb_opcodes): Add missing white space in adr.
1050 (arm_decode_shift): New parameter, print_shift. Only decode the
1051 shift parameter if set. Adjust callers.
1052 (print_insn_arm): Support for operand type q with no shift decode.
1054 2007-04-21 Alan Modra <amodra@bigpond.net.au>
1056 * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
1058 (i386_regtab): ..here.
1059 * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
1061 * ppc-opc.c (powerpc_operands): Delete duplicate entries.
1062 (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
1063 (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
1064 (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
1066 2007-04-20 Nathan Sidwell <nathan@codesourcery.com>
1068 * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
1071 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1073 * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
1075 * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
1076 in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove
1077 references to following deleted functions.
1078 (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
1079 (insert_ds, extract_ds, insert_de, extract_de): Delete.
1080 (insert_des, extract_des, insert_li, extract_li): Delete.
1081 (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
1082 (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
1083 (num_powerpc_operands): New constant.
1084 (XSPRG_MASK): Remove entire SPRG field.
1085 (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
1087 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1089 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
1091 (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
1093 2007-04-20 Richard Earnshaw <rearnsha@arm.com>
1095 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
1098 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1100 * Makefile.am: Run "make dep-am".
1101 * Makefile.in: Regenerate.
1102 * po/POTFILES.in: Regenerate.
1104 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1106 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
1107 db10cyc, db12cyc, db16cyc.
1109 2007-04-19 Nathan Froyd <froydnj@codesourcery.com>
1111 * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
1113 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1115 * i386-dis.c (CRC32_Fixup): New.
1116 (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
1118 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
1119 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1120 (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
1121 PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
1122 (three_byte_table): Likewise.
1124 * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
1126 * i386-opc.h (CpuSSE4_2): New.
1127 (CpuSSE4): Likewise.
1128 (CpuUnknownFlags): Add CpuSSE4_2.
1130 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1132 * i386-dis.c (XMM_Fixup): New.
1138 (PREGRP39 ... PREGRP85): New.
1139 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
1140 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1141 (prefix_user_table): Add PREGRP39 ... PREGRP85.
1142 (three_byte_table): Likewise.
1143 (putop): Handle 'K'.
1144 (intel_operand_size): Handle dqb_mode, dqd_mode):
1148 * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
1150 * i386-opc.h (CpuSSE4_1): New.
1151 (CpuUnknownFlags): Add CpuSSE4_1.
1152 (regKludge): Update comment.
1154 2007-04-18 Matthias Klose <doko@ubuntu.com>
1156 * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
1157 * Makefile.in: Regenerate.
1159 2007-04-14 Steve Ellcey <sje@cup.hp.com>
1161 * Makefile.am: Add ACLOCAL_AMFLAGS.
1162 * Makefile.in: Regenerate.
1164 2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
1166 * i386-dis.c: Remove trailing white spaces.
1167 * i386-opc.c: Likewise.
1168 * i386-opc.h: Likewise.
1170 2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
1173 * i386-dis.c (GRP1a): New.
1174 (GRP1b ... GRPPADLCK2): Update index.
1175 (dis386): Use GRP1a for entry 0x8f.
1176 (mod, rm, reg): Removed. Replaced by ...
1180 2007-04-09 Kazu Hirata <kazu@codesourcery.com>
1182 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
1183 info->print_address_func if longjmp is called.
1185 2007-03-29 DJ Delorie <dj@redhat.com>
1187 * m32c-desc.c: Regenerate.
1188 * m32c-dis.c: Regenerate.
1189 * m32c-opc.c: Regenerate.
1191 2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
1193 * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
1194 movq. Remove InvMem from sldt, smsw and str.
1196 * i386-opc.h (InvMem): Renamed to ...
1197 (RegMem): Update comments.
1198 (AnyMem): Remove InvMem.
1200 2007-03-27 Paul Brook <paul@codesourcery.com>
1202 * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
1204 2007-03-24 Paul Brook <paul@codesourcery.com>
1206 * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
1207 (print_insn_coprocessor): Handle %<bitfield>x.
1209 2007-03-24 Paul Brook <paul@codesourcery.com>
1210 Mark Shinwell <shinwell@codesourcery.com>
1212 * arm-dis.c (arm_opcodes): Print SRS base register.
1214 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
1216 * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
1218 * i386-opc.c (i386_optab): Add rex.wrxb.
1220 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1222 * i386-dis.c (REX_MODE64): Remove definition.
1223 (REX_EXTX): Likewise.
1224 (REX_EXTY): Likewise.
1225 (REX_EXTZ): Likewise.
1226 (USED_REX): Use REX_OPCODE instead of 0x40.
1227 Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
1228 REX_R, REX_X and REX_B respectively.
1230 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1233 * i386-dis.c (PREGRP38): New.
1234 (dis386): Use PREGRP38 for 0x90.
1235 (prefix_user_table): Add PREGRP38.
1236 (print_insn): Set uses_REPZ_prefix to 1 for pause.
1237 (NOP_Fixup1): Properly handle REX bits.
1238 (NOP_Fixup2): Likewise.
1240 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
1241 Allow register with nop.
1243 2007-03-20 DJ Delorie <dj@redhat.com>
1245 * m32c-asm.c: Regenerate.
1246 * m32c-desc.c: Regenerate.
1247 * m32c-desc.h: Regenerate.
1248 * m32c-dis.h: Regenerate.
1249 * m32c-ibld.c: Regenerate.
1250 * m32c-opc.c: Regenerate.
1251 * m32c-opc.h: Regenerate.
1253 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1255 * i386-opc.c: Include "libiberty.h".
1256 (i386_regtab): Remove the last entry.
1257 (i386_regtab_size): New.
1258 (i386_float_regtab_size): Likewise.
1260 * i386-opc.h (i386_regtab_size): New.
1261 (i386_float_regtab_size): Likewise.
1263 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1265 * Makefile.am (CFILES): Add i386-opc.c.
1266 (ALL_MACHINES): Add i386-opc.lo.
1268 * Makefile.in: Regenerated.
1270 * configure.in: Add i386-opc.lo for bfd_i386_arch.
1271 * configure: Regenerated.
1273 * i386-dis.c: Include "opcode/i386.h".
1274 (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
1275 (FWAIT_OPCODE): Remove definition.
1276 (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
1277 (MAX_OPERANDS): Remove definition.
1279 * i386-opc.c: New file.
1280 * i386-opc.h: Likewise.
1282 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1284 * Makefile.in: Regenerated.
1286 2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
1288 * i386-dis.c (OP_Rd): Renamed to ...
1293 2007-03-08 Alan Modra <amodra@bigpond.net.au>
1295 * fr30-asm.c: Regenerate.
1296 * frv-asm.c: Regenerate.
1297 * ip2k-asm.c: Regenerate.
1298 * iq2000-asm.c: Regenerate.
1299 * m32c-asm.c: Regenerate.
1300 * m32r-asm.c: Regenerate.
1301 * m32r-dis.c: Regenerate.
1302 * mt-asm.c: Regenerate.
1303 * mt-ibld.c: Regenerate.
1304 * mt-opc.c: Regenerate.
1305 * openrisc-asm.c: Regenerate.
1306 * xc16x-asm.c: Regenerate.
1307 * xstormy16-asm.c: Regenerate.
1309 * Makefile.am: Run "make dep-am".
1310 * Makefile.in: Regenerate.
1311 * po/POTFILES.in: Regenerate.
1313 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
1315 * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
1316 INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
1317 instruction formats added.
1318 (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
1319 MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
1321 * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
1323 * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1324 (main): z9-ec cpu type option added.
1325 * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1327 2007-02-22 DJ Delorie <dj@redhat.com>
1329 * s390-opc.c (INSTR_SS_L2RDRD): New.
1330 (MASK_SS_L2RDRD): New.
1331 * s390-opc.txt (pka): Use it.
1333 2007-02-20 Thiemo Seufer <ths@mips.com>
1334 Chao-Ying Fu <fu@mips.com>
1336 * mips-dis.c (mips_arch_choices): Add DSP R2 support.
1337 (print_insn_args): Add support for balign instruction.
1338 * mips-opc.c (D33): New shortcut for DSP R2 instructions.
1339 (mips_builtin_opcodes): Add DSP R2 instructions.
1341 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1343 * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
1344 (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
1345 * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
1346 cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
1348 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1350 * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
1351 * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
1352 (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
1355 2007-02-16 Nick Clifton <nickc@redhat.com>
1358 * avr-dis.c (comment_start): New variable, contains the prefix to
1359 use when printing addresses in comments.
1360 (print_insn_avr): Set comment_start to an empty space if there is
1361 no symbol table available as the generic address printing code
1362 will prefix the numeric value of the address with 0x.
1364 2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
1366 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
1369 2007-02-05 Dave Brolley <brolley@redhat.com>
1370 Richard Sandiford <rsandifo@redhat.com>
1371 DJ Delorie <dj@redhat.com>
1372 Graydon Hoare <graydon@redhat.com>
1373 Frank Ch. Eigler <fche@redhat.com>
1374 Ben Elliston <bje@redhat.com>
1376 * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
1377 (CFILES): Add mep-*.c
1378 (ALL_MACHINES): Add mep-*.lo.
1379 (CLEANFILES): Add stamp-mep.
1380 (CGEN_CPUS): Add mep.
1381 (MEP_DEPS): New variable.
1382 (mep-*): New targets.
1383 * configure.in: Handle bfd_mep_arch.
1384 * disassemble.c (ARCH_mep): New macro.
1385 (disassembler): Handle bfd_arch_mep.
1386 (disassemble_init_for_target): Likewise.
1387 * mep-*: New files for Toshiba Media Processor (MeP).
1388 * Makefile.in: Regenerated.
1389 * configure: Regenerated.
1391 2007-02-05 H.J. Lu <hongjiu.lu@intel.com>
1393 * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
1394 wrap around within the same segment in 16bit mode.
1396 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1398 * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
1401 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1403 * avr-dis.c (avr_operand): Correct PR number in comment.
1405 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1407 * disassemble.c (disassembler_usage): Call
1408 print_i386_disassembler_options for i386 disassembler.
1410 * i386-dis.c (print_i386_disassembler_options): New.
1411 (print_insn): Support the new addr64 option.
1413 2007-02-02 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
1415 * ppc-dis.c (powerpc_dialect): Handle ppc440.
1416 * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
1419 2007-02-02 Alan Modra <amodra@bigpond.net.au>
1421 * ppc-opc.c (insert_bdm): -Many comment.
1422 (valid_bo): Add "extract" param. Accept both powerpc and power4
1423 BO fields when disassembling with -Many.
1424 (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
1426 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
1428 * m68k-opc.c (m68k_opcodes): Replace cpu32 with
1429 cpu32 | fido_a except on tbl instructions.
1431 2007-01-04 Paul Brook <paul@codesourcery.com>
1433 * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
1435 2007-01-04 Andreas Schwab <schwab@suse.de>
1437 * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
1439 2007-01-04 Julian Brown <julian@codesourcery.com>
1441 * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
1442 vqrshl instructions.
1444 For older changes see ChangeLog-2006
1450 version-control: never