1 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
3 * ppc-opc.c (powerpc_opcodes): Fix the first two operands of
4 dquaiq. to use the TE and FRT macros.
6 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
8 * ppc-opc.c (TE): Correct signedness.
9 (powerpc_opcodes): Sort psq_st and psq_stu according to major
12 2007-10-15 H.J. Lu <hongjiu.lu@intel.com>
14 * i386-dis.c (dis386_twobyte): Reformat.
15 (prefix_table): Likewise.
16 (three_byte_table): Likewise.
18 2007-10-15 Alan Modra <amodra@bigpond.net.au>
20 * mcore-dis.c (print_insn_mcore): Protect "fprintf" var against
23 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
25 * i386-gen.c (opcode_modifiers): Add FirstXmm0.
27 * i386-opc.h (FirstXmm0): New.
29 (i386_opcode_modifier): Add firstxmm0.
31 * i386-opc.tbl (blendvpd): Replace RegKludge with FirstXmm0.
34 * i386-tbl.h: Regenerated.
36 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
38 * i386-dis.c (prefix_table): Reformat pblendvb and blendvps.
40 2007-10-10 H.J. Lu <hongjiu.lu@intel.com>
42 * i386-dis.c (v_mode): Defined as previous one + 1.
49 (cond_jump_mode): Likewise.
50 (loop_jcxz_mode): Likewise.
54 (const_1_mode): Likewise.
55 (stack_v_mode): Likewise.
98 (z_mode_ax_reg): Likewise.
99 (indir_dx_reg): Likewise.
101 (DREX_NO_OC0): Likewise.
102 (DREX_MASK): Likewise.
103 (MAX_BYTEMODE): New. Issue an error if MAX_BYTEMODE is not
106 2007-10-08 H.J. Lu <hongjiu.lu@intel.com>
108 * i386-dis.c: Updated comments for 'Y'.
109 (putop): Don't add 'q' for 'Y' if suffix_always isn't true.
111 2007-10-08 Maciej W. Rozycki <macro@linux-mips.org>
113 * opcodes/mips-dis.c (mips_cp0_names_r3000): New definition.
114 (mips_cp0_names_r4000): Likewise.
115 (mips_arch_choices): Link to the above as appropriate.
117 2007-10-08 Nick Clifton <nickc@redhat.com>
119 * configure.in (SHARED_DEPENDENCIES): Change non-cygwin dependency
120 to be ../bfd/libbfd.la.
121 * configure: Regenerate.
123 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
125 * i386-dis.c (dis386_twobyte): Add getsec.
127 * i386-gen.c (cpu_flags): Add CpuSMX.
129 * i386-opc.h (CpuSMX): New.
131 (i386_cpu_flags): Add cpusmx.
133 * i386-opc.tbl: Add getsec.
134 * i386-init.h: Regenerated.
135 * i386-tbl.h: Likewise.
137 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
139 * i386-dis.c (reg_table): Use "{ XX }" on "(bad)".
140 (prefix_table): Likewise.
142 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
144 * i386-dis.c (dis386_twobyte): Use EXx instead of EXq on
145 unpckhpX and unpckhpX.
147 2007-10-04 David Daney <ddaney@avtrex.com>
149 * mips-opc.c (mips_builtin_opcodes): Mark lwxc1 as working on FP_S
152 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
154 * i386-dis.c (MOD_0F12_PREFIX_0): Use "movlps" and "movhlps"
155 instead of "movlpX" and "movhlpX", respectively.
156 (MOD_0F16_PREFIX_0): Use "movhps" and "movlhps" instead of
157 "movhpX" and "movlhpX", respectively.
159 2007-10-04 Nick Clifton <nickc@redhat.com>
161 * configure.in (WIN32LDFLAGS): Rename to SHARED_LDFLAGS.
162 (WIN32LIBADD): Rename to SHARED_LIBADD
163 (SHARED_DEPENDENCIES): New exported variable.
164 (enable_shared): Add dependency upon libbfd.la for non-cygwin
165 based shared library builds.
166 * Makefile.am (libopcodes_la_DEPENDENCIES): Append
168 (libopcodes_la_LIBADD): Rename WIN32LIBADD to SHARED_LIBADD.
169 (libopcodes_la_LDFLAGS): Rename WIN32LDFLAGS to SHARED_LDFLAGS.
170 * configure: Regenerate.
171 * Makefile.in: Regenerate.
174 * arc-opc.c (insert_offset): Fix spelling mistake in error
177 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
179 * i386-dis.c (OP_REG): Set add to 0 only when needed.
188 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
190 * i386-opc.tbl: Update SSE comments.
192 2007-10-01 H.J. Lu <hongjiu.lu@intel.com>
194 * i386-dis.c (THREE_BYTE_0FBA): Renamed to ...
195 (THREE_BYTE_0F7B): This.
196 (dis386_twobyte): Updated.
197 (three_byte_table): Updated comments.
199 2007-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
201 * cr16-opc.c: Updated the branch on condition instructions with
204 2007-09-30 H.J. Lu <hongjiu.lu@intel.com>
206 * 386-dis.c (prefix_table): Reformat comment.
208 2007-09-29 H.J. Lu <hongjiu.lu@intel.com>
210 * 386-dis.c (USE_GROUPS): Renamed to ...
211 (USE_REG_TABLE): This.
212 (USE_OPC_EXT_TABLE): Renamed to ...
213 (USE_MOD_TABLE): This.
214 (USE_OPC_EXT_RM_TABLE): Renamed to ...
215 (USE_RM_TABLE): This.
216 (USE_XXX_TABLE): Reordered.
217 (GRP): Renamed to ...
219 (OPC_EXT_TABLE): Renamed to ...
221 (OPC_EXT_RM_TABLE): Renamed to ...
223 (GRP_XXX): Renamed to ...
225 (PREGRP_XXX): Renamed to ...
227 (OPC_EXT_XXX): Renamed to ...
229 (OPC_EXT_RM_XXX): Renamed to ...
231 (grps): Renamed to ...
233 (prefix_user_table): Renamed to ...
235 (opc_ext_table): Renamed to ...
237 (opc_ext_rm_table): Renamed to ...
239 (OPC_EXT_RM_XXX): Likewise.
241 (dis386_twobyte): Likewise.
242 (reg_table): Likewise.
243 (prefix_table): Likewise.
244 (x86_64_table): Likewise.
245 (three_byte_table): Likewise.
246 (mod_table): Likewise.
247 (rm_table): Likewise.
248 (get_valid_dis386): Likewise.
250 2007-09-28 H.J. Lu <hongjiu.lu@intel.com>
252 * 386-dis.c (USE_PREFIX_USER_TABLE): Renamed to ...
253 (USE_PREFIX_TABLE): This.
254 (X86_64_SPECIAL): Renamed to ...
255 (USE_X86_64_TABLE): This.
256 (IS_3BYTE_OPCODE): Renamed to ...
257 (USE_3BYTE_TABLE): This.
259 (PREGRPXXX): Likewise.
260 (X86_64_XXX): Likewise.
261 (THREE_BYTE_XXX): Likewise.
262 (OPC_EXT_XXX): Likewise.
263 (OPC_EXT_RM_XXX): Likewise.
267 (X86_64_TABLE): Likewise.
268 (THREE_BYTE_TABLE): Likewise.
269 (OPC_EXT_TABLE): Likewise.
270 (OPC_EXT_RM_TABLE): Likewise.
272 (PREGRP_XXX): Likewise.
273 (X86_64_XXX): Likewise.
274 (THREE_BYTE_XXX): Likewise.
275 (OPC_EXT_XXX): Likewise.
276 (OPC_EXT_RM_XXX): Likewise.
278 (dis386_twobyte): Likewise.
280 (prefix_user_table): Likewise.
281 (x86_64_table): Likewise.
282 (three_byte_table): Likewise.
283 (opc_ext_table): Likewise.
284 (opc_ext_rm_table): Likewise.
285 (get_valid_dis386): Likewise.
287 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
289 * i386-dis.c (dis386): Swap X86_64_27 with OPC_EXT_2.
290 (x86_64_table): Likewise.
291 (opc_ext_table): Likewise.
293 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
296 * i386-dis.c: Update comments on '{', '}' and '|' to support
297 only AT&T and Intel modes.
298 (X86_64_4...X86_64_27): New.
299 (dis386): Updated. Use X86_64_4...X86_64_21.
300 (dis386_twobyte): Updated.
301 (float_mem): Likewise.
302 (x86_64_table): Add X86_64_4...X86_64_27.
303 (opc_ext_table): Updated. Use X86_64_22...X86_64_27.
304 (putop): Updated handling of '{', '}' and '|' to support only
305 AT&T and Intel modes.
307 2007-09-27 Kazu Hirata <kazu@codesourcery.com>
309 * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb.
311 2007-09-26 James E. Wilson <wilson@specifix.com>
313 * ia64-gen.c (print_dependency_table): Fix typo in last patch.
315 2007-09-26 Nick Clifton <nickc@redhat.com>
317 * mt-asm.c (parse_imm16): Reword error message in order to allow
318 it to be translated properly.
319 * ia64-gen.c (print_dependency_table): Likewise.
320 * mips-dis.c (print_insn_args): Likewise.
322 2007-09-26 Jan Beulich <jbeulich@novell.com>
324 * i386-dis.c (OP_E_extended): Distinguish rip- and eip-
325 relative addressing. Update used_prefixes based on whether any
326 base or index register was printed.
328 2007-09-26 Jan Beulich <jbeulich@novell.com>
330 * i386-opc.h (RegEip): Define.
332 * i386-reg.tbl: Add eip. Mark rip and eip with RegRex64.
333 * i386-tbl.h: Re-generate.
335 2007-09-25 H.J. Lu <hongjiu.lu@intel.com>
337 * i386-gen.c (process_i386_opcodes): Process opcode_length.
339 * i386-opc.h (template): Add opcode_length.
340 * 386-opc.tbl: Likewise.
341 * i386-tbl.h: Regenerated.
343 2007-09-21 H.J. Lu <hongjiu.lu@intel.com>
345 * i386-opc.h: Adjust whitespaces.
347 2007-09-21 Dave Brolley <brolley@redhat.com>
349 * mep-desc.c: Regenerated.
351 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
353 * i386-dis.c (OP_E_extended): Display eiz for [eiz*1 + offset].
355 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
358 * 386-dis.c (index64): New.
360 (intel_index64): Likewise.
361 (intel_index32): Likewise.
362 (att_index64): Likewise.
363 (att_index32): Likewise.
364 (print_insn): Set index64 and index32.
365 (OP_E_extended): Use index64/index32 for index register for
368 * i386-opc.h (RegEiz): New.
371 * i386-reg.tbl: Add eiz and riz.
372 * i386-tbl.h: Regenerated.
374 2007-09-19 H.J. Lu <hongjiu.lu@intel.com>
376 * i386-dis.c (OP_E_extended): Always display scale for memory.
378 2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
380 * i386-opc.h (RegRip): New.
382 * i386-reg.tbl (rip): Use RegRip for reg_num.
383 * i386-tbl.h: Regenerated.
385 2007-09-17 Nick Clifton <nickc@redhat.com>
387 * po/es.po: Updated Spanish translation.
389 2007-09-14 H.J. Lu <hongjiu.lu@intel.com>
391 * Makefile.am: Run "make dep-am".
392 * Makefile.in: Regenerate.
394 2007-09-14 Michael Meissner <michael.meissner@amd.com>
395 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
396 Tony Linthicum <tony.linthicum@amd.com>
398 * i386-opc.h (CpuSSE5): New macro.
399 (i386_cpu_flags): Add Drex, Drexv and Drexc.
401 * i386-gen.c (cpu_flag_init): Add CPU_SSE5_FLAGS.
402 (operand_type_init): Add CpuSSE5.
403 (opcode_modifiers): Add Drex, Drexv and Drexc.
404 (i386_opcode_modifier): Ditto.
406 * i386-opc.tbl (fmaddps,fmaddpd,fmaddss,fmaddsd): Define SSE5
408 (fmsubps,fmsubpd,fmsubss,fmsubsd): Ditto.
409 (fnmaddps,fnmaddpd,fnmaddss,fnmaddsd): Ditto.
410 (fnmsubps,fnmsubpd,fnmsubss,fnmsubsd): Ditto.
411 (pmacssww,pmacsww,pmacsswd,pmacswd): Ditto.
412 (pmacssdd,pmacsdd,pmacssdql,pmacssdqh): Ditto.
413 (pmacsdql,pmacsdqh,pmadcsswd,pmadcswd): Ditto.
414 (phaddbw,phaddbd,phaddbq,phaddwd): Ditto.
415 (phaddwq,phadddq,phaddubw,phaddubd): Ditto.
416 (phaddubq,phadduwd,phadduwq,phaddudq): Ditto.
417 (phsubbw,phsubwd,phsubdq): Ditto.
418 (pcmov,pperm,permps,permpd): Ditto.
419 (protb,protw,protd,protq): Ditto.
420 (pshlb,pshlw,pshld,pshlq): Ditto.
421 (pshab,pshaw,pshad,pshaq): Ditto.
422 (comps,comeqps,comltps,comungeps,comleps,comungtps): Ditto.
423 (comunordps,comneps,comneqps,comnltps,comugeps): Ditto.
424 (comnleps,comugtps,comordps,comueqps,comultps): Ditto.
425 (comngeps,comuleps,comngtps,comfalseps,comuneps): Ditto.
426 (comuneqps,comunltps,comgeps,comunleps,comgtps,comtrueps): Ditto.
427 (compd,comeqpd,comltpd,comungepd,comlepd,comungtpd,comunordpd): Ditto.
428 (comnepd,comneqpd,comnltpd,comugepd,comnlepd,comugtpd): Ditto.
429 (comordpd,comueqpd,comultpd,comngepd,comulepd,comngtpd): Ditto.
430 (comfalsepd,comunepd,comuneqpd,comunltpd,comgepd): Ditto.
431 (comunlepd,comgtpd,comtruepd): Ditto.
432 (comss,comeqss,comltss,comungess,comless,comungtss,comunordss): Ditto.
433 (comness,comneqss,comnltss,comugess,comnless,comugtss): Ditto.
434 (comordss,comueqss,comultss,comngess,comuless,comngtss): Ditto.
435 (comfalsess,comuness,comuneqss,comunltss,comgess): Ditto.
436 (comunless,comgtss,comtruess): Ditto.
437 (comsd,comeqsd,comltsd,comungesd,comlesd,comungtsd,comunordsd): Ditto.
438 (comnesd,comneqsd,comnltsd,comugesd,comnlesd,comugtsd): Ditto.
439 (comordsd,comueqsd,comultsd,comngesd,comulesd,comngtsd): Ditto.
440 (comfalsesd,comunesd,comuneqsd,comunltsd,comgesd): Ditto.
441 (comunlesd,comgtsd,comtruesd): Ditto.
442 (pcomub,pcomltub,pcomleub,pcomgtub,pcomgeub,pcomequb): Ditto.
443 (pcomnequb,pcomneub): Ditto.
444 (pcomuw,pcomltuw,pcomleuw,pcomgtuw,pcomgeuw,pcomequw): Ditto.
445 (pcomnequw,pcomneuw): Ditto.
446 (pcomud,pcomltud,pcomleud,pcomgtud,pcomgeud,pcomequd): Ditto.
447 (pcomnequd,pcomneud): Ditto.
448 (pcomuq,pcomltuq,pcomleuq,pcomgtuq,pcomgeuq,pcomequq): Ditto.
449 (pcomnequq,pcomneuq): Ditto.
450 (pcomb,pcomltb,pcomleb,pcomgtb,pcomgeb,pcomeqb): Ditto.
451 (pcomneqb,pcomneb): Ditto.
452 (pcomw,pcomltw,pcomlew,pcomgtw,pcomgew,pcomeqw): Ditto.
453 (pcomneqw,pcomnew): Ditto.
454 (pcomd,pcomltd,pcomled,pcomgtd,pcomged,pcomeqd): Ditto.
455 (pcomneqd,pcomned): Ditto.
456 (pcomq,pcomltq,pcomleq,pcomgtq,pcomgeq): Ditto.
457 (pcomeqq,pcomneqq,pcomneq): Ditto.
458 (pcomtrueb, pcomtruew, pcomtrued, pcomtrueq): Ditto.
459 (pcomtrueub, pcomtrueuw, pcomtrueud, pcomtrueuq): Ditto.
460 (pcomfalseb, pcomfalsew, pcomfalsed, pcomfalseq): Ditto.
461 (pcomfalseub, pcomfalseuw, pcomfalseud, pcomfalseuq): Ditto.
462 (frczps,frczpd,frczss,frczsd): Ditto.
463 (cvtph2ps,cvtps2ph): Ditto.
465 * i386-tbl.h: Regenerate from i386-opc.tbl.
466 * i386-init.h: Likewise.
468 * i386-dis.c (libiberty.h): Include to get ARRAY_SIZE.
469 (dis386_move_test): New disassembly support for move from test
470 register instruction that overlaps with SSE5 instructions.
471 (print_insn): Add support for special casing the i386/i486 move
472 from test register instruction that overlaps with the SSE5
473 0x0f24 4 operand instructions.
474 (OP_DREX_ICMP): New macros for SSE5 DREX handling.
475 (OP_DREX_FCMP): Ditto.
476 (OP_E_extended): Rename from OP_E, add additional argument to skip
478 (OP_E): Call OP_E_extended.
479 (DREX_REG_MEMORY): New macros for drex handling.
480 (DREX_REG_UNKNOWN): Ditto.
482 (DREX4_NO_OC0): Ditto.
484 (three_byte_table): Add SSE5 instructions.
485 (print_drex_arg): New function to print a DREX register or memory
487 (OP_DREX4): New function for handling DREX 4 argument ops.
488 (OP_DREX3): New function for handling DREX 3 argument ops.
489 (twobyte_has_modrm): 0f{25,7a,7b} all use the modrm byte.
490 (THREE_BYTE_SSE5_0F{24,25,7A,7B}): New macros for initializing 3
491 byte opcode support for SSE5 instructions.
492 (dis386_twobyte): Add SSE5 24/25/7a/7b support.
493 (three_byte_table): Add rows for describing SSE5 instructions.
495 2007-09-13 H.J. Lu <hongjiu.lu@intel.com>
497 * i386-dis.c (get_valid_dis386): Take a pointer to
498 disassemble_info. Handle IS_3BYTE_OPCODE.
499 (print_insn): Updated. Don't handle IS_3BYTE_OPCODE here.
501 2007-09-12 H.J. Lu <hongjiu.lu@intel.com>
503 * i386-opc.h (CpuUnused): Defined with CpuMax.
504 (OTUnused): Defined with OTMax.
506 2007-09-12 Jan Beulich <jbeulich@novell.com>
508 * i386-opc.tbl: Add two-operand forms of blendvps, blendvpd, and
510 * i386-tbl.h: Regenerate.
512 2007-09-09 H.J. Lu <hongjiu.lu@intel.com>
514 * i386-gen.c (main): Remove the local variable, unused.
516 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
518 * Makefile.am: Run "make dep-am".
519 * Makefile.in: Regenerate.
521 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
523 * configure.in (AC_CHECK_HEADERS): Add limits.h.
524 * configure: Regenerated.
525 * config.in: Likewise.
527 * i386-gen.c: Include "sysdep.h" instead of <stdlib.h> and
528 <string.h>. Use xstrerror instead of strerror.
530 (cpu_flag_init): Likewise.
531 (bitfield): Likewise.
533 (cpu_flags): Likewise.
534 (opcode_modifiers): Likewise.
535 (operand_types): Likewise.
537 (set_cpu_flags): Likewise.
538 (output_cpu_flags): Likewise.
539 (process_i386_cpu_flags): Likewise.
540 (output_opcode_modifier): Likewise.
541 (process_i386_opcode_modifier): Likewise.
542 (output_operand_type): Likewise.
543 (process_i386_operand_type): Likewise.
544 (set_bitfield): Likewise.
545 (operand_type_init): Likewise.
546 (process_i386_initializers): Likewise.
547 (process_i386_opcodes): Call process_i386_opcode_modifier to
548 process opcode_modifier. Call process_i386_operand_type to
549 process operand_types.
550 (process_i386_registers): Call process_i386_operand_type to
552 (main): Check unused bits in i386_cpu_flags and i386_operand_type.
553 Sort cpu_flags, opcode_modifiers and operand_types. Call
554 process_i386_initializers.
557 * i386-tbl.h: Regenerated.
559 * i386-opc.h: Include <limits.h>.
560 (CHAR_BIT): Define as 8 if not defined.
561 (Cpu186): Changed to position of bitfiled.
574 (Cpu3dnow): Likewise.
575 (Cpu3dnowA): Likewise.
577 (CpuPadLock): Likewise.
580 (CpuSSSE3): Likewise.
581 (CpuSSE4a): Likewise.
583 (CpuSSE4_1): Likewise.
584 (CpuSSE4_2): Likewise.
590 (ShortForm): Likewise.
592 (JumpDword): Likewise.
593 (JumpByte): Likewise.
594 (JumpInterSegment): Likewise.
601 (IgnoreSize): Likewise.
602 (DefaultSize): Likewise.
610 (IsString): Likewise.
611 (RegKludge): Likewise.
612 (IsPrefix): Likewise.
621 (FloatReg): Likewise.
631 (BaseIndex): Likewise.
637 (InOutPortReg): Likewise.
638 (ShiftCount): Likewise.
645 (FloatAcc): Likewise.
646 (JumpAbsolute): Likewise.
650 (Reg): Commented out.
652 (ImplicitRegister): Likewise.
657 (LLongMem): Likewise.
659 (ShortMem): Likewise.
664 (CpuNumOfUints): Likewise.
665 (CpuNumOfBits): Likewise.
666 (CpuUnused): Likewise.
667 (OTNumOfUints): Likewise.
668 (OTNumOfBits): Likewise.
669 (OTUnused): Likewise.
670 (i386_cpu_flags): New type.
671 (i386_operand_type): Likewise.
672 (i386_opcode_modifier): Likewise.
673 (CpuSledgehammer): Removed.
675 (CpuUnknownFlags): Likewise.
678 (ImplicitRegister): Likewise.
683 (LLongMem): Likewise.
685 (ShortMem): Likewise.
688 (template): Use i386_cpu_flags for cpu_flags, use
689 i386_opcode_modifier for opcode_modifier, use
690 i386_operand_type for operand_types.
691 (reg_entry): Use i386_operand_type for reg_type.
693 * Makefile.am (HFILES): Add i386-init.h.
694 ($(srcdir)/i386-init.h): New rule.
695 ($(srcdir)/i386-tbl.h): Depend on $(srcdir)/i386-init.h
697 * Makefile.in: Regenerated.
699 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
701 * i386-gen.c (next_field): Updated to take a separator.
702 (process_i386_opcodes): Updated.
703 (process_i386_registers): Likewise.
705 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
707 * i386-gen.c (table): Moved ...
708 (main): Here. Call process_copyright to output copyright.
709 (process_copyright): New.
710 (process_i386_opcodes): Take FILE *table.
711 (process_i386_registers): Likewise.
713 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
715 * i386-gen.c (table): New.
716 (process_i386_opcodes): Report errno when faied to open
717 i386-opc.tbl. Output opcodes to table. Close i386-opc.tbl
719 (process_i386_registers): Report errno when faied to open
720 i386-reg.tbl. Output opcodes to table. Close i386-reg.tbl
722 (main): Open i386-tbl.h for output.
724 * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@".
725 * Makefile.in: Regenerated.
727 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
729 * i386-opc.tbl: Correct SVME instructions to allow 32bit register
730 operand in 64bit mode.
731 * i386-tbl.h: Regenerated.
733 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
735 * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
736 (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
737 (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
739 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
741 * i386-dis.c (SVME_Fixup): Removed.
743 (OPC_EXT_RM_6): Likewise.
744 (grps): Use OPC_EXT_39.
745 (opc_ext_table): Add OPC_EXT_39.
746 (opc_ext_rm_table): Add OPC_EXT_RM_6.
748 * i386-opc.tbl: Correct SVME instructions to take register
750 * i386-tbl.h: Regenerated.
752 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
754 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
755 * Makefile.in: Regenerated.
757 * configure.in (AC_GNU_SOURCE): Added.
758 (AC_PROG_CC): Moved before AC_GNU_SOURCE.
759 (AC_CHECK_DECLS): Add stpcpy.
760 * configure: Regenerated.
761 * config.in: Likewise.
763 * i386-dis.c: Include "sysdep.h" before "dis-asm.h".
765 * sysdep.h (stpcpy): New.
767 2007-08-30 H.J. Lu <hongjiu.lu@intel.com>
769 * i386-dis.c (INVLPG_Fixup): Removed.
771 (OPC_EXT_RM_5): Likewise.
772 (grps): Use OPC_EXT_38.
773 (opc_ext_table): Add OPC_EXT_38.
774 (opc_ext_rm_table): Add OPC_EXT_RM_5.
776 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
778 * i386-dis.c (SIMD_Fixup): Removed.
779 (OPC_EXT_34...OPC_EXT_37): New.
780 (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
781 (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
782 (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
784 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
786 * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
787 (dis386): Use OPC_EXT_0...OPC_EXT_2.
788 (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
789 (grps): Updated to use OPC_EXT_6...OPC_EXT_31.
790 (prefix_user_table): Use OPC_EXT_32.
791 (x86_64_table): Use OPC_EXT_33.
792 (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
794 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
796 * i386-dis.c (prefix_user_table): Fix comment.
798 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
800 * i386-dis.c (OP_Skip_MODRM): New.
801 (OP_Monitor): Likewise.
802 (OP_Mwait): Likewise.
804 (Skip_MODRM): Likewise.
805 (USE_OPC_EXT_TABLE): Likewise.
806 (USE_OPC_EXT_RM_TABLE): Likewise.
807 (PREGRP98...PREGRP100): Likewise.
808 (OPC_EXT_0...OPC_EXT_24): Likewise.
809 (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
810 (lock_prefix): Likewise.
811 (data_prefix): Likewise.
812 (addr_prefix): Likewise.
813 (repz_prefix): Likewise.
814 (repnz_prefix): Likewise.
815 (opc_ext_table): Likewise.
816 (opc_ext_rm_table): Likewise.
817 (get_valid_dis386): Likewise.
820 (PNI_Fixup): Likewise.
821 (VMX_Fixup): Likewise.
823 (twobyte_uses_DATA_prefix): Likewise.
824 (twobyte_uses_REPNZ_prefix): Likewise.
825 (twobyte_uses_REPZ_prefix): Likewise.
826 (threebyte_0x38_uses_DATA_prefix): Likewise.
827 (threebyte_0x38_uses_REPNZ_prefix): Likewise.
828 (threebyte_0x38_uses_REPZ_prefix): Likewise.
829 (threebyte_0x3a_uses_DATA_prefix): Likewise.
830 (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
831 (threebyte_0x3a_uses_REPZ_prefix): Likewise.
832 (grps): Use OPC_EXT_0...OPC_EXT_24.
833 (prefix_user_table): Add PREGRP98...PREGRP100.
834 (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
835 uses_REPNZ_prefix and uses_REPZ_prefix. Initialize
836 repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
837 data_prefix based on prefixes. Call get_valid_dis386 to
838 get a pointer to the valid dis386. Print out prefixes if
840 (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
841 (REP_Fixup): Set repz_prefix to "rep " when seeing
844 2007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
846 * po/nl.po: Updated translation.
848 2007-08-28 H.J. Lu <hongjiu.lu@intel.com>
850 * i386-dis.c (Md): New.
851 (grps): Use 0 on invlpg. Use M on fxsave and fxrstor. Use
852 Md on ldmxcsr and stmxcsr. Use b_mode on clflush.
853 (OP_0fae): Clear bytemode for sfence.
855 2007-08-22 Ben Elliston <bje@au.ibm.com>
857 * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
858 (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
860 (powerpc_opcodes): Add all pair singles instructions.
861 * ppc-dis.c (powerpc_dialect): Handle "ppcps".
862 (print_ppc_disassembler_options): Document -Mppcps.
864 2007-08-21 Andreas Krebbel <krebbel1@de.ibm.com>
866 * s390-mkopc.c (struct s390_cond_ext_format): New global struct.
867 (s390_cond_ext_format): New global variable.
868 (expandConditionalJump): New function.
869 (main): Invoke expandConditionalJump for mnemonics containing '*'.
870 * s390-opc.txt: Replace mnemonics with conditional
871 mask extensions with instructions using the newly introduced '*' tag.
873 2007-08-17 Alan Modra <amodra@bigpond.net.au>
875 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
877 2007-08-10 Nick Clifton <nickc@redhat.com>
879 * po/fi.po: Updated Finnish translation.
880 * po/ga.po: Updated Irish translation.
881 * po/vi.po: Updated Vietnamese translation.
883 2007-08-09 H.J. Lu <hongjiu.lu@intel.com>
885 * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
886 pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
887 * i386-tbl.h: Regenerated.
889 2007-08-03 James E. Wilson <wilson@specifix.com>
891 * ia64-gen.c: (main): Add missing newline to copyright message.
892 * ia64-ic.tbl (fp-non-arith): Add xmpy.
893 * ia64-asmtab.c: Regenerate.
895 2007-08-01 Michael Snyder <msnyder@access-company.com>
897 * i386-dis.c (print_insn): Guard against NULL.
899 2007-07-29 H.J. Lu <hongjiu.lu@intel.com>
902 * i386-dis.c (EXw): New.
903 (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
904 instructions when appropriated.
906 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
909 * i386-dis.c (Eq): New.
910 (EMC): Renamed to ...
911 (EMCq): This. Use q_mode instead of v_mode.
912 (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
915 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
917 * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
918 (prefix_user_table): Likewise. Use EXq instead of EXx on
921 2007-07-27 Nathan Sidwell <nathan@codesourcery.com>
923 * ppc-opc (PPC7450): New.
924 (powerpc_opcodes): Use it in dcba.
926 2007-07-24 H.J. Lu <hongjiu.lu@intel.com>
928 * i386-gen.c (main): Print a newline after copyright notice.
930 2007-07-19 Nick Clifton <nickc@redhat.com>
933 * maxq-dis.c (get_reg_name): Fix the scan of the
934 mem_access_syntax_table.
936 2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
938 * i386-dis.c (EMq): Removed.
940 (prefix_user_table): Replace EMq with EMx.
942 2007-07-16 Nick Clifton <nickc@redhat.com>
944 * po/nl.po: Updated translation.
946 2007-07-12 Nick Clifton <nickc@redhat.com>
948 * po/vi.po: Updated translation.
949 * po/nl.po: Updated translation.
951 2007-07-06 Mark Kettenis <kettenis@gnu.org>
952 H.J. Lu <hongjiu.lu@intel.com>
954 * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
955 (ia64-asmtab.c): Likewise.
956 * Makefile.in: Regenerate.
958 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
960 * aclocal.m4: Regenerated.
962 2007-07-04 Nick Clifton <nickc@redhat.com>
964 * alpha-dis.c: Update copyright notice to refer to GPLv3.
965 * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h,
966 arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c,
967 cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in,
968 cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c,
969 cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c,
970 d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c,
971 dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c,
972 h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c,
973 i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c,
974 ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c,
975 ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c,
976 ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c,
977 m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c,
978 m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c,
979 mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c,
980 mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c,
981 or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c,
982 ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c,
983 score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h,
984 sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c,
985 spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c,
986 tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c,
987 vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c,
988 z8k-dis.c, z8kgen.c: Likewise.
989 * i386-opc.tbl, i386-reg.tbl: Add copyright notice.
990 * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h,
991 fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c,
992 frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c,
993 frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c,
994 ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h,
995 iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c,
996 iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c,
997 m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c,
998 m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
999 m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c,
1000 mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c,
1001 mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c,
1002 mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c,
1003 openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c,
1004 openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h,
1005 xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h,
1006 xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h,
1007 xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c,
1008 xstormy16-opc.h, z8k-opc.h: Regenerated
1010 2007-07-04 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1012 * cr16-dis.c (getcinvstring): Add const qualifier to char *
1014 (print_insn_cr16): Remove cast to char *.
1016 2007-07-03 Nathan Sidwell <nathan@codesourcery.com>
1018 * m68k-dis.c (fetch_arg): Add E. Replace length switch with
1020 (print_ins_arg): Add j & K operand types.
1021 (match_insn_m68k): Check and skip initial '.' arg character.
1022 (m68k_scan_mask): Likewise.
1023 * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
1025 2007-07-02 Alan Modra <amodra@bigpond.net.au>
1027 * Makefile.am: Run "make dep-am".
1028 * Makefile.in: Regenerate.
1029 * aclocal.m4: Regenerate.
1030 * config.in: Regenerate.
1031 * po/POTFILES.in: Regenerate.
1032 * po/opcodes.pot: Regenerate.
1034 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
1036 * aclocal.m4: Regenerated.
1037 * Makefile.in: Likewise.
1039 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
1041 * i386-reg.tbl: Remove spaces before comments.
1043 2007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1045 * cr16-opc.c: New file.
1046 * cr16-dis.c: New file.
1047 * Makefile.am: Entries for cr16.
1048 * Makefile.in: Regenerate.
1049 * cofigure.in: Add cr16 target information.
1050 * configure : Regenerate.
1051 * disassemble.c: Add cr16 target information.
1053 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
1055 * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
1056 (CFILES): Add i386-gen.c.
1057 (i386-gen): New rule.
1058 (i386-gen.o): Likewise.
1059 (i386-tbl.h): Likewise.
1061 * Makefile.in: Regenerated.
1063 * i386-gen.c: New file.
1064 * i386-opc.tbl: Likewise.
1065 * i386-reg.tbl: Likewise.
1066 * i386-tbl.h: Likewise.
1068 * i386-opc.c: Include "i386-tbl.h".
1069 (i386_optab): Removed.
1070 (i386_regtab): Likewise.
1071 (i386_regtab_size): Likewise.
1073 2007-06-26 Paul Brook <paul@codesourcery.com>
1075 * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
1077 2007-06-25 H.J. Lu <hongjiu.lu@intel.com>
1079 * i386-opc.h (regKludge): Renamed to ...
1082 * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
1084 2007-06-23 H.J. Lu <hongjiu.lu@intel.com>
1087 * i386-dis.c (EX): Removed.
1093 (PREGRP93...PREGRP97): Likewise.
1094 (dis386_twobyte): Updated.
1095 (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
1096 (OP_EX): Remove Intel syntax handling.
1098 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
1100 * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
1102 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
1104 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
1106 * acinclude.m4: Removed.
1108 * Makefile.in: Regenerated.
1109 * doc/Makefile.in: Likewise.
1110 * aclocal.m4: Likewise.
1111 * configure: Likewise.
1113 2007-06-05 Paul Brook <paul@codesourcery.com>
1115 * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
1117 2007-05-24 Steve Ellcey <sje@cup.hp.com>
1119 * Makefile.in: Regnerate.
1120 * configure: Regenerate.
1121 * aclocal.m4: Regenerate.
1123 2007-05-18 Alan Modra <amodra@bigpond.net.au>
1125 * ppc-dis.c (print_insn_powerpc): Don't skip all operands
1126 after setting skip_optional.
1128 2007-05-16 Peter Bergner <bergner@vnet.ibm.com>
1130 * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
1131 (print_insn_powerpc): Use the new operand_value_powerpc and
1132 skip_optional_operands functions to omit or print all optional
1133 operands as a group.
1134 * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
1135 (XFL_MASK): Delete L and W bits from the mask.
1136 (mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK
1137 with XWRA_MASK. Use W.
1138 (mtfsf, mtfsf.): Use XFL_L and W.
1140 2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
1143 * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
1145 2007-05-10 H.J. Lu <hongjiu.lu@intel.com>
1147 * i386-opc.h (ShortForm): Redefined.
1149 (JumpDword): Likewise.
1150 (JumpByte): Likewise.
1151 (JumpInterSegment): Likewise.
1152 (FloatMF): Likewise.
1158 (IgnoreSize): Likewise.
1159 (DefaultSize): Likewise.
1160 (No_bSuf): Likewise.
1161 (No_wSuf): Likewise.
1162 (No_lSuf): Likewise.
1163 (No_sSuf): Likewise.
1164 (No_qSuf): Likewise.
1165 (No_xSuf): Likewise.
1167 (IsString): Likewise.
1168 (regKludge): Likewise.
1169 (IsPrefix): Likewise.
1171 (NoRex64): Likewise.
1175 2007-05-07 H.J. Lu <hongjiu.lu@intel.com>
1177 * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
1178 for some SSE4 instructions.
1179 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1181 2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
1183 * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
1185 * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
1188 2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
1190 * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
1191 check data size prefix in 16bit mode.
1193 * i386-opc.c (i386_optab): Default crc32 to non-8bit and
1196 2007-04-30 Mark Salter <msalter@redhat.com>
1198 * frv-desc.c: Regenerate.
1199 * frv-desc.h: Regenerate.
1201 2007-04-30 Alan Modra <amodra@bigpond.net.au>
1204 * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
1206 2007-04-27 H.J. Lu <hongjiu.lu@intel.com>
1208 * i386-dis.c (modrm): Put reg before rm.
1210 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1213 * i386-dis.c (print_displacement): New.
1214 (OP_E): Call print_displacement instead of print_operand_value
1215 to output displacement when either base or index exist. Print
1216 the explicit zero displacement in 16bit mode.
1218 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1221 * i386-dis.c (print_insn): Also swap the order of op_riprel
1222 when swapping op_index. Break when the RIP relative address
1224 (OP_E): Properly handle RIP relative addressing and print the
1225 explicit zero displacement for Intel mode.
1227 2007-04-27 Alan Modra <amodra@bigpond.net.au>
1229 * Makefile.am: Run "make dep-am".
1230 * Makefile.in: Regenerate.
1231 * ns32k-dis.c: Include sysdep.h first.
1233 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
1235 * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
1237 * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
1239 2007-04-24 Nick Clifton <nickc@redhat.com>
1241 * arm-dis.c (print_insn): Initialise type.
1243 2007-04-24 Alan Modra <amodra@bigpond.net.au>
1245 * cgen-types.h: Include bfd_stdint.h, not stdint.h.
1246 * Makefile.am: Run "make dep-am".
1247 * Makefile.in: Regenerate.
1249 2007-04-23 Nathan Sidwell <nathan@codesourcery.com>
1251 * m68k-opc.c: Mark mcfisa_c instructions.
1253 2007-04-21 Richard Earnshaw <rearnsha@arm.com>
1255 * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
1256 (thumb_opcodes): Add missing white space in adr.
1257 (arm_decode_shift): New parameter, print_shift. Only decode the
1258 shift parameter if set. Adjust callers.
1259 (print_insn_arm): Support for operand type q with no shift decode.
1261 2007-04-21 Alan Modra <amodra@bigpond.net.au>
1263 * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
1265 (i386_regtab): ..here.
1266 * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
1268 * ppc-opc.c (powerpc_operands): Delete duplicate entries.
1269 (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
1270 (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
1271 (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
1273 2007-04-20 Nathan Sidwell <nathan@codesourcery.com>
1275 * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
1278 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1280 * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
1282 * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
1283 in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove
1284 references to following deleted functions.
1285 (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
1286 (insert_ds, extract_ds, insert_de, extract_de): Delete.
1287 (insert_des, extract_des, insert_li, extract_li): Delete.
1288 (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
1289 (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
1290 (num_powerpc_operands): New constant.
1291 (XSPRG_MASK): Remove entire SPRG field.
1292 (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
1294 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1296 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
1298 (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
1300 2007-04-20 Richard Earnshaw <rearnsha@arm.com>
1302 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
1305 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1307 * Makefile.am: Run "make dep-am".
1308 * Makefile.in: Regenerate.
1309 * po/POTFILES.in: Regenerate.
1311 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1313 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
1314 db10cyc, db12cyc, db16cyc.
1316 2007-04-19 Nathan Froyd <froydnj@codesourcery.com>
1318 * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
1320 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1322 * i386-dis.c (CRC32_Fixup): New.
1323 (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
1325 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
1326 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1327 (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
1328 PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
1329 (three_byte_table): Likewise.
1331 * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
1333 * i386-opc.h (CpuSSE4_2): New.
1334 (CpuSSE4): Likewise.
1335 (CpuUnknownFlags): Add CpuSSE4_2.
1337 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1339 * i386-dis.c (XMM_Fixup): New.
1345 (PREGRP39 ... PREGRP85): New.
1346 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
1347 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1348 (prefix_user_table): Add PREGRP39 ... PREGRP85.
1349 (three_byte_table): Likewise.
1350 (putop): Handle 'K'.
1351 (intel_operand_size): Handle dqb_mode, dqd_mode):
1355 * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
1357 * i386-opc.h (CpuSSE4_1): New.
1358 (CpuUnknownFlags): Add CpuSSE4_1.
1359 (regKludge): Update comment.
1361 2007-04-18 Matthias Klose <doko@ubuntu.com>
1363 * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
1364 * Makefile.in: Regenerate.
1366 2007-04-14 Steve Ellcey <sje@cup.hp.com>
1368 * Makefile.am: Add ACLOCAL_AMFLAGS.
1369 * Makefile.in: Regenerate.
1371 2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
1373 * i386-dis.c: Remove trailing white spaces.
1374 * i386-opc.c: Likewise.
1375 * i386-opc.h: Likewise.
1377 2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
1380 * i386-dis.c (GRP1a): New.
1381 (GRP1b ... GRPPADLCK2): Update index.
1382 (dis386): Use GRP1a for entry 0x8f.
1383 (mod, rm, reg): Removed. Replaced by ...
1387 2007-04-09 Kazu Hirata <kazu@codesourcery.com>
1389 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
1390 info->print_address_func if longjmp is called.
1392 2007-03-29 DJ Delorie <dj@redhat.com>
1394 * m32c-desc.c: Regenerate.
1395 * m32c-dis.c: Regenerate.
1396 * m32c-opc.c: Regenerate.
1398 2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
1400 * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
1401 movq. Remove InvMem from sldt, smsw and str.
1403 * i386-opc.h (InvMem): Renamed to ...
1404 (RegMem): Update comments.
1405 (AnyMem): Remove InvMem.
1407 2007-03-27 Paul Brook <paul@codesourcery.com>
1409 * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
1411 2007-03-24 Paul Brook <paul@codesourcery.com>
1413 * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
1414 (print_insn_coprocessor): Handle %<bitfield>x.
1416 2007-03-24 Paul Brook <paul@codesourcery.com>
1417 Mark Shinwell <shinwell@codesourcery.com>
1419 * arm-dis.c (arm_opcodes): Print SRS base register.
1421 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
1423 * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
1425 * i386-opc.c (i386_optab): Add rex.wrxb.
1427 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1429 * i386-dis.c (REX_MODE64): Remove definition.
1430 (REX_EXTX): Likewise.
1431 (REX_EXTY): Likewise.
1432 (REX_EXTZ): Likewise.
1433 (USED_REX): Use REX_OPCODE instead of 0x40.
1434 Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
1435 REX_R, REX_X and REX_B respectively.
1437 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1440 * i386-dis.c (PREGRP38): New.
1441 (dis386): Use PREGRP38 for 0x90.
1442 (prefix_user_table): Add PREGRP38.
1443 (print_insn): Set uses_REPZ_prefix to 1 for pause.
1444 (NOP_Fixup1): Properly handle REX bits.
1445 (NOP_Fixup2): Likewise.
1447 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
1448 Allow register with nop.
1450 2007-03-20 DJ Delorie <dj@redhat.com>
1452 * m32c-asm.c: Regenerate.
1453 * m32c-desc.c: Regenerate.
1454 * m32c-desc.h: Regenerate.
1455 * m32c-dis.h: Regenerate.
1456 * m32c-ibld.c: Regenerate.
1457 * m32c-opc.c: Regenerate.
1458 * m32c-opc.h: Regenerate.
1460 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1462 * i386-opc.c: Include "libiberty.h".
1463 (i386_regtab): Remove the last entry.
1464 (i386_regtab_size): New.
1465 (i386_float_regtab_size): Likewise.
1467 * i386-opc.h (i386_regtab_size): New.
1468 (i386_float_regtab_size): Likewise.
1470 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1472 * Makefile.am (CFILES): Add i386-opc.c.
1473 (ALL_MACHINES): Add i386-opc.lo.
1475 * Makefile.in: Regenerated.
1477 * configure.in: Add i386-opc.lo for bfd_i386_arch.
1478 * configure: Regenerated.
1480 * i386-dis.c: Include "opcode/i386.h".
1481 (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
1482 (FWAIT_OPCODE): Remove definition.
1483 (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
1484 (MAX_OPERANDS): Remove definition.
1486 * i386-opc.c: New file.
1487 * i386-opc.h: Likewise.
1489 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1491 * Makefile.in: Regenerated.
1493 2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
1495 * i386-dis.c (OP_Rd): Renamed to ...
1500 2007-03-08 Alan Modra <amodra@bigpond.net.au>
1502 * fr30-asm.c: Regenerate.
1503 * frv-asm.c: Regenerate.
1504 * ip2k-asm.c: Regenerate.
1505 * iq2000-asm.c: Regenerate.
1506 * m32c-asm.c: Regenerate.
1507 * m32r-asm.c: Regenerate.
1508 * m32r-dis.c: Regenerate.
1509 * mt-asm.c: Regenerate.
1510 * mt-ibld.c: Regenerate.
1511 * mt-opc.c: Regenerate.
1512 * openrisc-asm.c: Regenerate.
1513 * xc16x-asm.c: Regenerate.
1514 * xstormy16-asm.c: Regenerate.
1516 * Makefile.am: Run "make dep-am".
1517 * Makefile.in: Regenerate.
1518 * po/POTFILES.in: Regenerate.
1520 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
1522 * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
1523 INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
1524 instruction formats added.
1525 (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
1526 MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
1528 * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
1530 * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1531 (main): z9-ec cpu type option added.
1532 * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1534 2007-02-22 DJ Delorie <dj@redhat.com>
1536 * s390-opc.c (INSTR_SS_L2RDRD): New.
1537 (MASK_SS_L2RDRD): New.
1538 * s390-opc.txt (pka): Use it.
1540 2007-02-20 Thiemo Seufer <ths@mips.com>
1541 Chao-Ying Fu <fu@mips.com>
1543 * mips-dis.c (mips_arch_choices): Add DSP R2 support.
1544 (print_insn_args): Add support for balign instruction.
1545 * mips-opc.c (D33): New shortcut for DSP R2 instructions.
1546 (mips_builtin_opcodes): Add DSP R2 instructions.
1548 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1550 * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
1551 (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
1552 * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
1553 cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
1555 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1557 * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
1558 * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
1559 (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
1562 2007-02-16 Nick Clifton <nickc@redhat.com>
1565 * avr-dis.c (comment_start): New variable, contains the prefix to
1566 use when printing addresses in comments.
1567 (print_insn_avr): Set comment_start to an empty space if there is
1568 no symbol table available as the generic address printing code
1569 will prefix the numeric value of the address with 0x.
1571 2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
1573 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
1576 2007-02-05 Dave Brolley <brolley@redhat.com>
1577 Richard Sandiford <rsandifo@redhat.com>
1578 DJ Delorie <dj@redhat.com>
1579 Graydon Hoare <graydon@redhat.com>
1580 Frank Ch. Eigler <fche@redhat.com>
1581 Ben Elliston <bje@redhat.com>
1583 * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
1584 (CFILES): Add mep-*.c
1585 (ALL_MACHINES): Add mep-*.lo.
1586 (CLEANFILES): Add stamp-mep.
1587 (CGEN_CPUS): Add mep.
1588 (MEP_DEPS): New variable.
1589 (mep-*): New targets.
1590 * configure.in: Handle bfd_mep_arch.
1591 * disassemble.c (ARCH_mep): New macro.
1592 (disassembler): Handle bfd_arch_mep.
1593 (disassemble_init_for_target): Likewise.
1594 * mep-*: New files for Toshiba Media Processor (MeP).
1595 * Makefile.in: Regenerated.
1596 * configure: Regenerated.
1598 2007-02-05 H.J. Lu <hongjiu.lu@intel.com>
1600 * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
1601 wrap around within the same segment in 16bit mode.
1603 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1605 * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
1608 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1610 * avr-dis.c (avr_operand): Correct PR number in comment.
1612 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1614 * disassemble.c (disassembler_usage): Call
1615 print_i386_disassembler_options for i386 disassembler.
1617 * i386-dis.c (print_i386_disassembler_options): New.
1618 (print_insn): Support the new addr64 option.
1620 2007-02-02 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
1622 * ppc-dis.c (powerpc_dialect): Handle ppc440.
1623 * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
1626 2007-02-02 Alan Modra <amodra@bigpond.net.au>
1628 * ppc-opc.c (insert_bdm): -Many comment.
1629 (valid_bo): Add "extract" param. Accept both powerpc and power4
1630 BO fields when disassembling with -Many.
1631 (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
1633 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
1635 * m68k-opc.c (m68k_opcodes): Replace cpu32 with
1636 cpu32 | fido_a except on tbl instructions.
1638 2007-01-04 Paul Brook <paul@codesourcery.com>
1640 * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
1642 2007-01-04 Andreas Schwab <schwab@suse.de>
1644 * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
1646 2007-01-04 Julian Brown <julian@codesourcery.com>
1648 * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
1649 vqrshl instructions.
1651 For older changes see ChangeLog-2006
1657 version-control: never