1 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
3 * i386-dis.c (dis386_twobyte): Add getsec.
5 * i386-gen.c (cpu_flags): Add CpuSMX.
7 * i386-opc.h (CpuSMX): New.
9 (i386_cpu_flags): Add cpusmx.
11 * i386-opc.tbl: Add getsec.
12 * i386-init.h: Regenerated.
13 * i386-tbl.h: Likewise.
15 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
17 * i386-dis.c (reg_table): Use "{ XX }" on "(bad)".
18 (prefix_table): Likewise.
20 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
22 * i386-dis.c (dis386_twobyte): Use EXx instead of EXq on
23 unpckhpX and unpckhpX.
25 2007-10-04 David Daney <ddaney@avtrex.com>
27 * mips-opc.c (mips_builtin_opcodes): Mark lwxc1 as working on FP_S
30 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
32 * i386-dis.c (MOD_0F12_PREFIX_0): Use "movlps" and "movhlps"
33 instead of "movlpX" and "movhlpX", respectively.
34 (MOD_0F16_PREFIX_0): Use "movhps" and "movlhps" instead of
35 "movhpX" and "movlhpX", respectively.
37 2007-10-04 Nick Clifton <nickc@redhat.com>
39 * configure.in (WIN32LDFLAGS): Rename to SHARED_LDFLAGS.
40 (WIN32LIBADD): Rename to SHARED_LIBADD
41 (SHARED_DEPENDENCIES): New exported variable.
42 (enable_shared): Add dependency upon libbfd.la for non-cygwin
43 based shared library builds.
44 * Makefile.am (libopcodes_la_DEPENDENCIES): Append
46 (libopcodes_la_LIBADD): Rename WIN32LIBADD to SHARED_LIBADD.
47 (libopcodes_la_LDFLAGS): Rename WIN32LDFLAGS to SHARED_LDFLAGS.
48 * configure: Regenerate.
49 * Makefile.in: Regenerate.
52 * arc-opc.c (insert_offset): Fix spelling mistake in error
55 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
57 * i386-dis.c (OP_REG): Set add to 0 only when needed.
66 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
68 * i386-opc.tbl: Update SSE comments.
70 2007-10-01 H.J. Lu <hongjiu.lu@intel.com>
72 * i386-dis.c (THREE_BYTE_0FBA): Renamed to ...
73 (THREE_BYTE_0F7B): This.
74 (dis386_twobyte): Updated.
75 (three_byte_table): Updated comments.
77 2007-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
79 * cr16-opc.c: Updated the branch on condition instructions with
82 2007-09-30 H.J. Lu <hongjiu.lu@intel.com>
84 * 386-dis.c (prefix_table): Reformat comment.
86 2007-09-29 H.J. Lu <hongjiu.lu@intel.com>
88 * 386-dis.c (USE_GROUPS): Renamed to ...
89 (USE_REG_TABLE): This.
90 (USE_OPC_EXT_TABLE): Renamed to ...
91 (USE_MOD_TABLE): This.
92 (USE_OPC_EXT_RM_TABLE): Renamed to ...
94 (USE_XXX_TABLE): Reordered.
97 (OPC_EXT_TABLE): Renamed to ...
99 (OPC_EXT_RM_TABLE): Renamed to ...
101 (GRP_XXX): Renamed to ...
103 (PREGRP_XXX): Renamed to ...
105 (OPC_EXT_XXX): Renamed to ...
107 (OPC_EXT_RM_XXX): Renamed to ...
109 (grps): Renamed to ...
111 (prefix_user_table): Renamed to ...
113 (opc_ext_table): Renamed to ...
115 (opc_ext_rm_table): Renamed to ...
117 (OPC_EXT_RM_XXX): Likewise.
119 (dis386_twobyte): Likewise.
120 (reg_table): Likewise.
121 (prefix_table): Likewise.
122 (x86_64_table): Likewise.
123 (three_byte_table): Likewise.
124 (mod_table): Likewise.
125 (rm_table): Likewise.
126 (get_valid_dis386): Likewise.
128 2007-09-28 H.J. Lu <hongjiu.lu@intel.com>
130 * 386-dis.c (USE_PREFIX_USER_TABLE): Renamed to ...
131 (USE_PREFIX_TABLE): This.
132 (X86_64_SPECIAL): Renamed to ...
133 (USE_X86_64_TABLE): This.
134 (IS_3BYTE_OPCODE): Renamed to ...
135 (USE_3BYTE_TABLE): This.
137 (PREGRPXXX): Likewise.
138 (X86_64_XXX): Likewise.
139 (THREE_BYTE_XXX): Likewise.
140 (OPC_EXT_XXX): Likewise.
141 (OPC_EXT_RM_XXX): Likewise.
145 (X86_64_TABLE): Likewise.
146 (THREE_BYTE_TABLE): Likewise.
147 (OPC_EXT_TABLE): Likewise.
148 (OPC_EXT_RM_TABLE): Likewise.
150 (PREGRP_XXX): Likewise.
151 (X86_64_XXX): Likewise.
152 (THREE_BYTE_XXX): Likewise.
153 (OPC_EXT_XXX): Likewise.
154 (OPC_EXT_RM_XXX): Likewise.
156 (dis386_twobyte): Likewise.
158 (prefix_user_table): Likewise.
159 (x86_64_table): Likewise.
160 (three_byte_table): Likewise.
161 (opc_ext_table): Likewise.
162 (opc_ext_rm_table): Likewise.
163 (get_valid_dis386): Likewise.
165 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
167 * i386-dis.c (dis386): Swap X86_64_27 with OPC_EXT_2.
168 (x86_64_table): Likewise.
169 (opc_ext_table): Likewise.
171 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
174 * i386-dis.c: Update comments on '{', '}' and '|' to support
175 only AT&T and Intel modes.
176 (X86_64_4...X86_64_27): New.
177 (dis386): Updated. Use X86_64_4...X86_64_21.
178 (dis386_twobyte): Updated.
179 (float_mem): Likewise.
180 (x86_64_table): Add X86_64_4...X86_64_27.
181 (opc_ext_table): Updated. Use X86_64_22...X86_64_27.
182 (putop): Updated handling of '{', '}' and '|' to support only
183 AT&T and Intel modes.
185 2007-09-27 Kazu Hirata <kazu@codesourcery.com>
187 * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb.
189 2007-09-26 James E. Wilson <wilson@specifix.com>
191 * ia64-gen.c (print_dependency_table): Fix typo in last patch.
193 2007-09-26 Nick Clifton <nickc@redhat.com>
195 * mt-asm.c (parse_imm16): Reword error message in order to allow
196 it to be translated properly.
197 * ia64-gen.c (print_dependency_table): Likewise.
198 * mips-dis.c (print_insn_args): Likewise.
200 2007-09-26 Jan Beulich <jbeulich@novell.com>
202 * i386-dis.c (OP_E_extended): Distinguish rip- and eip-
203 relative addressing. Update used_prefixes based on whether any
204 base or index register was printed.
206 2007-09-26 Jan Beulich <jbeulich@novell.com>
208 * i386-opc.h (RegEip): Define.
210 * i386-reg.tbl: Add eip. Mark rip and eip with RegRex64.
211 * i386-tbl.h: Re-generate.
213 2007-09-25 H.J. Lu <hongjiu.lu@intel.com>
215 * i386-gen.c (process_i386_opcodes): Process opcode_length.
217 * i386-opc.h (template): Add opcode_length.
218 * 386-opc.tbl: Likewise.
219 * i386-tbl.h: Regenerated.
221 2007-09-21 H.J. Lu <hongjiu.lu@intel.com>
223 * i386-opc.h: Adjust whitespaces.
225 2007-09-21 Dave Brolley <brolley@redhat.com>
227 * mep-desc.c: Regenerated.
229 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
231 * i386-dis.c (OP_E_extended): Display eiz for [eiz*1 + offset].
233 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
236 * 386-dis.c (index64): New.
238 (intel_index64): Likewise.
239 (intel_index32): Likewise.
240 (att_index64): Likewise.
241 (att_index32): Likewise.
242 (print_insn): Set index64 and index32.
243 (OP_E_extended): Use index64/index32 for index register for
246 * i386-opc.h (RegEiz): New.
249 * i386-reg.tbl: Add eiz and riz.
250 * i386-tbl.h: Regenerated.
252 2007-09-19 H.J. Lu <hongjiu.lu@intel.com>
254 * i386-dis.c (OP_E_extended): Always display scale for memory.
256 2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
258 * i386-opc.h (RegRip): New.
260 * i386-reg.tbl (rip): Use RegRip for reg_num.
261 * i386-tbl.h: Regenerated.
263 2007-09-17 Nick Clifton <nickc@redhat.com>
265 * po/es.po: Updated Spanish translation.
267 2007-09-14 H.J. Lu <hongjiu.lu@intel.com>
269 * Makefile.am: Run "make dep-am".
270 * Makefile.in: Regenerate.
272 2007-09-14 Michael Meissner <michael.meissner@amd.com>
273 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
274 Tony Linthicum <tony.linthicum@amd.com>
276 * i386-opc.h (CpuSSE5): New macro.
277 (i386_cpu_flags): Add Drex, Drexv and Drexc.
279 * i386-gen.c (cpu_flag_init): Add CPU_SSE5_FLAGS.
280 (operand_type_init): Add CpuSSE5.
281 (opcode_modifiers): Add Drex, Drexv and Drexc.
282 (i386_opcode_modifier): Ditto.
284 * i386-opc.tbl (fmaddps,fmaddpd,fmaddss,fmaddsd): Define SSE5
286 (fmsubps,fmsubpd,fmsubss,fmsubsd): Ditto.
287 (fnmaddps,fnmaddpd,fnmaddss,fnmaddsd): Ditto.
288 (fnmsubps,fnmsubpd,fnmsubss,fnmsubsd): Ditto.
289 (pmacssww,pmacsww,pmacsswd,pmacswd): Ditto.
290 (pmacssdd,pmacsdd,pmacssdql,pmacssdqh): Ditto.
291 (pmacsdql,pmacsdqh,pmadcsswd,pmadcswd): Ditto.
292 (phaddbw,phaddbd,phaddbq,phaddwd): Ditto.
293 (phaddwq,phadddq,phaddubw,phaddubd): Ditto.
294 (phaddubq,phadduwd,phadduwq,phaddudq): Ditto.
295 (phsubbw,phsubwd,phsubdq): Ditto.
296 (pcmov,pperm,permps,permpd): Ditto.
297 (protb,protw,protd,protq): Ditto.
298 (pshlb,pshlw,pshld,pshlq): Ditto.
299 (pshab,pshaw,pshad,pshaq): Ditto.
300 (comps,comeqps,comltps,comungeps,comleps,comungtps): Ditto.
301 (comunordps,comneps,comneqps,comnltps,comugeps): Ditto.
302 (comnleps,comugtps,comordps,comueqps,comultps): Ditto.
303 (comngeps,comuleps,comngtps,comfalseps,comuneps): Ditto.
304 (comuneqps,comunltps,comgeps,comunleps,comgtps,comtrueps): Ditto.
305 (compd,comeqpd,comltpd,comungepd,comlepd,comungtpd,comunordpd): Ditto.
306 (comnepd,comneqpd,comnltpd,comugepd,comnlepd,comugtpd): Ditto.
307 (comordpd,comueqpd,comultpd,comngepd,comulepd,comngtpd): Ditto.
308 (comfalsepd,comunepd,comuneqpd,comunltpd,comgepd): Ditto.
309 (comunlepd,comgtpd,comtruepd): Ditto.
310 (comss,comeqss,comltss,comungess,comless,comungtss,comunordss): Ditto.
311 (comness,comneqss,comnltss,comugess,comnless,comugtss): Ditto.
312 (comordss,comueqss,comultss,comngess,comuless,comngtss): Ditto.
313 (comfalsess,comuness,comuneqss,comunltss,comgess): Ditto.
314 (comunless,comgtss,comtruess): Ditto.
315 (comsd,comeqsd,comltsd,comungesd,comlesd,comungtsd,comunordsd): Ditto.
316 (comnesd,comneqsd,comnltsd,comugesd,comnlesd,comugtsd): Ditto.
317 (comordsd,comueqsd,comultsd,comngesd,comulesd,comngtsd): Ditto.
318 (comfalsesd,comunesd,comuneqsd,comunltsd,comgesd): Ditto.
319 (comunlesd,comgtsd,comtruesd): Ditto.
320 (pcomub,pcomltub,pcomleub,pcomgtub,pcomgeub,pcomequb): Ditto.
321 (pcomnequb,pcomneub): Ditto.
322 (pcomuw,pcomltuw,pcomleuw,pcomgtuw,pcomgeuw,pcomequw): Ditto.
323 (pcomnequw,pcomneuw): Ditto.
324 (pcomud,pcomltud,pcomleud,pcomgtud,pcomgeud,pcomequd): Ditto.
325 (pcomnequd,pcomneud): Ditto.
326 (pcomuq,pcomltuq,pcomleuq,pcomgtuq,pcomgeuq,pcomequq): Ditto.
327 (pcomnequq,pcomneuq): Ditto.
328 (pcomb,pcomltb,pcomleb,pcomgtb,pcomgeb,pcomeqb): Ditto.
329 (pcomneqb,pcomneb): Ditto.
330 (pcomw,pcomltw,pcomlew,pcomgtw,pcomgew,pcomeqw): Ditto.
331 (pcomneqw,pcomnew): Ditto.
332 (pcomd,pcomltd,pcomled,pcomgtd,pcomged,pcomeqd): Ditto.
333 (pcomneqd,pcomned): Ditto.
334 (pcomq,pcomltq,pcomleq,pcomgtq,pcomgeq): Ditto.
335 (pcomeqq,pcomneqq,pcomneq): Ditto.
336 (pcomtrueb, pcomtruew, pcomtrued, pcomtrueq): Ditto.
337 (pcomtrueub, pcomtrueuw, pcomtrueud, pcomtrueuq): Ditto.
338 (pcomfalseb, pcomfalsew, pcomfalsed, pcomfalseq): Ditto.
339 (pcomfalseub, pcomfalseuw, pcomfalseud, pcomfalseuq): Ditto.
340 (frczps,frczpd,frczss,frczsd): Ditto.
341 (cvtph2ps,cvtps2ph): Ditto.
343 * i386-tbl.h: Regenerate from i386-opc.tbl.
344 * i386-init.h: Likewise.
346 * i386-dis.c (libiberty.h): Include to get ARRAY_SIZE.
347 (dis386_move_test): New disassembly support for move from test
348 register instruction that overlaps with SSE5 instructions.
349 (print_insn): Add support for special casing the i386/i486 move
350 from test register instruction that overlaps with the SSE5
351 0x0f24 4 operand instructions.
352 (OP_DREX_ICMP): New macros for SSE5 DREX handling.
353 (OP_DREX_FCMP): Ditto.
354 (OP_E_extended): Rename from OP_E, add additional argument to skip
356 (OP_E): Call OP_E_extended.
357 (DREX_REG_MEMORY): New macros for drex handling.
358 (DREX_REG_UNKNOWN): Ditto.
360 (DREX4_NO_OC0): Ditto.
362 (three_byte_table): Add SSE5 instructions.
363 (print_drex_arg): New function to print a DREX register or memory
365 (OP_DREX4): New function for handling DREX 4 argument ops.
366 (OP_DREX3): New function for handling DREX 3 argument ops.
367 (twobyte_has_modrm): 0f{25,7a,7b} all use the modrm byte.
368 (THREE_BYTE_SSE5_0F{24,25,7A,7B}): New macros for initializing 3
369 byte opcode support for SSE5 instructions.
370 (dis386_twobyte): Add SSE5 24/25/7a/7b support.
371 (three_byte_table): Add rows for describing SSE5 instructions.
373 2007-09-13 H.J. Lu <hongjiu.lu@intel.com>
375 * i386-dis.c (get_valid_dis386): Take a pointer to
376 disassemble_info. Handle IS_3BYTE_OPCODE.
377 (print_insn): Updated. Don't handle IS_3BYTE_OPCODE here.
379 2007-09-12 H.J. Lu <hongjiu.lu@intel.com>
381 * i386-opc.h (CpuUnused): Defined with CpuMax.
382 (OTUnused): Defined with OTMax.
384 2007-09-12 Jan Beulich <jbeulich@novell.com>
386 * i386-opc.tbl: Add two-operand forms of blendvps, blendvpd, and
388 * i386-tbl.h: Regenerate.
390 2007-09-09 H.J. Lu <hongjiu.lu@intel.com>
392 * i386-gen.c (main): Remove the local variable, unused.
394 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
396 * Makefile.am: Run "make dep-am".
397 * Makefile.in: Regenerate.
399 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
401 * configure.in (AC_CHECK_HEADERS): Add limits.h.
402 * configure: Regenerated.
403 * config.in: Likewise.
405 * i386-gen.c: Include "sysdep.h" instead of <stdlib.h> and
406 <string.h>. Use xstrerror instead of strerror.
408 (cpu_flag_init): Likewise.
409 (bitfield): Likewise.
411 (cpu_flags): Likewise.
412 (opcode_modifiers): Likewise.
413 (operand_types): Likewise.
415 (set_cpu_flags): Likewise.
416 (output_cpu_flags): Likewise.
417 (process_i386_cpu_flags): Likewise.
418 (output_opcode_modifier): Likewise.
419 (process_i386_opcode_modifier): Likewise.
420 (output_operand_type): Likewise.
421 (process_i386_operand_type): Likewise.
422 (set_bitfield): Likewise.
423 (operand_type_init): Likewise.
424 (process_i386_initializers): Likewise.
425 (process_i386_opcodes): Call process_i386_opcode_modifier to
426 process opcode_modifier. Call process_i386_operand_type to
427 process operand_types.
428 (process_i386_registers): Call process_i386_operand_type to
430 (main): Check unused bits in i386_cpu_flags and i386_operand_type.
431 Sort cpu_flags, opcode_modifiers and operand_types. Call
432 process_i386_initializers.
435 * i386-tbl.h: Regenerated.
437 * i386-opc.h: Include <limits.h>.
438 (CHAR_BIT): Define as 8 if not defined.
439 (Cpu186): Changed to position of bitfiled.
452 (Cpu3dnow): Likewise.
453 (Cpu3dnowA): Likewise.
455 (CpuPadLock): Likewise.
458 (CpuSSSE3): Likewise.
459 (CpuSSE4a): Likewise.
461 (CpuSSE4_1): Likewise.
462 (CpuSSE4_2): Likewise.
468 (ShortForm): Likewise.
470 (JumpDword): Likewise.
471 (JumpByte): Likewise.
472 (JumpInterSegment): Likewise.
479 (IgnoreSize): Likewise.
480 (DefaultSize): Likewise.
488 (IsString): Likewise.
489 (RegKludge): Likewise.
490 (IsPrefix): Likewise.
499 (FloatReg): Likewise.
509 (BaseIndex): Likewise.
515 (InOutPortReg): Likewise.
516 (ShiftCount): Likewise.
523 (FloatAcc): Likewise.
524 (JumpAbsolute): Likewise.
528 (Reg): Commented out.
530 (ImplicitRegister): Likewise.
535 (LLongMem): Likewise.
537 (ShortMem): Likewise.
542 (CpuNumOfUints): Likewise.
543 (CpuNumOfBits): Likewise.
544 (CpuUnused): Likewise.
545 (OTNumOfUints): Likewise.
546 (OTNumOfBits): Likewise.
547 (OTUnused): Likewise.
548 (i386_cpu_flags): New type.
549 (i386_operand_type): Likewise.
550 (i386_opcode_modifier): Likewise.
551 (CpuSledgehammer): Removed.
553 (CpuUnknownFlags): Likewise.
556 (ImplicitRegister): Likewise.
561 (LLongMem): Likewise.
563 (ShortMem): Likewise.
566 (template): Use i386_cpu_flags for cpu_flags, use
567 i386_opcode_modifier for opcode_modifier, use
568 i386_operand_type for operand_types.
569 (reg_entry): Use i386_operand_type for reg_type.
571 * Makefile.am (HFILES): Add i386-init.h.
572 ($(srcdir)/i386-init.h): New rule.
573 ($(srcdir)/i386-tbl.h): Depend on $(srcdir)/i386-init.h
575 * Makefile.in: Regenerated.
577 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
579 * i386-gen.c (next_field): Updated to take a separator.
580 (process_i386_opcodes): Updated.
581 (process_i386_registers): Likewise.
583 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
585 * i386-gen.c (table): Moved ...
586 (main): Here. Call process_copyright to output copyright.
587 (process_copyright): New.
588 (process_i386_opcodes): Take FILE *table.
589 (process_i386_registers): Likewise.
591 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
593 * i386-gen.c (table): New.
594 (process_i386_opcodes): Report errno when faied to open
595 i386-opc.tbl. Output opcodes to table. Close i386-opc.tbl
597 (process_i386_registers): Report errno when faied to open
598 i386-reg.tbl. Output opcodes to table. Close i386-reg.tbl
600 (main): Open i386-tbl.h for output.
602 * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@".
603 * Makefile.in: Regenerated.
605 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
607 * i386-opc.tbl: Correct SVME instructions to allow 32bit register
608 operand in 64bit mode.
609 * i386-tbl.h: Regenerated.
611 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
613 * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
614 (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
615 (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
617 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
619 * i386-dis.c (SVME_Fixup): Removed.
621 (OPC_EXT_RM_6): Likewise.
622 (grps): Use OPC_EXT_39.
623 (opc_ext_table): Add OPC_EXT_39.
624 (opc_ext_rm_table): Add OPC_EXT_RM_6.
626 * i386-opc.tbl: Correct SVME instructions to take register
628 * i386-tbl.h: Regenerated.
630 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
632 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
633 * Makefile.in: Regenerated.
635 * configure.in (AC_GNU_SOURCE): Added.
636 (AC_PROG_CC): Moved before AC_GNU_SOURCE.
637 (AC_CHECK_DECLS): Add stpcpy.
638 * configure: Regenerated.
639 * config.in: Likewise.
641 * i386-dis.c: Include "sysdep.h" before "dis-asm.h".
643 * sysdep.h (stpcpy): New.
645 2007-08-30 H.J. Lu <hongjiu.lu@intel.com>
647 * i386-dis.c (INVLPG_Fixup): Removed.
649 (OPC_EXT_RM_5): Likewise.
650 (grps): Use OPC_EXT_38.
651 (opc_ext_table): Add OPC_EXT_38.
652 (opc_ext_rm_table): Add OPC_EXT_RM_5.
654 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
656 * i386-dis.c (SIMD_Fixup): Removed.
657 (OPC_EXT_34...OPC_EXT_37): New.
658 (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
659 (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
660 (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
662 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
664 * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
665 (dis386): Use OPC_EXT_0...OPC_EXT_2.
666 (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
667 (grps): Updated to use OPC_EXT_6...OPC_EXT_31.
668 (prefix_user_table): Use OPC_EXT_32.
669 (x86_64_table): Use OPC_EXT_33.
670 (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
672 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
674 * i386-dis.c (prefix_user_table): Fix comment.
676 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
678 * i386-dis.c (OP_Skip_MODRM): New.
679 (OP_Monitor): Likewise.
680 (OP_Mwait): Likewise.
682 (Skip_MODRM): Likewise.
683 (USE_OPC_EXT_TABLE): Likewise.
684 (USE_OPC_EXT_RM_TABLE): Likewise.
685 (PREGRP98...PREGRP100): Likewise.
686 (OPC_EXT_0...OPC_EXT_24): Likewise.
687 (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
688 (lock_prefix): Likewise.
689 (data_prefix): Likewise.
690 (addr_prefix): Likewise.
691 (repz_prefix): Likewise.
692 (repnz_prefix): Likewise.
693 (opc_ext_table): Likewise.
694 (opc_ext_rm_table): Likewise.
695 (get_valid_dis386): Likewise.
698 (PNI_Fixup): Likewise.
699 (VMX_Fixup): Likewise.
701 (twobyte_uses_DATA_prefix): Likewise.
702 (twobyte_uses_REPNZ_prefix): Likewise.
703 (twobyte_uses_REPZ_prefix): Likewise.
704 (threebyte_0x38_uses_DATA_prefix): Likewise.
705 (threebyte_0x38_uses_REPNZ_prefix): Likewise.
706 (threebyte_0x38_uses_REPZ_prefix): Likewise.
707 (threebyte_0x3a_uses_DATA_prefix): Likewise.
708 (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
709 (threebyte_0x3a_uses_REPZ_prefix): Likewise.
710 (grps): Use OPC_EXT_0...OPC_EXT_24.
711 (prefix_user_table): Add PREGRP98...PREGRP100.
712 (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
713 uses_REPNZ_prefix and uses_REPZ_prefix. Initialize
714 repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
715 data_prefix based on prefixes. Call get_valid_dis386 to
716 get a pointer to the valid dis386. Print out prefixes if
718 (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
719 (REP_Fixup): Set repz_prefix to "rep " when seeing
722 2007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
724 * po/nl.po: Updated translation.
726 2007-08-28 H.J. Lu <hongjiu.lu@intel.com>
728 * i386-dis.c (Md): New.
729 (grps): Use 0 on invlpg. Use M on fxsave and fxrstor. Use
730 Md on ldmxcsr and stmxcsr. Use b_mode on clflush.
731 (OP_0fae): Clear bytemode for sfence.
733 2007-08-22 Ben Elliston <bje@au.ibm.com>
735 * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
736 (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
738 (powerpc_opcodes): Add all pair singles instructions.
739 * ppc-dis.c (powerpc_dialect): Handle "ppcps".
740 (print_ppc_disassembler_options): Document -Mppcps.
742 2007-08-21 Andreas Krebbel <krebbel1@de.ibm.com>
744 * s390-mkopc.c (struct s390_cond_ext_format): New global struct.
745 (s390_cond_ext_format): New global variable.
746 (expandConditionalJump): New function.
747 (main): Invoke expandConditionalJump for mnemonics containing '*'.
748 * s390-opc.txt: Replace mnemonics with conditional
749 mask extensions with instructions using the newly introduced '*' tag.
751 2007-08-17 Alan Modra <amodra@bigpond.net.au>
753 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
755 2007-08-10 Nick Clifton <nickc@redhat.com>
757 * po/fi.po: Updated Finnish translation.
758 * po/ga.po: Updated Irish translation.
759 * po/vi.po: Updated Vietnamese translation.
761 2007-08-09 H.J. Lu <hongjiu.lu@intel.com>
763 * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
764 pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
765 * i386-tbl.h: Regenerated.
767 2007-08-03 James E. Wilson <wilson@specifix.com>
769 * ia64-gen.c: (main): Add missing newline to copyright message.
770 * ia64-ic.tbl (fp-non-arith): Add xmpy.
771 * ia64-asmtab.c: Regenerate.
773 2007-08-01 Michael Snyder <msnyder@access-company.com>
775 * i386-dis.c (print_insn): Guard against NULL.
777 2007-07-29 H.J. Lu <hongjiu.lu@intel.com>
780 * i386-dis.c (EXw): New.
781 (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
782 instructions when appropriated.
784 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
787 * i386-dis.c (Eq): New.
788 (EMC): Renamed to ...
789 (EMCq): This. Use q_mode instead of v_mode.
790 (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
793 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
795 * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
796 (prefix_user_table): Likewise. Use EXq instead of EXx on
799 2007-07-27 Nathan Sidwell <nathan@codesourcery.com>
801 * ppc-opc (PPC7450): New.
802 (powerpc_opcodes): Use it in dcba.
804 2007-07-24 H.J. Lu <hongjiu.lu@intel.com>
806 * i386-gen.c (main): Print a newline after copyright notice.
808 2007-07-19 Nick Clifton <nickc@redhat.com>
811 * maxq-dis.c (get_reg_name): Fix the scan of the
812 mem_access_syntax_table.
814 2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
816 * i386-dis.c (EMq): Removed.
818 (prefix_user_table): Replace EMq with EMx.
820 2007-07-16 Nick Clifton <nickc@redhat.com>
822 * po/nl.po: Updated translation.
824 2007-07-12 Nick Clifton <nickc@redhat.com>
826 * po/vi.po: Updated translation.
827 * po/nl.po: Updated translation.
829 2007-07-06 Mark Kettenis <kettenis@gnu.org>
830 H.J. Lu <hongjiu.lu@intel.com>
832 * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
833 (ia64-asmtab.c): Likewise.
834 * Makefile.in: Regenerate.
836 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
838 * aclocal.m4: Regenerated.
840 2007-07-04 Nick Clifton <nickc@redhat.com>
842 * alpha-dis.c: Update copyright notice to refer to GPLv3.
843 * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h,
844 arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c,
845 cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in,
846 cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c,
847 cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c,
848 d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c,
849 dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c,
850 h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c,
851 i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c,
852 ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c,
853 ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c,
854 ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c,
855 m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c,
856 m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c,
857 mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c,
858 mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c,
859 or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c,
860 ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c,
861 score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h,
862 sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c,
863 spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c,
864 tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c,
865 vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c,
866 z8k-dis.c, z8kgen.c: Likewise.
867 * i386-opc.tbl, i386-reg.tbl: Add copyright notice.
868 * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h,
869 fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c,
870 frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c,
871 frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c,
872 ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h,
873 iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c,
874 iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c,
875 m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c,
876 m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
877 m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c,
878 mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c,
879 mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c,
880 mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c,
881 openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c,
882 openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h,
883 xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h,
884 xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h,
885 xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c,
886 xstormy16-opc.h, z8k-opc.h: Regenerated
888 2007-07-04 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
890 * cr16-dis.c (getcinvstring): Add const qualifier to char *
892 (print_insn_cr16): Remove cast to char *.
894 2007-07-03 Nathan Sidwell <nathan@codesourcery.com>
896 * m68k-dis.c (fetch_arg): Add E. Replace length switch with
898 (print_ins_arg): Add j & K operand types.
899 (match_insn_m68k): Check and skip initial '.' arg character.
900 (m68k_scan_mask): Likewise.
901 * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
903 2007-07-02 Alan Modra <amodra@bigpond.net.au>
905 * Makefile.am: Run "make dep-am".
906 * Makefile.in: Regenerate.
907 * aclocal.m4: Regenerate.
908 * config.in: Regenerate.
909 * po/POTFILES.in: Regenerate.
910 * po/opcodes.pot: Regenerate.
912 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
914 * aclocal.m4: Regenerated.
915 * Makefile.in: Likewise.
917 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
919 * i386-reg.tbl: Remove spaces before comments.
921 2007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
923 * cr16-opc.c: New file.
924 * cr16-dis.c: New file.
925 * Makefile.am: Entries for cr16.
926 * Makefile.in: Regenerate.
927 * cofigure.in: Add cr16 target information.
928 * configure : Regenerate.
929 * disassemble.c: Add cr16 target information.
931 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
933 * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
934 (CFILES): Add i386-gen.c.
935 (i386-gen): New rule.
936 (i386-gen.o): Likewise.
937 (i386-tbl.h): Likewise.
939 * Makefile.in: Regenerated.
941 * i386-gen.c: New file.
942 * i386-opc.tbl: Likewise.
943 * i386-reg.tbl: Likewise.
944 * i386-tbl.h: Likewise.
946 * i386-opc.c: Include "i386-tbl.h".
947 (i386_optab): Removed.
948 (i386_regtab): Likewise.
949 (i386_regtab_size): Likewise.
951 2007-06-26 Paul Brook <paul@codesourcery.com>
953 * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
955 2007-06-25 H.J. Lu <hongjiu.lu@intel.com>
957 * i386-opc.h (regKludge): Renamed to ...
960 * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
962 2007-06-23 H.J. Lu <hongjiu.lu@intel.com>
965 * i386-dis.c (EX): Removed.
971 (PREGRP93...PREGRP97): Likewise.
972 (dis386_twobyte): Updated.
973 (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
974 (OP_EX): Remove Intel syntax handling.
976 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
978 * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
980 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
982 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
984 * acinclude.m4: Removed.
986 * Makefile.in: Regenerated.
987 * doc/Makefile.in: Likewise.
988 * aclocal.m4: Likewise.
989 * configure: Likewise.
991 2007-06-05 Paul Brook <paul@codesourcery.com>
993 * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
995 2007-05-24 Steve Ellcey <sje@cup.hp.com>
997 * Makefile.in: Regnerate.
998 * configure: Regenerate.
999 * aclocal.m4: Regenerate.
1001 2007-05-18 Alan Modra <amodra@bigpond.net.au>
1003 * ppc-dis.c (print_insn_powerpc): Don't skip all operands
1004 after setting skip_optional.
1006 2007-05-16 Peter Bergner <bergner@vnet.ibm.com>
1008 * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
1009 (print_insn_powerpc): Use the new operand_value_powerpc and
1010 skip_optional_operands functions to omit or print all optional
1011 operands as a group.
1012 * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
1013 (XFL_MASK): Delete L and W bits from the mask.
1014 (mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK
1015 with XWRA_MASK. Use W.
1016 (mtfsf, mtfsf.): Use XFL_L and W.
1018 2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
1021 * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
1023 2007-05-10 H.J. Lu <hongjiu.lu@intel.com>
1025 * i386-opc.h (ShortForm): Redefined.
1027 (JumpDword): Likewise.
1028 (JumpByte): Likewise.
1029 (JumpInterSegment): Likewise.
1030 (FloatMF): Likewise.
1036 (IgnoreSize): Likewise.
1037 (DefaultSize): Likewise.
1038 (No_bSuf): Likewise.
1039 (No_wSuf): Likewise.
1040 (No_lSuf): Likewise.
1041 (No_sSuf): Likewise.
1042 (No_qSuf): Likewise.
1043 (No_xSuf): Likewise.
1045 (IsString): Likewise.
1046 (regKludge): Likewise.
1047 (IsPrefix): Likewise.
1049 (NoRex64): Likewise.
1053 2007-05-07 H.J. Lu <hongjiu.lu@intel.com>
1055 * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
1056 for some SSE4 instructions.
1057 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1059 2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
1061 * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
1063 * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
1066 2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
1068 * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
1069 check data size prefix in 16bit mode.
1071 * i386-opc.c (i386_optab): Default crc32 to non-8bit and
1074 2007-04-30 Mark Salter <msalter@redhat.com>
1076 * frv-desc.c: Regenerate.
1077 * frv-desc.h: Regenerate.
1079 2007-04-30 Alan Modra <amodra@bigpond.net.au>
1082 * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
1084 2007-04-27 H.J. Lu <hongjiu.lu@intel.com>
1086 * i386-dis.c (modrm): Put reg before rm.
1088 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1091 * i386-dis.c (print_displacement): New.
1092 (OP_E): Call print_displacement instead of print_operand_value
1093 to output displacement when either base or index exist. Print
1094 the explicit zero displacement in 16bit mode.
1096 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1099 * i386-dis.c (print_insn): Also swap the order of op_riprel
1100 when swapping op_index. Break when the RIP relative address
1102 (OP_E): Properly handle RIP relative addressing and print the
1103 explicit zero displacement for Intel mode.
1105 2007-04-27 Alan Modra <amodra@bigpond.net.au>
1107 * Makefile.am: Run "make dep-am".
1108 * Makefile.in: Regenerate.
1109 * ns32k-dis.c: Include sysdep.h first.
1111 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
1113 * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
1115 * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
1117 2007-04-24 Nick Clifton <nickc@redhat.com>
1119 * arm-dis.c (print_insn): Initialise type.
1121 2007-04-24 Alan Modra <amodra@bigpond.net.au>
1123 * cgen-types.h: Include bfd_stdint.h, not stdint.h.
1124 * Makefile.am: Run "make dep-am".
1125 * Makefile.in: Regenerate.
1127 2007-04-23 Nathan Sidwell <nathan@codesourcery.com>
1129 * m68k-opc.c: Mark mcfisa_c instructions.
1131 2007-04-21 Richard Earnshaw <rearnsha@arm.com>
1133 * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
1134 (thumb_opcodes): Add missing white space in adr.
1135 (arm_decode_shift): New parameter, print_shift. Only decode the
1136 shift parameter if set. Adjust callers.
1137 (print_insn_arm): Support for operand type q with no shift decode.
1139 2007-04-21 Alan Modra <amodra@bigpond.net.au>
1141 * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
1143 (i386_regtab): ..here.
1144 * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
1146 * ppc-opc.c (powerpc_operands): Delete duplicate entries.
1147 (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
1148 (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
1149 (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
1151 2007-04-20 Nathan Sidwell <nathan@codesourcery.com>
1153 * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
1156 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1158 * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
1160 * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
1161 in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove
1162 references to following deleted functions.
1163 (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
1164 (insert_ds, extract_ds, insert_de, extract_de): Delete.
1165 (insert_des, extract_des, insert_li, extract_li): Delete.
1166 (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
1167 (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
1168 (num_powerpc_operands): New constant.
1169 (XSPRG_MASK): Remove entire SPRG field.
1170 (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
1172 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1174 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
1176 (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
1178 2007-04-20 Richard Earnshaw <rearnsha@arm.com>
1180 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
1183 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1185 * Makefile.am: Run "make dep-am".
1186 * Makefile.in: Regenerate.
1187 * po/POTFILES.in: Regenerate.
1189 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1191 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
1192 db10cyc, db12cyc, db16cyc.
1194 2007-04-19 Nathan Froyd <froydnj@codesourcery.com>
1196 * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
1198 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1200 * i386-dis.c (CRC32_Fixup): New.
1201 (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
1203 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
1204 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1205 (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
1206 PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
1207 (three_byte_table): Likewise.
1209 * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
1211 * i386-opc.h (CpuSSE4_2): New.
1212 (CpuSSE4): Likewise.
1213 (CpuUnknownFlags): Add CpuSSE4_2.
1215 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1217 * i386-dis.c (XMM_Fixup): New.
1223 (PREGRP39 ... PREGRP85): New.
1224 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
1225 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1226 (prefix_user_table): Add PREGRP39 ... PREGRP85.
1227 (three_byte_table): Likewise.
1228 (putop): Handle 'K'.
1229 (intel_operand_size): Handle dqb_mode, dqd_mode):
1233 * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
1235 * i386-opc.h (CpuSSE4_1): New.
1236 (CpuUnknownFlags): Add CpuSSE4_1.
1237 (regKludge): Update comment.
1239 2007-04-18 Matthias Klose <doko@ubuntu.com>
1241 * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
1242 * Makefile.in: Regenerate.
1244 2007-04-14 Steve Ellcey <sje@cup.hp.com>
1246 * Makefile.am: Add ACLOCAL_AMFLAGS.
1247 * Makefile.in: Regenerate.
1249 2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
1251 * i386-dis.c: Remove trailing white spaces.
1252 * i386-opc.c: Likewise.
1253 * i386-opc.h: Likewise.
1255 2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
1258 * i386-dis.c (GRP1a): New.
1259 (GRP1b ... GRPPADLCK2): Update index.
1260 (dis386): Use GRP1a for entry 0x8f.
1261 (mod, rm, reg): Removed. Replaced by ...
1265 2007-04-09 Kazu Hirata <kazu@codesourcery.com>
1267 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
1268 info->print_address_func if longjmp is called.
1270 2007-03-29 DJ Delorie <dj@redhat.com>
1272 * m32c-desc.c: Regenerate.
1273 * m32c-dis.c: Regenerate.
1274 * m32c-opc.c: Regenerate.
1276 2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
1278 * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
1279 movq. Remove InvMem from sldt, smsw and str.
1281 * i386-opc.h (InvMem): Renamed to ...
1282 (RegMem): Update comments.
1283 (AnyMem): Remove InvMem.
1285 2007-03-27 Paul Brook <paul@codesourcery.com>
1287 * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
1289 2007-03-24 Paul Brook <paul@codesourcery.com>
1291 * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
1292 (print_insn_coprocessor): Handle %<bitfield>x.
1294 2007-03-24 Paul Brook <paul@codesourcery.com>
1295 Mark Shinwell <shinwell@codesourcery.com>
1297 * arm-dis.c (arm_opcodes): Print SRS base register.
1299 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
1301 * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
1303 * i386-opc.c (i386_optab): Add rex.wrxb.
1305 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1307 * i386-dis.c (REX_MODE64): Remove definition.
1308 (REX_EXTX): Likewise.
1309 (REX_EXTY): Likewise.
1310 (REX_EXTZ): Likewise.
1311 (USED_REX): Use REX_OPCODE instead of 0x40.
1312 Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
1313 REX_R, REX_X and REX_B respectively.
1315 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1318 * i386-dis.c (PREGRP38): New.
1319 (dis386): Use PREGRP38 for 0x90.
1320 (prefix_user_table): Add PREGRP38.
1321 (print_insn): Set uses_REPZ_prefix to 1 for pause.
1322 (NOP_Fixup1): Properly handle REX bits.
1323 (NOP_Fixup2): Likewise.
1325 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
1326 Allow register with nop.
1328 2007-03-20 DJ Delorie <dj@redhat.com>
1330 * m32c-asm.c: Regenerate.
1331 * m32c-desc.c: Regenerate.
1332 * m32c-desc.h: Regenerate.
1333 * m32c-dis.h: Regenerate.
1334 * m32c-ibld.c: Regenerate.
1335 * m32c-opc.c: Regenerate.
1336 * m32c-opc.h: Regenerate.
1338 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1340 * i386-opc.c: Include "libiberty.h".
1341 (i386_regtab): Remove the last entry.
1342 (i386_regtab_size): New.
1343 (i386_float_regtab_size): Likewise.
1345 * i386-opc.h (i386_regtab_size): New.
1346 (i386_float_regtab_size): Likewise.
1348 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1350 * Makefile.am (CFILES): Add i386-opc.c.
1351 (ALL_MACHINES): Add i386-opc.lo.
1353 * Makefile.in: Regenerated.
1355 * configure.in: Add i386-opc.lo for bfd_i386_arch.
1356 * configure: Regenerated.
1358 * i386-dis.c: Include "opcode/i386.h".
1359 (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
1360 (FWAIT_OPCODE): Remove definition.
1361 (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
1362 (MAX_OPERANDS): Remove definition.
1364 * i386-opc.c: New file.
1365 * i386-opc.h: Likewise.
1367 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1369 * Makefile.in: Regenerated.
1371 2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
1373 * i386-dis.c (OP_Rd): Renamed to ...
1378 2007-03-08 Alan Modra <amodra@bigpond.net.au>
1380 * fr30-asm.c: Regenerate.
1381 * frv-asm.c: Regenerate.
1382 * ip2k-asm.c: Regenerate.
1383 * iq2000-asm.c: Regenerate.
1384 * m32c-asm.c: Regenerate.
1385 * m32r-asm.c: Regenerate.
1386 * m32r-dis.c: Regenerate.
1387 * mt-asm.c: Regenerate.
1388 * mt-ibld.c: Regenerate.
1389 * mt-opc.c: Regenerate.
1390 * openrisc-asm.c: Regenerate.
1391 * xc16x-asm.c: Regenerate.
1392 * xstormy16-asm.c: Regenerate.
1394 * Makefile.am: Run "make dep-am".
1395 * Makefile.in: Regenerate.
1396 * po/POTFILES.in: Regenerate.
1398 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
1400 * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
1401 INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
1402 instruction formats added.
1403 (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
1404 MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
1406 * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
1408 * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1409 (main): z9-ec cpu type option added.
1410 * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1412 2007-02-22 DJ Delorie <dj@redhat.com>
1414 * s390-opc.c (INSTR_SS_L2RDRD): New.
1415 (MASK_SS_L2RDRD): New.
1416 * s390-opc.txt (pka): Use it.
1418 2007-02-20 Thiemo Seufer <ths@mips.com>
1419 Chao-Ying Fu <fu@mips.com>
1421 * mips-dis.c (mips_arch_choices): Add DSP R2 support.
1422 (print_insn_args): Add support for balign instruction.
1423 * mips-opc.c (D33): New shortcut for DSP R2 instructions.
1424 (mips_builtin_opcodes): Add DSP R2 instructions.
1426 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1428 * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
1429 (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
1430 * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
1431 cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
1433 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1435 * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
1436 * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
1437 (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
1440 2007-02-16 Nick Clifton <nickc@redhat.com>
1443 * avr-dis.c (comment_start): New variable, contains the prefix to
1444 use when printing addresses in comments.
1445 (print_insn_avr): Set comment_start to an empty space if there is
1446 no symbol table available as the generic address printing code
1447 will prefix the numeric value of the address with 0x.
1449 2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
1451 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
1454 2007-02-05 Dave Brolley <brolley@redhat.com>
1455 Richard Sandiford <rsandifo@redhat.com>
1456 DJ Delorie <dj@redhat.com>
1457 Graydon Hoare <graydon@redhat.com>
1458 Frank Ch. Eigler <fche@redhat.com>
1459 Ben Elliston <bje@redhat.com>
1461 * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
1462 (CFILES): Add mep-*.c
1463 (ALL_MACHINES): Add mep-*.lo.
1464 (CLEANFILES): Add stamp-mep.
1465 (CGEN_CPUS): Add mep.
1466 (MEP_DEPS): New variable.
1467 (mep-*): New targets.
1468 * configure.in: Handle bfd_mep_arch.
1469 * disassemble.c (ARCH_mep): New macro.
1470 (disassembler): Handle bfd_arch_mep.
1471 (disassemble_init_for_target): Likewise.
1472 * mep-*: New files for Toshiba Media Processor (MeP).
1473 * Makefile.in: Regenerated.
1474 * configure: Regenerated.
1476 2007-02-05 H.J. Lu <hongjiu.lu@intel.com>
1478 * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
1479 wrap around within the same segment in 16bit mode.
1481 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1483 * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
1486 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1488 * avr-dis.c (avr_operand): Correct PR number in comment.
1490 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1492 * disassemble.c (disassembler_usage): Call
1493 print_i386_disassembler_options for i386 disassembler.
1495 * i386-dis.c (print_i386_disassembler_options): New.
1496 (print_insn): Support the new addr64 option.
1498 2007-02-02 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
1500 * ppc-dis.c (powerpc_dialect): Handle ppc440.
1501 * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
1504 2007-02-02 Alan Modra <amodra@bigpond.net.au>
1506 * ppc-opc.c (insert_bdm): -Many comment.
1507 (valid_bo): Add "extract" param. Accept both powerpc and power4
1508 BO fields when disassembling with -Many.
1509 (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
1511 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
1513 * m68k-opc.c (m68k_opcodes): Replace cpu32 with
1514 cpu32 | fido_a except on tbl instructions.
1516 2007-01-04 Paul Brook <paul@codesourcery.com>
1518 * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
1520 2007-01-04 Andreas Schwab <schwab@suse.de>
1522 * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
1524 2007-01-04 Julian Brown <julian@codesourcery.com>
1526 * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
1527 vqrshl instructions.
1529 For older changes see ChangeLog-2006
1535 version-control: never