1 2007-10-22 H.J. Lu <hongjiu.lu@intel.com>
3 * i386-dis.c (prefix_table): Reordered by opcode.
6 2007-10-19 H.J. Lu <hongjiu.lu@intel.com>
8 * i386-dis.c (prefix_table): Use XS on psrldq and pslldq.
10 2007-10-17 Nathan Sidwell <nathan@codesourcery.com>
12 * m68k-opc.c (m68k_opcodes): Correct move sr and ccr masks for
15 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
17 * ppc-opc.c (powerpc_opcodes): Fix the first two operands of
18 dquaiq. to use the TE and FRT macros.
20 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
22 * ppc-opc.c (TE): Correct signedness.
23 (powerpc_opcodes): Sort psq_st and psq_stu according to major
26 2007-10-15 H.J. Lu <hongjiu.lu@intel.com>
28 * i386-dis.c (dis386_twobyte): Reformat.
29 (prefix_table): Likewise.
30 (three_byte_table): Likewise.
32 2007-10-15 Alan Modra <amodra@bigpond.net.au>
34 * mcore-dis.c (print_insn_mcore): Protect "fprintf" var against
37 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
39 * i386-gen.c (opcode_modifiers): Add FirstXmm0.
41 * i386-opc.h (FirstXmm0): New.
43 (i386_opcode_modifier): Add firstxmm0.
45 * i386-opc.tbl (blendvpd): Replace RegKludge with FirstXmm0.
48 * i386-tbl.h: Regenerated.
50 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
52 * i386-dis.c (prefix_table): Reformat pblendvb and blendvps.
54 2007-10-10 H.J. Lu <hongjiu.lu@intel.com>
56 * i386-dis.c (v_mode): Defined as previous one + 1.
63 (cond_jump_mode): Likewise.
64 (loop_jcxz_mode): Likewise.
68 (const_1_mode): Likewise.
69 (stack_v_mode): Likewise.
112 (z_mode_ax_reg): Likewise.
113 (indir_dx_reg): Likewise.
115 (DREX_NO_OC0): Likewise.
116 (DREX_MASK): Likewise.
117 (MAX_BYTEMODE): New. Issue an error if MAX_BYTEMODE is not
120 2007-10-08 H.J. Lu <hongjiu.lu@intel.com>
122 * i386-dis.c: Updated comments for 'Y'.
123 (putop): Don't add 'q' for 'Y' if suffix_always isn't true.
125 2007-10-08 Maciej W. Rozycki <macro@linux-mips.org>
127 * opcodes/mips-dis.c (mips_cp0_names_r3000): New definition.
128 (mips_cp0_names_r4000): Likewise.
129 (mips_arch_choices): Link to the above as appropriate.
131 2007-10-08 Nick Clifton <nickc@redhat.com>
133 * configure.in (SHARED_DEPENDENCIES): Change non-cygwin dependency
134 to be ../bfd/libbfd.la.
135 * configure: Regenerate.
137 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
139 * i386-dis.c (dis386_twobyte): Add getsec.
141 * i386-gen.c (cpu_flags): Add CpuSMX.
143 * i386-opc.h (CpuSMX): New.
145 (i386_cpu_flags): Add cpusmx.
147 * i386-opc.tbl: Add getsec.
148 * i386-init.h: Regenerated.
149 * i386-tbl.h: Likewise.
151 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
153 * i386-dis.c (reg_table): Use "{ XX }" on "(bad)".
154 (prefix_table): Likewise.
156 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
158 * i386-dis.c (dis386_twobyte): Use EXx instead of EXq on
159 unpckhpX and unpckhpX.
161 2007-10-04 David Daney <ddaney@avtrex.com>
163 * mips-opc.c (mips_builtin_opcodes): Mark lwxc1 as working on FP_S
166 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
168 * i386-dis.c (MOD_0F12_PREFIX_0): Use "movlps" and "movhlps"
169 instead of "movlpX" and "movhlpX", respectively.
170 (MOD_0F16_PREFIX_0): Use "movhps" and "movlhps" instead of
171 "movhpX" and "movlhpX", respectively.
173 2007-10-04 Nick Clifton <nickc@redhat.com>
175 * configure.in (WIN32LDFLAGS): Rename to SHARED_LDFLAGS.
176 (WIN32LIBADD): Rename to SHARED_LIBADD
177 (SHARED_DEPENDENCIES): New exported variable.
178 (enable_shared): Add dependency upon libbfd.la for non-cygwin
179 based shared library builds.
180 * Makefile.am (libopcodes_la_DEPENDENCIES): Append
182 (libopcodes_la_LIBADD): Rename WIN32LIBADD to SHARED_LIBADD.
183 (libopcodes_la_LDFLAGS): Rename WIN32LDFLAGS to SHARED_LDFLAGS.
184 * configure: Regenerate.
185 * Makefile.in: Regenerate.
188 * arc-opc.c (insert_offset): Fix spelling mistake in error
191 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
193 * i386-dis.c (OP_REG): Set add to 0 only when needed.
202 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
204 * i386-opc.tbl: Update SSE comments.
206 2007-10-01 H.J. Lu <hongjiu.lu@intel.com>
208 * i386-dis.c (THREE_BYTE_0FBA): Renamed to ...
209 (THREE_BYTE_0F7B): This.
210 (dis386_twobyte): Updated.
211 (three_byte_table): Updated comments.
213 2007-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
215 * cr16-opc.c: Updated the branch on condition instructions with
218 2007-09-30 H.J. Lu <hongjiu.lu@intel.com>
220 * 386-dis.c (prefix_table): Reformat comment.
222 2007-09-29 H.J. Lu <hongjiu.lu@intel.com>
224 * 386-dis.c (USE_GROUPS): Renamed to ...
225 (USE_REG_TABLE): This.
226 (USE_OPC_EXT_TABLE): Renamed to ...
227 (USE_MOD_TABLE): This.
228 (USE_OPC_EXT_RM_TABLE): Renamed to ...
229 (USE_RM_TABLE): This.
230 (USE_XXX_TABLE): Reordered.
231 (GRP): Renamed to ...
233 (OPC_EXT_TABLE): Renamed to ...
235 (OPC_EXT_RM_TABLE): Renamed to ...
237 (GRP_XXX): Renamed to ...
239 (PREGRP_XXX): Renamed to ...
241 (OPC_EXT_XXX): Renamed to ...
243 (OPC_EXT_RM_XXX): Renamed to ...
245 (grps): Renamed to ...
247 (prefix_user_table): Renamed to ...
249 (opc_ext_table): Renamed to ...
251 (opc_ext_rm_table): Renamed to ...
253 (OPC_EXT_RM_XXX): Likewise.
255 (dis386_twobyte): Likewise.
256 (reg_table): Likewise.
257 (prefix_table): Likewise.
258 (x86_64_table): Likewise.
259 (three_byte_table): Likewise.
260 (mod_table): Likewise.
261 (rm_table): Likewise.
262 (get_valid_dis386): Likewise.
264 2007-09-28 H.J. Lu <hongjiu.lu@intel.com>
266 * 386-dis.c (USE_PREFIX_USER_TABLE): Renamed to ...
267 (USE_PREFIX_TABLE): This.
268 (X86_64_SPECIAL): Renamed to ...
269 (USE_X86_64_TABLE): This.
270 (IS_3BYTE_OPCODE): Renamed to ...
271 (USE_3BYTE_TABLE): This.
273 (PREGRPXXX): Likewise.
274 (X86_64_XXX): Likewise.
275 (THREE_BYTE_XXX): Likewise.
276 (OPC_EXT_XXX): Likewise.
277 (OPC_EXT_RM_XXX): Likewise.
281 (X86_64_TABLE): Likewise.
282 (THREE_BYTE_TABLE): Likewise.
283 (OPC_EXT_TABLE): Likewise.
284 (OPC_EXT_RM_TABLE): Likewise.
286 (PREGRP_XXX): Likewise.
287 (X86_64_XXX): Likewise.
288 (THREE_BYTE_XXX): Likewise.
289 (OPC_EXT_XXX): Likewise.
290 (OPC_EXT_RM_XXX): Likewise.
292 (dis386_twobyte): Likewise.
294 (prefix_user_table): Likewise.
295 (x86_64_table): Likewise.
296 (three_byte_table): Likewise.
297 (opc_ext_table): Likewise.
298 (opc_ext_rm_table): Likewise.
299 (get_valid_dis386): Likewise.
301 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
303 * i386-dis.c (dis386): Swap X86_64_27 with OPC_EXT_2.
304 (x86_64_table): Likewise.
305 (opc_ext_table): Likewise.
307 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
310 * i386-dis.c: Update comments on '{', '}' and '|' to support
311 only AT&T and Intel modes.
312 (X86_64_4...X86_64_27): New.
313 (dis386): Updated. Use X86_64_4...X86_64_21.
314 (dis386_twobyte): Updated.
315 (float_mem): Likewise.
316 (x86_64_table): Add X86_64_4...X86_64_27.
317 (opc_ext_table): Updated. Use X86_64_22...X86_64_27.
318 (putop): Updated handling of '{', '}' and '|' to support only
319 AT&T and Intel modes.
321 2007-09-27 Kazu Hirata <kazu@codesourcery.com>
323 * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb.
325 2007-09-26 James E. Wilson <wilson@specifix.com>
327 * ia64-gen.c (print_dependency_table): Fix typo in last patch.
329 2007-09-26 Nick Clifton <nickc@redhat.com>
331 * mt-asm.c (parse_imm16): Reword error message in order to allow
332 it to be translated properly.
333 * ia64-gen.c (print_dependency_table): Likewise.
334 * mips-dis.c (print_insn_args): Likewise.
336 2007-09-26 Jan Beulich <jbeulich@novell.com>
338 * i386-dis.c (OP_E_extended): Distinguish rip- and eip-
339 relative addressing. Update used_prefixes based on whether any
340 base or index register was printed.
342 2007-09-26 Jan Beulich <jbeulich@novell.com>
344 * i386-opc.h (RegEip): Define.
346 * i386-reg.tbl: Add eip. Mark rip and eip with RegRex64.
347 * i386-tbl.h: Re-generate.
349 2007-09-25 H.J. Lu <hongjiu.lu@intel.com>
351 * i386-gen.c (process_i386_opcodes): Process opcode_length.
353 * i386-opc.h (template): Add opcode_length.
354 * 386-opc.tbl: Likewise.
355 * i386-tbl.h: Regenerated.
357 2007-09-21 H.J. Lu <hongjiu.lu@intel.com>
359 * i386-opc.h: Adjust whitespaces.
361 2007-09-21 Dave Brolley <brolley@redhat.com>
363 * mep-desc.c: Regenerated.
365 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
367 * i386-dis.c (OP_E_extended): Display eiz for [eiz*1 + offset].
369 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
372 * 386-dis.c (index64): New.
374 (intel_index64): Likewise.
375 (intel_index32): Likewise.
376 (att_index64): Likewise.
377 (att_index32): Likewise.
378 (print_insn): Set index64 and index32.
379 (OP_E_extended): Use index64/index32 for index register for
382 * i386-opc.h (RegEiz): New.
385 * i386-reg.tbl: Add eiz and riz.
386 * i386-tbl.h: Regenerated.
388 2007-09-19 H.J. Lu <hongjiu.lu@intel.com>
390 * i386-dis.c (OP_E_extended): Always display scale for memory.
392 2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
394 * i386-opc.h (RegRip): New.
396 * i386-reg.tbl (rip): Use RegRip for reg_num.
397 * i386-tbl.h: Regenerated.
399 2007-09-17 Nick Clifton <nickc@redhat.com>
401 * po/es.po: Updated Spanish translation.
403 2007-09-14 H.J. Lu <hongjiu.lu@intel.com>
405 * Makefile.am: Run "make dep-am".
406 * Makefile.in: Regenerate.
408 2007-09-14 Michael Meissner <michael.meissner@amd.com>
409 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
410 Tony Linthicum <tony.linthicum@amd.com>
412 * i386-opc.h (CpuSSE5): New macro.
413 (i386_cpu_flags): Add Drex, Drexv and Drexc.
415 * i386-gen.c (cpu_flag_init): Add CPU_SSE5_FLAGS.
416 (operand_type_init): Add CpuSSE5.
417 (opcode_modifiers): Add Drex, Drexv and Drexc.
418 (i386_opcode_modifier): Ditto.
420 * i386-opc.tbl (fmaddps,fmaddpd,fmaddss,fmaddsd): Define SSE5
422 (fmsubps,fmsubpd,fmsubss,fmsubsd): Ditto.
423 (fnmaddps,fnmaddpd,fnmaddss,fnmaddsd): Ditto.
424 (fnmsubps,fnmsubpd,fnmsubss,fnmsubsd): Ditto.
425 (pmacssww,pmacsww,pmacsswd,pmacswd): Ditto.
426 (pmacssdd,pmacsdd,pmacssdql,pmacssdqh): Ditto.
427 (pmacsdql,pmacsdqh,pmadcsswd,pmadcswd): Ditto.
428 (phaddbw,phaddbd,phaddbq,phaddwd): Ditto.
429 (phaddwq,phadddq,phaddubw,phaddubd): Ditto.
430 (phaddubq,phadduwd,phadduwq,phaddudq): Ditto.
431 (phsubbw,phsubwd,phsubdq): Ditto.
432 (pcmov,pperm,permps,permpd): Ditto.
433 (protb,protw,protd,protq): Ditto.
434 (pshlb,pshlw,pshld,pshlq): Ditto.
435 (pshab,pshaw,pshad,pshaq): Ditto.
436 (comps,comeqps,comltps,comungeps,comleps,comungtps): Ditto.
437 (comunordps,comneps,comneqps,comnltps,comugeps): Ditto.
438 (comnleps,comugtps,comordps,comueqps,comultps): Ditto.
439 (comngeps,comuleps,comngtps,comfalseps,comuneps): Ditto.
440 (comuneqps,comunltps,comgeps,comunleps,comgtps,comtrueps): Ditto.
441 (compd,comeqpd,comltpd,comungepd,comlepd,comungtpd,comunordpd): Ditto.
442 (comnepd,comneqpd,comnltpd,comugepd,comnlepd,comugtpd): Ditto.
443 (comordpd,comueqpd,comultpd,comngepd,comulepd,comngtpd): Ditto.
444 (comfalsepd,comunepd,comuneqpd,comunltpd,comgepd): Ditto.
445 (comunlepd,comgtpd,comtruepd): Ditto.
446 (comss,comeqss,comltss,comungess,comless,comungtss,comunordss): Ditto.
447 (comness,comneqss,comnltss,comugess,comnless,comugtss): Ditto.
448 (comordss,comueqss,comultss,comngess,comuless,comngtss): Ditto.
449 (comfalsess,comuness,comuneqss,comunltss,comgess): Ditto.
450 (comunless,comgtss,comtruess): Ditto.
451 (comsd,comeqsd,comltsd,comungesd,comlesd,comungtsd,comunordsd): Ditto.
452 (comnesd,comneqsd,comnltsd,comugesd,comnlesd,comugtsd): Ditto.
453 (comordsd,comueqsd,comultsd,comngesd,comulesd,comngtsd): Ditto.
454 (comfalsesd,comunesd,comuneqsd,comunltsd,comgesd): Ditto.
455 (comunlesd,comgtsd,comtruesd): Ditto.
456 (pcomub,pcomltub,pcomleub,pcomgtub,pcomgeub,pcomequb): Ditto.
457 (pcomnequb,pcomneub): Ditto.
458 (pcomuw,pcomltuw,pcomleuw,pcomgtuw,pcomgeuw,pcomequw): Ditto.
459 (pcomnequw,pcomneuw): Ditto.
460 (pcomud,pcomltud,pcomleud,pcomgtud,pcomgeud,pcomequd): Ditto.
461 (pcomnequd,pcomneud): Ditto.
462 (pcomuq,pcomltuq,pcomleuq,pcomgtuq,pcomgeuq,pcomequq): Ditto.
463 (pcomnequq,pcomneuq): Ditto.
464 (pcomb,pcomltb,pcomleb,pcomgtb,pcomgeb,pcomeqb): Ditto.
465 (pcomneqb,pcomneb): Ditto.
466 (pcomw,pcomltw,pcomlew,pcomgtw,pcomgew,pcomeqw): Ditto.
467 (pcomneqw,pcomnew): Ditto.
468 (pcomd,pcomltd,pcomled,pcomgtd,pcomged,pcomeqd): Ditto.
469 (pcomneqd,pcomned): Ditto.
470 (pcomq,pcomltq,pcomleq,pcomgtq,pcomgeq): Ditto.
471 (pcomeqq,pcomneqq,pcomneq): Ditto.
472 (pcomtrueb, pcomtruew, pcomtrued, pcomtrueq): Ditto.
473 (pcomtrueub, pcomtrueuw, pcomtrueud, pcomtrueuq): Ditto.
474 (pcomfalseb, pcomfalsew, pcomfalsed, pcomfalseq): Ditto.
475 (pcomfalseub, pcomfalseuw, pcomfalseud, pcomfalseuq): Ditto.
476 (frczps,frczpd,frczss,frczsd): Ditto.
477 (cvtph2ps,cvtps2ph): Ditto.
479 * i386-tbl.h: Regenerate from i386-opc.tbl.
480 * i386-init.h: Likewise.
482 * i386-dis.c (libiberty.h): Include to get ARRAY_SIZE.
483 (dis386_move_test): New disassembly support for move from test
484 register instruction that overlaps with SSE5 instructions.
485 (print_insn): Add support for special casing the i386/i486 move
486 from test register instruction that overlaps with the SSE5
487 0x0f24 4 operand instructions.
488 (OP_DREX_ICMP): New macros for SSE5 DREX handling.
489 (OP_DREX_FCMP): Ditto.
490 (OP_E_extended): Rename from OP_E, add additional argument to skip
492 (OP_E): Call OP_E_extended.
493 (DREX_REG_MEMORY): New macros for drex handling.
494 (DREX_REG_UNKNOWN): Ditto.
496 (DREX4_NO_OC0): Ditto.
498 (three_byte_table): Add SSE5 instructions.
499 (print_drex_arg): New function to print a DREX register or memory
501 (OP_DREX4): New function for handling DREX 4 argument ops.
502 (OP_DREX3): New function for handling DREX 3 argument ops.
503 (twobyte_has_modrm): 0f{25,7a,7b} all use the modrm byte.
504 (THREE_BYTE_SSE5_0F{24,25,7A,7B}): New macros for initializing 3
505 byte opcode support for SSE5 instructions.
506 (dis386_twobyte): Add SSE5 24/25/7a/7b support.
507 (three_byte_table): Add rows for describing SSE5 instructions.
509 2007-09-13 H.J. Lu <hongjiu.lu@intel.com>
511 * i386-dis.c (get_valid_dis386): Take a pointer to
512 disassemble_info. Handle IS_3BYTE_OPCODE.
513 (print_insn): Updated. Don't handle IS_3BYTE_OPCODE here.
515 2007-09-12 H.J. Lu <hongjiu.lu@intel.com>
517 * i386-opc.h (CpuUnused): Defined with CpuMax.
518 (OTUnused): Defined with OTMax.
520 2007-09-12 Jan Beulich <jbeulich@novell.com>
522 * i386-opc.tbl: Add two-operand forms of blendvps, blendvpd, and
524 * i386-tbl.h: Regenerate.
526 2007-09-09 H.J. Lu <hongjiu.lu@intel.com>
528 * i386-gen.c (main): Remove the local variable, unused.
530 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
532 * Makefile.am: Run "make dep-am".
533 * Makefile.in: Regenerate.
535 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
537 * configure.in (AC_CHECK_HEADERS): Add limits.h.
538 * configure: Regenerated.
539 * config.in: Likewise.
541 * i386-gen.c: Include "sysdep.h" instead of <stdlib.h> and
542 <string.h>. Use xstrerror instead of strerror.
544 (cpu_flag_init): Likewise.
545 (bitfield): Likewise.
547 (cpu_flags): Likewise.
548 (opcode_modifiers): Likewise.
549 (operand_types): Likewise.
551 (set_cpu_flags): Likewise.
552 (output_cpu_flags): Likewise.
553 (process_i386_cpu_flags): Likewise.
554 (output_opcode_modifier): Likewise.
555 (process_i386_opcode_modifier): Likewise.
556 (output_operand_type): Likewise.
557 (process_i386_operand_type): Likewise.
558 (set_bitfield): Likewise.
559 (operand_type_init): Likewise.
560 (process_i386_initializers): Likewise.
561 (process_i386_opcodes): Call process_i386_opcode_modifier to
562 process opcode_modifier. Call process_i386_operand_type to
563 process operand_types.
564 (process_i386_registers): Call process_i386_operand_type to
566 (main): Check unused bits in i386_cpu_flags and i386_operand_type.
567 Sort cpu_flags, opcode_modifiers and operand_types. Call
568 process_i386_initializers.
571 * i386-tbl.h: Regenerated.
573 * i386-opc.h: Include <limits.h>.
574 (CHAR_BIT): Define as 8 if not defined.
575 (Cpu186): Changed to position of bitfiled.
588 (Cpu3dnow): Likewise.
589 (Cpu3dnowA): Likewise.
591 (CpuPadLock): Likewise.
594 (CpuSSSE3): Likewise.
595 (CpuSSE4a): Likewise.
597 (CpuSSE4_1): Likewise.
598 (CpuSSE4_2): Likewise.
604 (ShortForm): Likewise.
606 (JumpDword): Likewise.
607 (JumpByte): Likewise.
608 (JumpInterSegment): Likewise.
615 (IgnoreSize): Likewise.
616 (DefaultSize): Likewise.
624 (IsString): Likewise.
625 (RegKludge): Likewise.
626 (IsPrefix): Likewise.
635 (FloatReg): Likewise.
645 (BaseIndex): Likewise.
651 (InOutPortReg): Likewise.
652 (ShiftCount): Likewise.
659 (FloatAcc): Likewise.
660 (JumpAbsolute): Likewise.
664 (Reg): Commented out.
666 (ImplicitRegister): Likewise.
671 (LLongMem): Likewise.
673 (ShortMem): Likewise.
678 (CpuNumOfUints): Likewise.
679 (CpuNumOfBits): Likewise.
680 (CpuUnused): Likewise.
681 (OTNumOfUints): Likewise.
682 (OTNumOfBits): Likewise.
683 (OTUnused): Likewise.
684 (i386_cpu_flags): New type.
685 (i386_operand_type): Likewise.
686 (i386_opcode_modifier): Likewise.
687 (CpuSledgehammer): Removed.
689 (CpuUnknownFlags): Likewise.
692 (ImplicitRegister): Likewise.
697 (LLongMem): Likewise.
699 (ShortMem): Likewise.
702 (template): Use i386_cpu_flags for cpu_flags, use
703 i386_opcode_modifier for opcode_modifier, use
704 i386_operand_type for operand_types.
705 (reg_entry): Use i386_operand_type for reg_type.
707 * Makefile.am (HFILES): Add i386-init.h.
708 ($(srcdir)/i386-init.h): New rule.
709 ($(srcdir)/i386-tbl.h): Depend on $(srcdir)/i386-init.h
711 * Makefile.in: Regenerated.
713 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
715 * i386-gen.c (next_field): Updated to take a separator.
716 (process_i386_opcodes): Updated.
717 (process_i386_registers): Likewise.
719 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
721 * i386-gen.c (table): Moved ...
722 (main): Here. Call process_copyright to output copyright.
723 (process_copyright): New.
724 (process_i386_opcodes): Take FILE *table.
725 (process_i386_registers): Likewise.
727 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
729 * i386-gen.c (table): New.
730 (process_i386_opcodes): Report errno when faied to open
731 i386-opc.tbl. Output opcodes to table. Close i386-opc.tbl
733 (process_i386_registers): Report errno when faied to open
734 i386-reg.tbl. Output opcodes to table. Close i386-reg.tbl
736 (main): Open i386-tbl.h for output.
738 * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@".
739 * Makefile.in: Regenerated.
741 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
743 * i386-opc.tbl: Correct SVME instructions to allow 32bit register
744 operand in 64bit mode.
745 * i386-tbl.h: Regenerated.
747 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
749 * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
750 (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
751 (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
753 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
755 * i386-dis.c (SVME_Fixup): Removed.
757 (OPC_EXT_RM_6): Likewise.
758 (grps): Use OPC_EXT_39.
759 (opc_ext_table): Add OPC_EXT_39.
760 (opc_ext_rm_table): Add OPC_EXT_RM_6.
762 * i386-opc.tbl: Correct SVME instructions to take register
764 * i386-tbl.h: Regenerated.
766 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
768 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
769 * Makefile.in: Regenerated.
771 * configure.in (AC_GNU_SOURCE): Added.
772 (AC_PROG_CC): Moved before AC_GNU_SOURCE.
773 (AC_CHECK_DECLS): Add stpcpy.
774 * configure: Regenerated.
775 * config.in: Likewise.
777 * i386-dis.c: Include "sysdep.h" before "dis-asm.h".
779 * sysdep.h (stpcpy): New.
781 2007-08-30 H.J. Lu <hongjiu.lu@intel.com>
783 * i386-dis.c (INVLPG_Fixup): Removed.
785 (OPC_EXT_RM_5): Likewise.
786 (grps): Use OPC_EXT_38.
787 (opc_ext_table): Add OPC_EXT_38.
788 (opc_ext_rm_table): Add OPC_EXT_RM_5.
790 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
792 * i386-dis.c (SIMD_Fixup): Removed.
793 (OPC_EXT_34...OPC_EXT_37): New.
794 (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
795 (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
796 (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
798 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
800 * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
801 (dis386): Use OPC_EXT_0...OPC_EXT_2.
802 (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
803 (grps): Updated to use OPC_EXT_6...OPC_EXT_31.
804 (prefix_user_table): Use OPC_EXT_32.
805 (x86_64_table): Use OPC_EXT_33.
806 (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
808 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
810 * i386-dis.c (prefix_user_table): Fix comment.
812 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
814 * i386-dis.c (OP_Skip_MODRM): New.
815 (OP_Monitor): Likewise.
816 (OP_Mwait): Likewise.
818 (Skip_MODRM): Likewise.
819 (USE_OPC_EXT_TABLE): Likewise.
820 (USE_OPC_EXT_RM_TABLE): Likewise.
821 (PREGRP98...PREGRP100): Likewise.
822 (OPC_EXT_0...OPC_EXT_24): Likewise.
823 (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
824 (lock_prefix): Likewise.
825 (data_prefix): Likewise.
826 (addr_prefix): Likewise.
827 (repz_prefix): Likewise.
828 (repnz_prefix): Likewise.
829 (opc_ext_table): Likewise.
830 (opc_ext_rm_table): Likewise.
831 (get_valid_dis386): Likewise.
834 (PNI_Fixup): Likewise.
835 (VMX_Fixup): Likewise.
837 (twobyte_uses_DATA_prefix): Likewise.
838 (twobyte_uses_REPNZ_prefix): Likewise.
839 (twobyte_uses_REPZ_prefix): Likewise.
840 (threebyte_0x38_uses_DATA_prefix): Likewise.
841 (threebyte_0x38_uses_REPNZ_prefix): Likewise.
842 (threebyte_0x38_uses_REPZ_prefix): Likewise.
843 (threebyte_0x3a_uses_DATA_prefix): Likewise.
844 (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
845 (threebyte_0x3a_uses_REPZ_prefix): Likewise.
846 (grps): Use OPC_EXT_0...OPC_EXT_24.
847 (prefix_user_table): Add PREGRP98...PREGRP100.
848 (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
849 uses_REPNZ_prefix and uses_REPZ_prefix. Initialize
850 repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
851 data_prefix based on prefixes. Call get_valid_dis386 to
852 get a pointer to the valid dis386. Print out prefixes if
854 (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
855 (REP_Fixup): Set repz_prefix to "rep " when seeing
858 2007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
860 * po/nl.po: Updated translation.
862 2007-08-28 H.J. Lu <hongjiu.lu@intel.com>
864 * i386-dis.c (Md): New.
865 (grps): Use 0 on invlpg. Use M on fxsave and fxrstor. Use
866 Md on ldmxcsr and stmxcsr. Use b_mode on clflush.
867 (OP_0fae): Clear bytemode for sfence.
869 2007-08-22 Ben Elliston <bje@au.ibm.com>
871 * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
872 (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
874 (powerpc_opcodes): Add all pair singles instructions.
875 * ppc-dis.c (powerpc_dialect): Handle "ppcps".
876 (print_ppc_disassembler_options): Document -Mppcps.
878 2007-08-21 Andreas Krebbel <krebbel1@de.ibm.com>
880 * s390-mkopc.c (struct s390_cond_ext_format): New global struct.
881 (s390_cond_ext_format): New global variable.
882 (expandConditionalJump): New function.
883 (main): Invoke expandConditionalJump for mnemonics containing '*'.
884 * s390-opc.txt: Replace mnemonics with conditional
885 mask extensions with instructions using the newly introduced '*' tag.
887 2007-08-17 Alan Modra <amodra@bigpond.net.au>
889 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
891 2007-08-10 Nick Clifton <nickc@redhat.com>
893 * po/fi.po: Updated Finnish translation.
894 * po/ga.po: Updated Irish translation.
895 * po/vi.po: Updated Vietnamese translation.
897 2007-08-09 H.J. Lu <hongjiu.lu@intel.com>
899 * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
900 pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
901 * i386-tbl.h: Regenerated.
903 2007-08-03 James E. Wilson <wilson@specifix.com>
905 * ia64-gen.c: (main): Add missing newline to copyright message.
906 * ia64-ic.tbl (fp-non-arith): Add xmpy.
907 * ia64-asmtab.c: Regenerate.
909 2007-08-01 Michael Snyder <msnyder@access-company.com>
911 * i386-dis.c (print_insn): Guard against NULL.
913 2007-07-29 H.J. Lu <hongjiu.lu@intel.com>
916 * i386-dis.c (EXw): New.
917 (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
918 instructions when appropriated.
920 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
923 * i386-dis.c (Eq): New.
924 (EMC): Renamed to ...
925 (EMCq): This. Use q_mode instead of v_mode.
926 (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
929 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
931 * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
932 (prefix_user_table): Likewise. Use EXq instead of EXx on
935 2007-07-27 Nathan Sidwell <nathan@codesourcery.com>
937 * ppc-opc (PPC7450): New.
938 (powerpc_opcodes): Use it in dcba.
940 2007-07-24 H.J. Lu <hongjiu.lu@intel.com>
942 * i386-gen.c (main): Print a newline after copyright notice.
944 2007-07-19 Nick Clifton <nickc@redhat.com>
947 * maxq-dis.c (get_reg_name): Fix the scan of the
948 mem_access_syntax_table.
950 2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
952 * i386-dis.c (EMq): Removed.
954 (prefix_user_table): Replace EMq with EMx.
956 2007-07-16 Nick Clifton <nickc@redhat.com>
958 * po/nl.po: Updated translation.
960 2007-07-12 Nick Clifton <nickc@redhat.com>
962 * po/vi.po: Updated translation.
963 * po/nl.po: Updated translation.
965 2007-07-06 Mark Kettenis <kettenis@gnu.org>
966 H.J. Lu <hongjiu.lu@intel.com>
968 * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
969 (ia64-asmtab.c): Likewise.
970 * Makefile.in: Regenerate.
972 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
974 * aclocal.m4: Regenerated.
976 2007-07-04 Nick Clifton <nickc@redhat.com>
978 * alpha-dis.c: Update copyright notice to refer to GPLv3.
979 * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h,
980 arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c,
981 cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in,
982 cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c,
983 cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c,
984 d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c,
985 dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c,
986 h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c,
987 i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c,
988 ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c,
989 ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c,
990 ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c,
991 m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c,
992 m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c,
993 mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c,
994 mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c,
995 or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c,
996 ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c,
997 score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h,
998 sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c,
999 spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c,
1000 tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c,
1001 vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c,
1002 z8k-dis.c, z8kgen.c: Likewise.
1003 * i386-opc.tbl, i386-reg.tbl: Add copyright notice.
1004 * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h,
1005 fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c,
1006 frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c,
1007 frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c,
1008 ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h,
1009 iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c,
1010 iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c,
1011 m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c,
1012 m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
1013 m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c,
1014 mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c,
1015 mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c,
1016 mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c,
1017 openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c,
1018 openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h,
1019 xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h,
1020 xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h,
1021 xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c,
1022 xstormy16-opc.h, z8k-opc.h: Regenerated
1024 2007-07-04 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1026 * cr16-dis.c (getcinvstring): Add const qualifier to char *
1028 (print_insn_cr16): Remove cast to char *.
1030 2007-07-03 Nathan Sidwell <nathan@codesourcery.com>
1032 * m68k-dis.c (fetch_arg): Add E. Replace length switch with
1034 (print_ins_arg): Add j & K operand types.
1035 (match_insn_m68k): Check and skip initial '.' arg character.
1036 (m68k_scan_mask): Likewise.
1037 * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
1039 2007-07-02 Alan Modra <amodra@bigpond.net.au>
1041 * Makefile.am: Run "make dep-am".
1042 * Makefile.in: Regenerate.
1043 * aclocal.m4: Regenerate.
1044 * config.in: Regenerate.
1045 * po/POTFILES.in: Regenerate.
1046 * po/opcodes.pot: Regenerate.
1048 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
1050 * aclocal.m4: Regenerated.
1051 * Makefile.in: Likewise.
1053 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
1055 * i386-reg.tbl: Remove spaces before comments.
1057 2007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1059 * cr16-opc.c: New file.
1060 * cr16-dis.c: New file.
1061 * Makefile.am: Entries for cr16.
1062 * Makefile.in: Regenerate.
1063 * cofigure.in: Add cr16 target information.
1064 * configure : Regenerate.
1065 * disassemble.c: Add cr16 target information.
1067 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
1069 * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
1070 (CFILES): Add i386-gen.c.
1071 (i386-gen): New rule.
1072 (i386-gen.o): Likewise.
1073 (i386-tbl.h): Likewise.
1075 * Makefile.in: Regenerated.
1077 * i386-gen.c: New file.
1078 * i386-opc.tbl: Likewise.
1079 * i386-reg.tbl: Likewise.
1080 * i386-tbl.h: Likewise.
1082 * i386-opc.c: Include "i386-tbl.h".
1083 (i386_optab): Removed.
1084 (i386_regtab): Likewise.
1085 (i386_regtab_size): Likewise.
1087 2007-06-26 Paul Brook <paul@codesourcery.com>
1089 * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
1091 2007-06-25 H.J. Lu <hongjiu.lu@intel.com>
1093 * i386-opc.h (regKludge): Renamed to ...
1096 * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
1098 2007-06-23 H.J. Lu <hongjiu.lu@intel.com>
1101 * i386-dis.c (EX): Removed.
1107 (PREGRP93...PREGRP97): Likewise.
1108 (dis386_twobyte): Updated.
1109 (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
1110 (OP_EX): Remove Intel syntax handling.
1112 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
1114 * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
1116 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
1118 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
1120 * acinclude.m4: Removed.
1122 * Makefile.in: Regenerated.
1123 * doc/Makefile.in: Likewise.
1124 * aclocal.m4: Likewise.
1125 * configure: Likewise.
1127 2007-06-05 Paul Brook <paul@codesourcery.com>
1129 * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
1131 2007-05-24 Steve Ellcey <sje@cup.hp.com>
1133 * Makefile.in: Regnerate.
1134 * configure: Regenerate.
1135 * aclocal.m4: Regenerate.
1137 2007-05-18 Alan Modra <amodra@bigpond.net.au>
1139 * ppc-dis.c (print_insn_powerpc): Don't skip all operands
1140 after setting skip_optional.
1142 2007-05-16 Peter Bergner <bergner@vnet.ibm.com>
1144 * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
1145 (print_insn_powerpc): Use the new operand_value_powerpc and
1146 skip_optional_operands functions to omit or print all optional
1147 operands as a group.
1148 * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
1149 (XFL_MASK): Delete L and W bits from the mask.
1150 (mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK
1151 with XWRA_MASK. Use W.
1152 (mtfsf, mtfsf.): Use XFL_L and W.
1154 2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
1157 * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
1159 2007-05-10 H.J. Lu <hongjiu.lu@intel.com>
1161 * i386-opc.h (ShortForm): Redefined.
1163 (JumpDword): Likewise.
1164 (JumpByte): Likewise.
1165 (JumpInterSegment): Likewise.
1166 (FloatMF): Likewise.
1172 (IgnoreSize): Likewise.
1173 (DefaultSize): Likewise.
1174 (No_bSuf): Likewise.
1175 (No_wSuf): Likewise.
1176 (No_lSuf): Likewise.
1177 (No_sSuf): Likewise.
1178 (No_qSuf): Likewise.
1179 (No_xSuf): Likewise.
1181 (IsString): Likewise.
1182 (regKludge): Likewise.
1183 (IsPrefix): Likewise.
1185 (NoRex64): Likewise.
1189 2007-05-07 H.J. Lu <hongjiu.lu@intel.com>
1191 * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
1192 for some SSE4 instructions.
1193 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1195 2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
1197 * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
1199 * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
1202 2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
1204 * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
1205 check data size prefix in 16bit mode.
1207 * i386-opc.c (i386_optab): Default crc32 to non-8bit and
1210 2007-04-30 Mark Salter <msalter@redhat.com>
1212 * frv-desc.c: Regenerate.
1213 * frv-desc.h: Regenerate.
1215 2007-04-30 Alan Modra <amodra@bigpond.net.au>
1218 * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
1220 2007-04-27 H.J. Lu <hongjiu.lu@intel.com>
1222 * i386-dis.c (modrm): Put reg before rm.
1224 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1227 * i386-dis.c (print_displacement): New.
1228 (OP_E): Call print_displacement instead of print_operand_value
1229 to output displacement when either base or index exist. Print
1230 the explicit zero displacement in 16bit mode.
1232 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1235 * i386-dis.c (print_insn): Also swap the order of op_riprel
1236 when swapping op_index. Break when the RIP relative address
1238 (OP_E): Properly handle RIP relative addressing and print the
1239 explicit zero displacement for Intel mode.
1241 2007-04-27 Alan Modra <amodra@bigpond.net.au>
1243 * Makefile.am: Run "make dep-am".
1244 * Makefile.in: Regenerate.
1245 * ns32k-dis.c: Include sysdep.h first.
1247 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
1249 * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
1251 * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
1253 2007-04-24 Nick Clifton <nickc@redhat.com>
1255 * arm-dis.c (print_insn): Initialise type.
1257 2007-04-24 Alan Modra <amodra@bigpond.net.au>
1259 * cgen-types.h: Include bfd_stdint.h, not stdint.h.
1260 * Makefile.am: Run "make dep-am".
1261 * Makefile.in: Regenerate.
1263 2007-04-23 Nathan Sidwell <nathan@codesourcery.com>
1265 * m68k-opc.c: Mark mcfisa_c instructions.
1267 2007-04-21 Richard Earnshaw <rearnsha@arm.com>
1269 * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
1270 (thumb_opcodes): Add missing white space in adr.
1271 (arm_decode_shift): New parameter, print_shift. Only decode the
1272 shift parameter if set. Adjust callers.
1273 (print_insn_arm): Support for operand type q with no shift decode.
1275 2007-04-21 Alan Modra <amodra@bigpond.net.au>
1277 * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
1279 (i386_regtab): ..here.
1280 * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
1282 * ppc-opc.c (powerpc_operands): Delete duplicate entries.
1283 (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
1284 (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
1285 (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
1287 2007-04-20 Nathan Sidwell <nathan@codesourcery.com>
1289 * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
1292 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1294 * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
1296 * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
1297 in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove
1298 references to following deleted functions.
1299 (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
1300 (insert_ds, extract_ds, insert_de, extract_de): Delete.
1301 (insert_des, extract_des, insert_li, extract_li): Delete.
1302 (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
1303 (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
1304 (num_powerpc_operands): New constant.
1305 (XSPRG_MASK): Remove entire SPRG field.
1306 (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
1308 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1310 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
1312 (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
1314 2007-04-20 Richard Earnshaw <rearnsha@arm.com>
1316 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
1319 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1321 * Makefile.am: Run "make dep-am".
1322 * Makefile.in: Regenerate.
1323 * po/POTFILES.in: Regenerate.
1325 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1327 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
1328 db10cyc, db12cyc, db16cyc.
1330 2007-04-19 Nathan Froyd <froydnj@codesourcery.com>
1332 * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
1334 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1336 * i386-dis.c (CRC32_Fixup): New.
1337 (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
1339 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
1340 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1341 (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
1342 PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
1343 (three_byte_table): Likewise.
1345 * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
1347 * i386-opc.h (CpuSSE4_2): New.
1348 (CpuSSE4): Likewise.
1349 (CpuUnknownFlags): Add CpuSSE4_2.
1351 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1353 * i386-dis.c (XMM_Fixup): New.
1359 (PREGRP39 ... PREGRP85): New.
1360 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
1361 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1362 (prefix_user_table): Add PREGRP39 ... PREGRP85.
1363 (three_byte_table): Likewise.
1364 (putop): Handle 'K'.
1365 (intel_operand_size): Handle dqb_mode, dqd_mode):
1369 * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
1371 * i386-opc.h (CpuSSE4_1): New.
1372 (CpuUnknownFlags): Add CpuSSE4_1.
1373 (regKludge): Update comment.
1375 2007-04-18 Matthias Klose <doko@ubuntu.com>
1377 * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
1378 * Makefile.in: Regenerate.
1380 2007-04-14 Steve Ellcey <sje@cup.hp.com>
1382 * Makefile.am: Add ACLOCAL_AMFLAGS.
1383 * Makefile.in: Regenerate.
1385 2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
1387 * i386-dis.c: Remove trailing white spaces.
1388 * i386-opc.c: Likewise.
1389 * i386-opc.h: Likewise.
1391 2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
1394 * i386-dis.c (GRP1a): New.
1395 (GRP1b ... GRPPADLCK2): Update index.
1396 (dis386): Use GRP1a for entry 0x8f.
1397 (mod, rm, reg): Removed. Replaced by ...
1401 2007-04-09 Kazu Hirata <kazu@codesourcery.com>
1403 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
1404 info->print_address_func if longjmp is called.
1406 2007-03-29 DJ Delorie <dj@redhat.com>
1408 * m32c-desc.c: Regenerate.
1409 * m32c-dis.c: Regenerate.
1410 * m32c-opc.c: Regenerate.
1412 2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
1414 * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
1415 movq. Remove InvMem from sldt, smsw and str.
1417 * i386-opc.h (InvMem): Renamed to ...
1418 (RegMem): Update comments.
1419 (AnyMem): Remove InvMem.
1421 2007-03-27 Paul Brook <paul@codesourcery.com>
1423 * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
1425 2007-03-24 Paul Brook <paul@codesourcery.com>
1427 * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
1428 (print_insn_coprocessor): Handle %<bitfield>x.
1430 2007-03-24 Paul Brook <paul@codesourcery.com>
1431 Mark Shinwell <shinwell@codesourcery.com>
1433 * arm-dis.c (arm_opcodes): Print SRS base register.
1435 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
1437 * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
1439 * i386-opc.c (i386_optab): Add rex.wrxb.
1441 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1443 * i386-dis.c (REX_MODE64): Remove definition.
1444 (REX_EXTX): Likewise.
1445 (REX_EXTY): Likewise.
1446 (REX_EXTZ): Likewise.
1447 (USED_REX): Use REX_OPCODE instead of 0x40.
1448 Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
1449 REX_R, REX_X and REX_B respectively.
1451 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1454 * i386-dis.c (PREGRP38): New.
1455 (dis386): Use PREGRP38 for 0x90.
1456 (prefix_user_table): Add PREGRP38.
1457 (print_insn): Set uses_REPZ_prefix to 1 for pause.
1458 (NOP_Fixup1): Properly handle REX bits.
1459 (NOP_Fixup2): Likewise.
1461 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
1462 Allow register with nop.
1464 2007-03-20 DJ Delorie <dj@redhat.com>
1466 * m32c-asm.c: Regenerate.
1467 * m32c-desc.c: Regenerate.
1468 * m32c-desc.h: Regenerate.
1469 * m32c-dis.h: Regenerate.
1470 * m32c-ibld.c: Regenerate.
1471 * m32c-opc.c: Regenerate.
1472 * m32c-opc.h: Regenerate.
1474 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1476 * i386-opc.c: Include "libiberty.h".
1477 (i386_regtab): Remove the last entry.
1478 (i386_regtab_size): New.
1479 (i386_float_regtab_size): Likewise.
1481 * i386-opc.h (i386_regtab_size): New.
1482 (i386_float_regtab_size): Likewise.
1484 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1486 * Makefile.am (CFILES): Add i386-opc.c.
1487 (ALL_MACHINES): Add i386-opc.lo.
1489 * Makefile.in: Regenerated.
1491 * configure.in: Add i386-opc.lo for bfd_i386_arch.
1492 * configure: Regenerated.
1494 * i386-dis.c: Include "opcode/i386.h".
1495 (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
1496 (FWAIT_OPCODE): Remove definition.
1497 (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
1498 (MAX_OPERANDS): Remove definition.
1500 * i386-opc.c: New file.
1501 * i386-opc.h: Likewise.
1503 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1505 * Makefile.in: Regenerated.
1507 2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
1509 * i386-dis.c (OP_Rd): Renamed to ...
1514 2007-03-08 Alan Modra <amodra@bigpond.net.au>
1516 * fr30-asm.c: Regenerate.
1517 * frv-asm.c: Regenerate.
1518 * ip2k-asm.c: Regenerate.
1519 * iq2000-asm.c: Regenerate.
1520 * m32c-asm.c: Regenerate.
1521 * m32r-asm.c: Regenerate.
1522 * m32r-dis.c: Regenerate.
1523 * mt-asm.c: Regenerate.
1524 * mt-ibld.c: Regenerate.
1525 * mt-opc.c: Regenerate.
1526 * openrisc-asm.c: Regenerate.
1527 * xc16x-asm.c: Regenerate.
1528 * xstormy16-asm.c: Regenerate.
1530 * Makefile.am: Run "make dep-am".
1531 * Makefile.in: Regenerate.
1532 * po/POTFILES.in: Regenerate.
1534 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
1536 * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
1537 INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
1538 instruction formats added.
1539 (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
1540 MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
1542 * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
1544 * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1545 (main): z9-ec cpu type option added.
1546 * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1548 2007-02-22 DJ Delorie <dj@redhat.com>
1550 * s390-opc.c (INSTR_SS_L2RDRD): New.
1551 (MASK_SS_L2RDRD): New.
1552 * s390-opc.txt (pka): Use it.
1554 2007-02-20 Thiemo Seufer <ths@mips.com>
1555 Chao-Ying Fu <fu@mips.com>
1557 * mips-dis.c (mips_arch_choices): Add DSP R2 support.
1558 (print_insn_args): Add support for balign instruction.
1559 * mips-opc.c (D33): New shortcut for DSP R2 instructions.
1560 (mips_builtin_opcodes): Add DSP R2 instructions.
1562 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1564 * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
1565 (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
1566 * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
1567 cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
1569 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1571 * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
1572 * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
1573 (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
1576 2007-02-16 Nick Clifton <nickc@redhat.com>
1579 * avr-dis.c (comment_start): New variable, contains the prefix to
1580 use when printing addresses in comments.
1581 (print_insn_avr): Set comment_start to an empty space if there is
1582 no symbol table available as the generic address printing code
1583 will prefix the numeric value of the address with 0x.
1585 2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
1587 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
1590 2007-02-05 Dave Brolley <brolley@redhat.com>
1591 Richard Sandiford <rsandifo@redhat.com>
1592 DJ Delorie <dj@redhat.com>
1593 Graydon Hoare <graydon@redhat.com>
1594 Frank Ch. Eigler <fche@redhat.com>
1595 Ben Elliston <bje@redhat.com>
1597 * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
1598 (CFILES): Add mep-*.c
1599 (ALL_MACHINES): Add mep-*.lo.
1600 (CLEANFILES): Add stamp-mep.
1601 (CGEN_CPUS): Add mep.
1602 (MEP_DEPS): New variable.
1603 (mep-*): New targets.
1604 * configure.in: Handle bfd_mep_arch.
1605 * disassemble.c (ARCH_mep): New macro.
1606 (disassembler): Handle bfd_arch_mep.
1607 (disassemble_init_for_target): Likewise.
1608 * mep-*: New files for Toshiba Media Processor (MeP).
1609 * Makefile.in: Regenerated.
1610 * configure: Regenerated.
1612 2007-02-05 H.J. Lu <hongjiu.lu@intel.com>
1614 * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
1615 wrap around within the same segment in 16bit mode.
1617 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1619 * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
1622 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1624 * avr-dis.c (avr_operand): Correct PR number in comment.
1626 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1628 * disassemble.c (disassembler_usage): Call
1629 print_i386_disassembler_options for i386 disassembler.
1631 * i386-dis.c (print_i386_disassembler_options): New.
1632 (print_insn): Support the new addr64 option.
1634 2007-02-02 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
1636 * ppc-dis.c (powerpc_dialect): Handle ppc440.
1637 * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
1640 2007-02-02 Alan Modra <amodra@bigpond.net.au>
1642 * ppc-opc.c (insert_bdm): -Many comment.
1643 (valid_bo): Add "extract" param. Accept both powerpc and power4
1644 BO fields when disassembling with -Many.
1645 (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
1647 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
1649 * m68k-opc.c (m68k_opcodes): Replace cpu32 with
1650 cpu32 | fido_a except on tbl instructions.
1652 2007-01-04 Paul Brook <paul@codesourcery.com>
1654 * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
1656 2007-01-04 Andreas Schwab <schwab@suse.de>
1658 * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
1660 2007-01-04 Julian Brown <julian@codesourcery.com>
1662 * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
1663 vqrshl instructions.
1665 For older changes see ChangeLog-2006
1671 version-control: never