1 2007-10-17 Nathan Sidwell <nathan@codesourcery.com>
3 * m68k-opc.c (m68k_opcodes): Correct move sr and ccr masks for
6 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
8 * ppc-opc.c (powerpc_opcodes): Fix the first two operands of
9 dquaiq. to use the TE and FRT macros.
11 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
13 * ppc-opc.c (TE): Correct signedness.
14 (powerpc_opcodes): Sort psq_st and psq_stu according to major
17 2007-10-15 H.J. Lu <hongjiu.lu@intel.com>
19 * i386-dis.c (dis386_twobyte): Reformat.
20 (prefix_table): Likewise.
21 (three_byte_table): Likewise.
23 2007-10-15 Alan Modra <amodra@bigpond.net.au>
25 * mcore-dis.c (print_insn_mcore): Protect "fprintf" var against
28 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
30 * i386-gen.c (opcode_modifiers): Add FirstXmm0.
32 * i386-opc.h (FirstXmm0): New.
34 (i386_opcode_modifier): Add firstxmm0.
36 * i386-opc.tbl (blendvpd): Replace RegKludge with FirstXmm0.
39 * i386-tbl.h: Regenerated.
41 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
43 * i386-dis.c (prefix_table): Reformat pblendvb and blendvps.
45 2007-10-10 H.J. Lu <hongjiu.lu@intel.com>
47 * i386-dis.c (v_mode): Defined as previous one + 1.
54 (cond_jump_mode): Likewise.
55 (loop_jcxz_mode): Likewise.
59 (const_1_mode): Likewise.
60 (stack_v_mode): Likewise.
103 (z_mode_ax_reg): Likewise.
104 (indir_dx_reg): Likewise.
106 (DREX_NO_OC0): Likewise.
107 (DREX_MASK): Likewise.
108 (MAX_BYTEMODE): New. Issue an error if MAX_BYTEMODE is not
111 2007-10-08 H.J. Lu <hongjiu.lu@intel.com>
113 * i386-dis.c: Updated comments for 'Y'.
114 (putop): Don't add 'q' for 'Y' if suffix_always isn't true.
116 2007-10-08 Maciej W. Rozycki <macro@linux-mips.org>
118 * opcodes/mips-dis.c (mips_cp0_names_r3000): New definition.
119 (mips_cp0_names_r4000): Likewise.
120 (mips_arch_choices): Link to the above as appropriate.
122 2007-10-08 Nick Clifton <nickc@redhat.com>
124 * configure.in (SHARED_DEPENDENCIES): Change non-cygwin dependency
125 to be ../bfd/libbfd.la.
126 * configure: Regenerate.
128 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
130 * i386-dis.c (dis386_twobyte): Add getsec.
132 * i386-gen.c (cpu_flags): Add CpuSMX.
134 * i386-opc.h (CpuSMX): New.
136 (i386_cpu_flags): Add cpusmx.
138 * i386-opc.tbl: Add getsec.
139 * i386-init.h: Regenerated.
140 * i386-tbl.h: Likewise.
142 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
144 * i386-dis.c (reg_table): Use "{ XX }" on "(bad)".
145 (prefix_table): Likewise.
147 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
149 * i386-dis.c (dis386_twobyte): Use EXx instead of EXq on
150 unpckhpX and unpckhpX.
152 2007-10-04 David Daney <ddaney@avtrex.com>
154 * mips-opc.c (mips_builtin_opcodes): Mark lwxc1 as working on FP_S
157 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
159 * i386-dis.c (MOD_0F12_PREFIX_0): Use "movlps" and "movhlps"
160 instead of "movlpX" and "movhlpX", respectively.
161 (MOD_0F16_PREFIX_0): Use "movhps" and "movlhps" instead of
162 "movhpX" and "movlhpX", respectively.
164 2007-10-04 Nick Clifton <nickc@redhat.com>
166 * configure.in (WIN32LDFLAGS): Rename to SHARED_LDFLAGS.
167 (WIN32LIBADD): Rename to SHARED_LIBADD
168 (SHARED_DEPENDENCIES): New exported variable.
169 (enable_shared): Add dependency upon libbfd.la for non-cygwin
170 based shared library builds.
171 * Makefile.am (libopcodes_la_DEPENDENCIES): Append
173 (libopcodes_la_LIBADD): Rename WIN32LIBADD to SHARED_LIBADD.
174 (libopcodes_la_LDFLAGS): Rename WIN32LDFLAGS to SHARED_LDFLAGS.
175 * configure: Regenerate.
176 * Makefile.in: Regenerate.
179 * arc-opc.c (insert_offset): Fix spelling mistake in error
182 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
184 * i386-dis.c (OP_REG): Set add to 0 only when needed.
193 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
195 * i386-opc.tbl: Update SSE comments.
197 2007-10-01 H.J. Lu <hongjiu.lu@intel.com>
199 * i386-dis.c (THREE_BYTE_0FBA): Renamed to ...
200 (THREE_BYTE_0F7B): This.
201 (dis386_twobyte): Updated.
202 (three_byte_table): Updated comments.
204 2007-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
206 * cr16-opc.c: Updated the branch on condition instructions with
209 2007-09-30 H.J. Lu <hongjiu.lu@intel.com>
211 * 386-dis.c (prefix_table): Reformat comment.
213 2007-09-29 H.J. Lu <hongjiu.lu@intel.com>
215 * 386-dis.c (USE_GROUPS): Renamed to ...
216 (USE_REG_TABLE): This.
217 (USE_OPC_EXT_TABLE): Renamed to ...
218 (USE_MOD_TABLE): This.
219 (USE_OPC_EXT_RM_TABLE): Renamed to ...
220 (USE_RM_TABLE): This.
221 (USE_XXX_TABLE): Reordered.
222 (GRP): Renamed to ...
224 (OPC_EXT_TABLE): Renamed to ...
226 (OPC_EXT_RM_TABLE): Renamed to ...
228 (GRP_XXX): Renamed to ...
230 (PREGRP_XXX): Renamed to ...
232 (OPC_EXT_XXX): Renamed to ...
234 (OPC_EXT_RM_XXX): Renamed to ...
236 (grps): Renamed to ...
238 (prefix_user_table): Renamed to ...
240 (opc_ext_table): Renamed to ...
242 (opc_ext_rm_table): Renamed to ...
244 (OPC_EXT_RM_XXX): Likewise.
246 (dis386_twobyte): Likewise.
247 (reg_table): Likewise.
248 (prefix_table): Likewise.
249 (x86_64_table): Likewise.
250 (three_byte_table): Likewise.
251 (mod_table): Likewise.
252 (rm_table): Likewise.
253 (get_valid_dis386): Likewise.
255 2007-09-28 H.J. Lu <hongjiu.lu@intel.com>
257 * 386-dis.c (USE_PREFIX_USER_TABLE): Renamed to ...
258 (USE_PREFIX_TABLE): This.
259 (X86_64_SPECIAL): Renamed to ...
260 (USE_X86_64_TABLE): This.
261 (IS_3BYTE_OPCODE): Renamed to ...
262 (USE_3BYTE_TABLE): This.
264 (PREGRPXXX): Likewise.
265 (X86_64_XXX): Likewise.
266 (THREE_BYTE_XXX): Likewise.
267 (OPC_EXT_XXX): Likewise.
268 (OPC_EXT_RM_XXX): Likewise.
272 (X86_64_TABLE): Likewise.
273 (THREE_BYTE_TABLE): Likewise.
274 (OPC_EXT_TABLE): Likewise.
275 (OPC_EXT_RM_TABLE): Likewise.
277 (PREGRP_XXX): Likewise.
278 (X86_64_XXX): Likewise.
279 (THREE_BYTE_XXX): Likewise.
280 (OPC_EXT_XXX): Likewise.
281 (OPC_EXT_RM_XXX): Likewise.
283 (dis386_twobyte): Likewise.
285 (prefix_user_table): Likewise.
286 (x86_64_table): Likewise.
287 (three_byte_table): Likewise.
288 (opc_ext_table): Likewise.
289 (opc_ext_rm_table): Likewise.
290 (get_valid_dis386): Likewise.
292 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
294 * i386-dis.c (dis386): Swap X86_64_27 with OPC_EXT_2.
295 (x86_64_table): Likewise.
296 (opc_ext_table): Likewise.
298 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
301 * i386-dis.c: Update comments on '{', '}' and '|' to support
302 only AT&T and Intel modes.
303 (X86_64_4...X86_64_27): New.
304 (dis386): Updated. Use X86_64_4...X86_64_21.
305 (dis386_twobyte): Updated.
306 (float_mem): Likewise.
307 (x86_64_table): Add X86_64_4...X86_64_27.
308 (opc_ext_table): Updated. Use X86_64_22...X86_64_27.
309 (putop): Updated handling of '{', '}' and '|' to support only
310 AT&T and Intel modes.
312 2007-09-27 Kazu Hirata <kazu@codesourcery.com>
314 * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb.
316 2007-09-26 James E. Wilson <wilson@specifix.com>
318 * ia64-gen.c (print_dependency_table): Fix typo in last patch.
320 2007-09-26 Nick Clifton <nickc@redhat.com>
322 * mt-asm.c (parse_imm16): Reword error message in order to allow
323 it to be translated properly.
324 * ia64-gen.c (print_dependency_table): Likewise.
325 * mips-dis.c (print_insn_args): Likewise.
327 2007-09-26 Jan Beulich <jbeulich@novell.com>
329 * i386-dis.c (OP_E_extended): Distinguish rip- and eip-
330 relative addressing. Update used_prefixes based on whether any
331 base or index register was printed.
333 2007-09-26 Jan Beulich <jbeulich@novell.com>
335 * i386-opc.h (RegEip): Define.
337 * i386-reg.tbl: Add eip. Mark rip and eip with RegRex64.
338 * i386-tbl.h: Re-generate.
340 2007-09-25 H.J. Lu <hongjiu.lu@intel.com>
342 * i386-gen.c (process_i386_opcodes): Process opcode_length.
344 * i386-opc.h (template): Add opcode_length.
345 * 386-opc.tbl: Likewise.
346 * i386-tbl.h: Regenerated.
348 2007-09-21 H.J. Lu <hongjiu.lu@intel.com>
350 * i386-opc.h: Adjust whitespaces.
352 2007-09-21 Dave Brolley <brolley@redhat.com>
354 * mep-desc.c: Regenerated.
356 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
358 * i386-dis.c (OP_E_extended): Display eiz for [eiz*1 + offset].
360 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
363 * 386-dis.c (index64): New.
365 (intel_index64): Likewise.
366 (intel_index32): Likewise.
367 (att_index64): Likewise.
368 (att_index32): Likewise.
369 (print_insn): Set index64 and index32.
370 (OP_E_extended): Use index64/index32 for index register for
373 * i386-opc.h (RegEiz): New.
376 * i386-reg.tbl: Add eiz and riz.
377 * i386-tbl.h: Regenerated.
379 2007-09-19 H.J. Lu <hongjiu.lu@intel.com>
381 * i386-dis.c (OP_E_extended): Always display scale for memory.
383 2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
385 * i386-opc.h (RegRip): New.
387 * i386-reg.tbl (rip): Use RegRip for reg_num.
388 * i386-tbl.h: Regenerated.
390 2007-09-17 Nick Clifton <nickc@redhat.com>
392 * po/es.po: Updated Spanish translation.
394 2007-09-14 H.J. Lu <hongjiu.lu@intel.com>
396 * Makefile.am: Run "make dep-am".
397 * Makefile.in: Regenerate.
399 2007-09-14 Michael Meissner <michael.meissner@amd.com>
400 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
401 Tony Linthicum <tony.linthicum@amd.com>
403 * i386-opc.h (CpuSSE5): New macro.
404 (i386_cpu_flags): Add Drex, Drexv and Drexc.
406 * i386-gen.c (cpu_flag_init): Add CPU_SSE5_FLAGS.
407 (operand_type_init): Add CpuSSE5.
408 (opcode_modifiers): Add Drex, Drexv and Drexc.
409 (i386_opcode_modifier): Ditto.
411 * i386-opc.tbl (fmaddps,fmaddpd,fmaddss,fmaddsd): Define SSE5
413 (fmsubps,fmsubpd,fmsubss,fmsubsd): Ditto.
414 (fnmaddps,fnmaddpd,fnmaddss,fnmaddsd): Ditto.
415 (fnmsubps,fnmsubpd,fnmsubss,fnmsubsd): Ditto.
416 (pmacssww,pmacsww,pmacsswd,pmacswd): Ditto.
417 (pmacssdd,pmacsdd,pmacssdql,pmacssdqh): Ditto.
418 (pmacsdql,pmacsdqh,pmadcsswd,pmadcswd): Ditto.
419 (phaddbw,phaddbd,phaddbq,phaddwd): Ditto.
420 (phaddwq,phadddq,phaddubw,phaddubd): Ditto.
421 (phaddubq,phadduwd,phadduwq,phaddudq): Ditto.
422 (phsubbw,phsubwd,phsubdq): Ditto.
423 (pcmov,pperm,permps,permpd): Ditto.
424 (protb,protw,protd,protq): Ditto.
425 (pshlb,pshlw,pshld,pshlq): Ditto.
426 (pshab,pshaw,pshad,pshaq): Ditto.
427 (comps,comeqps,comltps,comungeps,comleps,comungtps): Ditto.
428 (comunordps,comneps,comneqps,comnltps,comugeps): Ditto.
429 (comnleps,comugtps,comordps,comueqps,comultps): Ditto.
430 (comngeps,comuleps,comngtps,comfalseps,comuneps): Ditto.
431 (comuneqps,comunltps,comgeps,comunleps,comgtps,comtrueps): Ditto.
432 (compd,comeqpd,comltpd,comungepd,comlepd,comungtpd,comunordpd): Ditto.
433 (comnepd,comneqpd,comnltpd,comugepd,comnlepd,comugtpd): Ditto.
434 (comordpd,comueqpd,comultpd,comngepd,comulepd,comngtpd): Ditto.
435 (comfalsepd,comunepd,comuneqpd,comunltpd,comgepd): Ditto.
436 (comunlepd,comgtpd,comtruepd): Ditto.
437 (comss,comeqss,comltss,comungess,comless,comungtss,comunordss): Ditto.
438 (comness,comneqss,comnltss,comugess,comnless,comugtss): Ditto.
439 (comordss,comueqss,comultss,comngess,comuless,comngtss): Ditto.
440 (comfalsess,comuness,comuneqss,comunltss,comgess): Ditto.
441 (comunless,comgtss,comtruess): Ditto.
442 (comsd,comeqsd,comltsd,comungesd,comlesd,comungtsd,comunordsd): Ditto.
443 (comnesd,comneqsd,comnltsd,comugesd,comnlesd,comugtsd): Ditto.
444 (comordsd,comueqsd,comultsd,comngesd,comulesd,comngtsd): Ditto.
445 (comfalsesd,comunesd,comuneqsd,comunltsd,comgesd): Ditto.
446 (comunlesd,comgtsd,comtruesd): Ditto.
447 (pcomub,pcomltub,pcomleub,pcomgtub,pcomgeub,pcomequb): Ditto.
448 (pcomnequb,pcomneub): Ditto.
449 (pcomuw,pcomltuw,pcomleuw,pcomgtuw,pcomgeuw,pcomequw): Ditto.
450 (pcomnequw,pcomneuw): Ditto.
451 (pcomud,pcomltud,pcomleud,pcomgtud,pcomgeud,pcomequd): Ditto.
452 (pcomnequd,pcomneud): Ditto.
453 (pcomuq,pcomltuq,pcomleuq,pcomgtuq,pcomgeuq,pcomequq): Ditto.
454 (pcomnequq,pcomneuq): Ditto.
455 (pcomb,pcomltb,pcomleb,pcomgtb,pcomgeb,pcomeqb): Ditto.
456 (pcomneqb,pcomneb): Ditto.
457 (pcomw,pcomltw,pcomlew,pcomgtw,pcomgew,pcomeqw): Ditto.
458 (pcomneqw,pcomnew): Ditto.
459 (pcomd,pcomltd,pcomled,pcomgtd,pcomged,pcomeqd): Ditto.
460 (pcomneqd,pcomned): Ditto.
461 (pcomq,pcomltq,pcomleq,pcomgtq,pcomgeq): Ditto.
462 (pcomeqq,pcomneqq,pcomneq): Ditto.
463 (pcomtrueb, pcomtruew, pcomtrued, pcomtrueq): Ditto.
464 (pcomtrueub, pcomtrueuw, pcomtrueud, pcomtrueuq): Ditto.
465 (pcomfalseb, pcomfalsew, pcomfalsed, pcomfalseq): Ditto.
466 (pcomfalseub, pcomfalseuw, pcomfalseud, pcomfalseuq): Ditto.
467 (frczps,frczpd,frczss,frczsd): Ditto.
468 (cvtph2ps,cvtps2ph): Ditto.
470 * i386-tbl.h: Regenerate from i386-opc.tbl.
471 * i386-init.h: Likewise.
473 * i386-dis.c (libiberty.h): Include to get ARRAY_SIZE.
474 (dis386_move_test): New disassembly support for move from test
475 register instruction that overlaps with SSE5 instructions.
476 (print_insn): Add support for special casing the i386/i486 move
477 from test register instruction that overlaps with the SSE5
478 0x0f24 4 operand instructions.
479 (OP_DREX_ICMP): New macros for SSE5 DREX handling.
480 (OP_DREX_FCMP): Ditto.
481 (OP_E_extended): Rename from OP_E, add additional argument to skip
483 (OP_E): Call OP_E_extended.
484 (DREX_REG_MEMORY): New macros for drex handling.
485 (DREX_REG_UNKNOWN): Ditto.
487 (DREX4_NO_OC0): Ditto.
489 (three_byte_table): Add SSE5 instructions.
490 (print_drex_arg): New function to print a DREX register or memory
492 (OP_DREX4): New function for handling DREX 4 argument ops.
493 (OP_DREX3): New function for handling DREX 3 argument ops.
494 (twobyte_has_modrm): 0f{25,7a,7b} all use the modrm byte.
495 (THREE_BYTE_SSE5_0F{24,25,7A,7B}): New macros for initializing 3
496 byte opcode support for SSE5 instructions.
497 (dis386_twobyte): Add SSE5 24/25/7a/7b support.
498 (three_byte_table): Add rows for describing SSE5 instructions.
500 2007-09-13 H.J. Lu <hongjiu.lu@intel.com>
502 * i386-dis.c (get_valid_dis386): Take a pointer to
503 disassemble_info. Handle IS_3BYTE_OPCODE.
504 (print_insn): Updated. Don't handle IS_3BYTE_OPCODE here.
506 2007-09-12 H.J. Lu <hongjiu.lu@intel.com>
508 * i386-opc.h (CpuUnused): Defined with CpuMax.
509 (OTUnused): Defined with OTMax.
511 2007-09-12 Jan Beulich <jbeulich@novell.com>
513 * i386-opc.tbl: Add two-operand forms of blendvps, blendvpd, and
515 * i386-tbl.h: Regenerate.
517 2007-09-09 H.J. Lu <hongjiu.lu@intel.com>
519 * i386-gen.c (main): Remove the local variable, unused.
521 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
523 * Makefile.am: Run "make dep-am".
524 * Makefile.in: Regenerate.
526 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
528 * configure.in (AC_CHECK_HEADERS): Add limits.h.
529 * configure: Regenerated.
530 * config.in: Likewise.
532 * i386-gen.c: Include "sysdep.h" instead of <stdlib.h> and
533 <string.h>. Use xstrerror instead of strerror.
535 (cpu_flag_init): Likewise.
536 (bitfield): Likewise.
538 (cpu_flags): Likewise.
539 (opcode_modifiers): Likewise.
540 (operand_types): Likewise.
542 (set_cpu_flags): Likewise.
543 (output_cpu_flags): Likewise.
544 (process_i386_cpu_flags): Likewise.
545 (output_opcode_modifier): Likewise.
546 (process_i386_opcode_modifier): Likewise.
547 (output_operand_type): Likewise.
548 (process_i386_operand_type): Likewise.
549 (set_bitfield): Likewise.
550 (operand_type_init): Likewise.
551 (process_i386_initializers): Likewise.
552 (process_i386_opcodes): Call process_i386_opcode_modifier to
553 process opcode_modifier. Call process_i386_operand_type to
554 process operand_types.
555 (process_i386_registers): Call process_i386_operand_type to
557 (main): Check unused bits in i386_cpu_flags and i386_operand_type.
558 Sort cpu_flags, opcode_modifiers and operand_types. Call
559 process_i386_initializers.
562 * i386-tbl.h: Regenerated.
564 * i386-opc.h: Include <limits.h>.
565 (CHAR_BIT): Define as 8 if not defined.
566 (Cpu186): Changed to position of bitfiled.
579 (Cpu3dnow): Likewise.
580 (Cpu3dnowA): Likewise.
582 (CpuPadLock): Likewise.
585 (CpuSSSE3): Likewise.
586 (CpuSSE4a): Likewise.
588 (CpuSSE4_1): Likewise.
589 (CpuSSE4_2): Likewise.
595 (ShortForm): Likewise.
597 (JumpDword): Likewise.
598 (JumpByte): Likewise.
599 (JumpInterSegment): Likewise.
606 (IgnoreSize): Likewise.
607 (DefaultSize): Likewise.
615 (IsString): Likewise.
616 (RegKludge): Likewise.
617 (IsPrefix): Likewise.
626 (FloatReg): Likewise.
636 (BaseIndex): Likewise.
642 (InOutPortReg): Likewise.
643 (ShiftCount): Likewise.
650 (FloatAcc): Likewise.
651 (JumpAbsolute): Likewise.
655 (Reg): Commented out.
657 (ImplicitRegister): Likewise.
662 (LLongMem): Likewise.
664 (ShortMem): Likewise.
669 (CpuNumOfUints): Likewise.
670 (CpuNumOfBits): Likewise.
671 (CpuUnused): Likewise.
672 (OTNumOfUints): Likewise.
673 (OTNumOfBits): Likewise.
674 (OTUnused): Likewise.
675 (i386_cpu_flags): New type.
676 (i386_operand_type): Likewise.
677 (i386_opcode_modifier): Likewise.
678 (CpuSledgehammer): Removed.
680 (CpuUnknownFlags): Likewise.
683 (ImplicitRegister): Likewise.
688 (LLongMem): Likewise.
690 (ShortMem): Likewise.
693 (template): Use i386_cpu_flags for cpu_flags, use
694 i386_opcode_modifier for opcode_modifier, use
695 i386_operand_type for operand_types.
696 (reg_entry): Use i386_operand_type for reg_type.
698 * Makefile.am (HFILES): Add i386-init.h.
699 ($(srcdir)/i386-init.h): New rule.
700 ($(srcdir)/i386-tbl.h): Depend on $(srcdir)/i386-init.h
702 * Makefile.in: Regenerated.
704 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
706 * i386-gen.c (next_field): Updated to take a separator.
707 (process_i386_opcodes): Updated.
708 (process_i386_registers): Likewise.
710 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
712 * i386-gen.c (table): Moved ...
713 (main): Here. Call process_copyright to output copyright.
714 (process_copyright): New.
715 (process_i386_opcodes): Take FILE *table.
716 (process_i386_registers): Likewise.
718 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
720 * i386-gen.c (table): New.
721 (process_i386_opcodes): Report errno when faied to open
722 i386-opc.tbl. Output opcodes to table. Close i386-opc.tbl
724 (process_i386_registers): Report errno when faied to open
725 i386-reg.tbl. Output opcodes to table. Close i386-reg.tbl
727 (main): Open i386-tbl.h for output.
729 * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@".
730 * Makefile.in: Regenerated.
732 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
734 * i386-opc.tbl: Correct SVME instructions to allow 32bit register
735 operand in 64bit mode.
736 * i386-tbl.h: Regenerated.
738 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
740 * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
741 (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
742 (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
744 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
746 * i386-dis.c (SVME_Fixup): Removed.
748 (OPC_EXT_RM_6): Likewise.
749 (grps): Use OPC_EXT_39.
750 (opc_ext_table): Add OPC_EXT_39.
751 (opc_ext_rm_table): Add OPC_EXT_RM_6.
753 * i386-opc.tbl: Correct SVME instructions to take register
755 * i386-tbl.h: Regenerated.
757 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
759 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
760 * Makefile.in: Regenerated.
762 * configure.in (AC_GNU_SOURCE): Added.
763 (AC_PROG_CC): Moved before AC_GNU_SOURCE.
764 (AC_CHECK_DECLS): Add stpcpy.
765 * configure: Regenerated.
766 * config.in: Likewise.
768 * i386-dis.c: Include "sysdep.h" before "dis-asm.h".
770 * sysdep.h (stpcpy): New.
772 2007-08-30 H.J. Lu <hongjiu.lu@intel.com>
774 * i386-dis.c (INVLPG_Fixup): Removed.
776 (OPC_EXT_RM_5): Likewise.
777 (grps): Use OPC_EXT_38.
778 (opc_ext_table): Add OPC_EXT_38.
779 (opc_ext_rm_table): Add OPC_EXT_RM_5.
781 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
783 * i386-dis.c (SIMD_Fixup): Removed.
784 (OPC_EXT_34...OPC_EXT_37): New.
785 (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
786 (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
787 (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
789 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
791 * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
792 (dis386): Use OPC_EXT_0...OPC_EXT_2.
793 (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
794 (grps): Updated to use OPC_EXT_6...OPC_EXT_31.
795 (prefix_user_table): Use OPC_EXT_32.
796 (x86_64_table): Use OPC_EXT_33.
797 (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
799 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
801 * i386-dis.c (prefix_user_table): Fix comment.
803 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
805 * i386-dis.c (OP_Skip_MODRM): New.
806 (OP_Monitor): Likewise.
807 (OP_Mwait): Likewise.
809 (Skip_MODRM): Likewise.
810 (USE_OPC_EXT_TABLE): Likewise.
811 (USE_OPC_EXT_RM_TABLE): Likewise.
812 (PREGRP98...PREGRP100): Likewise.
813 (OPC_EXT_0...OPC_EXT_24): Likewise.
814 (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
815 (lock_prefix): Likewise.
816 (data_prefix): Likewise.
817 (addr_prefix): Likewise.
818 (repz_prefix): Likewise.
819 (repnz_prefix): Likewise.
820 (opc_ext_table): Likewise.
821 (opc_ext_rm_table): Likewise.
822 (get_valid_dis386): Likewise.
825 (PNI_Fixup): Likewise.
826 (VMX_Fixup): Likewise.
828 (twobyte_uses_DATA_prefix): Likewise.
829 (twobyte_uses_REPNZ_prefix): Likewise.
830 (twobyte_uses_REPZ_prefix): Likewise.
831 (threebyte_0x38_uses_DATA_prefix): Likewise.
832 (threebyte_0x38_uses_REPNZ_prefix): Likewise.
833 (threebyte_0x38_uses_REPZ_prefix): Likewise.
834 (threebyte_0x3a_uses_DATA_prefix): Likewise.
835 (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
836 (threebyte_0x3a_uses_REPZ_prefix): Likewise.
837 (grps): Use OPC_EXT_0...OPC_EXT_24.
838 (prefix_user_table): Add PREGRP98...PREGRP100.
839 (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
840 uses_REPNZ_prefix and uses_REPZ_prefix. Initialize
841 repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
842 data_prefix based on prefixes. Call get_valid_dis386 to
843 get a pointer to the valid dis386. Print out prefixes if
845 (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
846 (REP_Fixup): Set repz_prefix to "rep " when seeing
849 2007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
851 * po/nl.po: Updated translation.
853 2007-08-28 H.J. Lu <hongjiu.lu@intel.com>
855 * i386-dis.c (Md): New.
856 (grps): Use 0 on invlpg. Use M on fxsave and fxrstor. Use
857 Md on ldmxcsr and stmxcsr. Use b_mode on clflush.
858 (OP_0fae): Clear bytemode for sfence.
860 2007-08-22 Ben Elliston <bje@au.ibm.com>
862 * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
863 (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
865 (powerpc_opcodes): Add all pair singles instructions.
866 * ppc-dis.c (powerpc_dialect): Handle "ppcps".
867 (print_ppc_disassembler_options): Document -Mppcps.
869 2007-08-21 Andreas Krebbel <krebbel1@de.ibm.com>
871 * s390-mkopc.c (struct s390_cond_ext_format): New global struct.
872 (s390_cond_ext_format): New global variable.
873 (expandConditionalJump): New function.
874 (main): Invoke expandConditionalJump for mnemonics containing '*'.
875 * s390-opc.txt: Replace mnemonics with conditional
876 mask extensions with instructions using the newly introduced '*' tag.
878 2007-08-17 Alan Modra <amodra@bigpond.net.au>
880 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
882 2007-08-10 Nick Clifton <nickc@redhat.com>
884 * po/fi.po: Updated Finnish translation.
885 * po/ga.po: Updated Irish translation.
886 * po/vi.po: Updated Vietnamese translation.
888 2007-08-09 H.J. Lu <hongjiu.lu@intel.com>
890 * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
891 pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
892 * i386-tbl.h: Regenerated.
894 2007-08-03 James E. Wilson <wilson@specifix.com>
896 * ia64-gen.c: (main): Add missing newline to copyright message.
897 * ia64-ic.tbl (fp-non-arith): Add xmpy.
898 * ia64-asmtab.c: Regenerate.
900 2007-08-01 Michael Snyder <msnyder@access-company.com>
902 * i386-dis.c (print_insn): Guard against NULL.
904 2007-07-29 H.J. Lu <hongjiu.lu@intel.com>
907 * i386-dis.c (EXw): New.
908 (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
909 instructions when appropriated.
911 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
914 * i386-dis.c (Eq): New.
915 (EMC): Renamed to ...
916 (EMCq): This. Use q_mode instead of v_mode.
917 (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
920 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
922 * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
923 (prefix_user_table): Likewise. Use EXq instead of EXx on
926 2007-07-27 Nathan Sidwell <nathan@codesourcery.com>
928 * ppc-opc (PPC7450): New.
929 (powerpc_opcodes): Use it in dcba.
931 2007-07-24 H.J. Lu <hongjiu.lu@intel.com>
933 * i386-gen.c (main): Print a newline after copyright notice.
935 2007-07-19 Nick Clifton <nickc@redhat.com>
938 * maxq-dis.c (get_reg_name): Fix the scan of the
939 mem_access_syntax_table.
941 2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
943 * i386-dis.c (EMq): Removed.
945 (prefix_user_table): Replace EMq with EMx.
947 2007-07-16 Nick Clifton <nickc@redhat.com>
949 * po/nl.po: Updated translation.
951 2007-07-12 Nick Clifton <nickc@redhat.com>
953 * po/vi.po: Updated translation.
954 * po/nl.po: Updated translation.
956 2007-07-06 Mark Kettenis <kettenis@gnu.org>
957 H.J. Lu <hongjiu.lu@intel.com>
959 * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
960 (ia64-asmtab.c): Likewise.
961 * Makefile.in: Regenerate.
963 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
965 * aclocal.m4: Regenerated.
967 2007-07-04 Nick Clifton <nickc@redhat.com>
969 * alpha-dis.c: Update copyright notice to refer to GPLv3.
970 * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h,
971 arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c,
972 cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in,
973 cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c,
974 cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c,
975 d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c,
976 dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c,
977 h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c,
978 i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c,
979 ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c,
980 ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c,
981 ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c,
982 m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c,
983 m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c,
984 mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c,
985 mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c,
986 or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c,
987 ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c,
988 score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h,
989 sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c,
990 spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c,
991 tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c,
992 vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c,
993 z8k-dis.c, z8kgen.c: Likewise.
994 * i386-opc.tbl, i386-reg.tbl: Add copyright notice.
995 * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h,
996 fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c,
997 frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c,
998 frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c,
999 ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h,
1000 iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c,
1001 iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c,
1002 m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c,
1003 m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
1004 m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c,
1005 mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c,
1006 mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c,
1007 mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c,
1008 openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c,
1009 openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h,
1010 xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h,
1011 xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h,
1012 xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c,
1013 xstormy16-opc.h, z8k-opc.h: Regenerated
1015 2007-07-04 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1017 * cr16-dis.c (getcinvstring): Add const qualifier to char *
1019 (print_insn_cr16): Remove cast to char *.
1021 2007-07-03 Nathan Sidwell <nathan@codesourcery.com>
1023 * m68k-dis.c (fetch_arg): Add E. Replace length switch with
1025 (print_ins_arg): Add j & K operand types.
1026 (match_insn_m68k): Check and skip initial '.' arg character.
1027 (m68k_scan_mask): Likewise.
1028 * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
1030 2007-07-02 Alan Modra <amodra@bigpond.net.au>
1032 * Makefile.am: Run "make dep-am".
1033 * Makefile.in: Regenerate.
1034 * aclocal.m4: Regenerate.
1035 * config.in: Regenerate.
1036 * po/POTFILES.in: Regenerate.
1037 * po/opcodes.pot: Regenerate.
1039 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
1041 * aclocal.m4: Regenerated.
1042 * Makefile.in: Likewise.
1044 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
1046 * i386-reg.tbl: Remove spaces before comments.
1048 2007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1050 * cr16-opc.c: New file.
1051 * cr16-dis.c: New file.
1052 * Makefile.am: Entries for cr16.
1053 * Makefile.in: Regenerate.
1054 * cofigure.in: Add cr16 target information.
1055 * configure : Regenerate.
1056 * disassemble.c: Add cr16 target information.
1058 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
1060 * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
1061 (CFILES): Add i386-gen.c.
1062 (i386-gen): New rule.
1063 (i386-gen.o): Likewise.
1064 (i386-tbl.h): Likewise.
1066 * Makefile.in: Regenerated.
1068 * i386-gen.c: New file.
1069 * i386-opc.tbl: Likewise.
1070 * i386-reg.tbl: Likewise.
1071 * i386-tbl.h: Likewise.
1073 * i386-opc.c: Include "i386-tbl.h".
1074 (i386_optab): Removed.
1075 (i386_regtab): Likewise.
1076 (i386_regtab_size): Likewise.
1078 2007-06-26 Paul Brook <paul@codesourcery.com>
1080 * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
1082 2007-06-25 H.J. Lu <hongjiu.lu@intel.com>
1084 * i386-opc.h (regKludge): Renamed to ...
1087 * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
1089 2007-06-23 H.J. Lu <hongjiu.lu@intel.com>
1092 * i386-dis.c (EX): Removed.
1098 (PREGRP93...PREGRP97): Likewise.
1099 (dis386_twobyte): Updated.
1100 (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
1101 (OP_EX): Remove Intel syntax handling.
1103 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
1105 * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
1107 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
1109 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
1111 * acinclude.m4: Removed.
1113 * Makefile.in: Regenerated.
1114 * doc/Makefile.in: Likewise.
1115 * aclocal.m4: Likewise.
1116 * configure: Likewise.
1118 2007-06-05 Paul Brook <paul@codesourcery.com>
1120 * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
1122 2007-05-24 Steve Ellcey <sje@cup.hp.com>
1124 * Makefile.in: Regnerate.
1125 * configure: Regenerate.
1126 * aclocal.m4: Regenerate.
1128 2007-05-18 Alan Modra <amodra@bigpond.net.au>
1130 * ppc-dis.c (print_insn_powerpc): Don't skip all operands
1131 after setting skip_optional.
1133 2007-05-16 Peter Bergner <bergner@vnet.ibm.com>
1135 * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
1136 (print_insn_powerpc): Use the new operand_value_powerpc and
1137 skip_optional_operands functions to omit or print all optional
1138 operands as a group.
1139 * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
1140 (XFL_MASK): Delete L and W bits from the mask.
1141 (mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK
1142 with XWRA_MASK. Use W.
1143 (mtfsf, mtfsf.): Use XFL_L and W.
1145 2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
1148 * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
1150 2007-05-10 H.J. Lu <hongjiu.lu@intel.com>
1152 * i386-opc.h (ShortForm): Redefined.
1154 (JumpDword): Likewise.
1155 (JumpByte): Likewise.
1156 (JumpInterSegment): Likewise.
1157 (FloatMF): Likewise.
1163 (IgnoreSize): Likewise.
1164 (DefaultSize): Likewise.
1165 (No_bSuf): Likewise.
1166 (No_wSuf): Likewise.
1167 (No_lSuf): Likewise.
1168 (No_sSuf): Likewise.
1169 (No_qSuf): Likewise.
1170 (No_xSuf): Likewise.
1172 (IsString): Likewise.
1173 (regKludge): Likewise.
1174 (IsPrefix): Likewise.
1176 (NoRex64): Likewise.
1180 2007-05-07 H.J. Lu <hongjiu.lu@intel.com>
1182 * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
1183 for some SSE4 instructions.
1184 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1186 2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
1188 * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
1190 * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
1193 2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
1195 * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
1196 check data size prefix in 16bit mode.
1198 * i386-opc.c (i386_optab): Default crc32 to non-8bit and
1201 2007-04-30 Mark Salter <msalter@redhat.com>
1203 * frv-desc.c: Regenerate.
1204 * frv-desc.h: Regenerate.
1206 2007-04-30 Alan Modra <amodra@bigpond.net.au>
1209 * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
1211 2007-04-27 H.J. Lu <hongjiu.lu@intel.com>
1213 * i386-dis.c (modrm): Put reg before rm.
1215 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1218 * i386-dis.c (print_displacement): New.
1219 (OP_E): Call print_displacement instead of print_operand_value
1220 to output displacement when either base or index exist. Print
1221 the explicit zero displacement in 16bit mode.
1223 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1226 * i386-dis.c (print_insn): Also swap the order of op_riprel
1227 when swapping op_index. Break when the RIP relative address
1229 (OP_E): Properly handle RIP relative addressing and print the
1230 explicit zero displacement for Intel mode.
1232 2007-04-27 Alan Modra <amodra@bigpond.net.au>
1234 * Makefile.am: Run "make dep-am".
1235 * Makefile.in: Regenerate.
1236 * ns32k-dis.c: Include sysdep.h first.
1238 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
1240 * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
1242 * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
1244 2007-04-24 Nick Clifton <nickc@redhat.com>
1246 * arm-dis.c (print_insn): Initialise type.
1248 2007-04-24 Alan Modra <amodra@bigpond.net.au>
1250 * cgen-types.h: Include bfd_stdint.h, not stdint.h.
1251 * Makefile.am: Run "make dep-am".
1252 * Makefile.in: Regenerate.
1254 2007-04-23 Nathan Sidwell <nathan@codesourcery.com>
1256 * m68k-opc.c: Mark mcfisa_c instructions.
1258 2007-04-21 Richard Earnshaw <rearnsha@arm.com>
1260 * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
1261 (thumb_opcodes): Add missing white space in adr.
1262 (arm_decode_shift): New parameter, print_shift. Only decode the
1263 shift parameter if set. Adjust callers.
1264 (print_insn_arm): Support for operand type q with no shift decode.
1266 2007-04-21 Alan Modra <amodra@bigpond.net.au>
1268 * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
1270 (i386_regtab): ..here.
1271 * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
1273 * ppc-opc.c (powerpc_operands): Delete duplicate entries.
1274 (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
1275 (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
1276 (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
1278 2007-04-20 Nathan Sidwell <nathan@codesourcery.com>
1280 * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
1283 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1285 * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
1287 * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
1288 in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove
1289 references to following deleted functions.
1290 (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
1291 (insert_ds, extract_ds, insert_de, extract_de): Delete.
1292 (insert_des, extract_des, insert_li, extract_li): Delete.
1293 (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
1294 (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
1295 (num_powerpc_operands): New constant.
1296 (XSPRG_MASK): Remove entire SPRG field.
1297 (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
1299 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1301 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
1303 (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
1305 2007-04-20 Richard Earnshaw <rearnsha@arm.com>
1307 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
1310 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1312 * Makefile.am: Run "make dep-am".
1313 * Makefile.in: Regenerate.
1314 * po/POTFILES.in: Regenerate.
1316 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1318 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
1319 db10cyc, db12cyc, db16cyc.
1321 2007-04-19 Nathan Froyd <froydnj@codesourcery.com>
1323 * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
1325 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1327 * i386-dis.c (CRC32_Fixup): New.
1328 (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
1330 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
1331 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1332 (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
1333 PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
1334 (three_byte_table): Likewise.
1336 * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
1338 * i386-opc.h (CpuSSE4_2): New.
1339 (CpuSSE4): Likewise.
1340 (CpuUnknownFlags): Add CpuSSE4_2.
1342 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1344 * i386-dis.c (XMM_Fixup): New.
1350 (PREGRP39 ... PREGRP85): New.
1351 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
1352 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1353 (prefix_user_table): Add PREGRP39 ... PREGRP85.
1354 (three_byte_table): Likewise.
1355 (putop): Handle 'K'.
1356 (intel_operand_size): Handle dqb_mode, dqd_mode):
1360 * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
1362 * i386-opc.h (CpuSSE4_1): New.
1363 (CpuUnknownFlags): Add CpuSSE4_1.
1364 (regKludge): Update comment.
1366 2007-04-18 Matthias Klose <doko@ubuntu.com>
1368 * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
1369 * Makefile.in: Regenerate.
1371 2007-04-14 Steve Ellcey <sje@cup.hp.com>
1373 * Makefile.am: Add ACLOCAL_AMFLAGS.
1374 * Makefile.in: Regenerate.
1376 2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
1378 * i386-dis.c: Remove trailing white spaces.
1379 * i386-opc.c: Likewise.
1380 * i386-opc.h: Likewise.
1382 2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
1385 * i386-dis.c (GRP1a): New.
1386 (GRP1b ... GRPPADLCK2): Update index.
1387 (dis386): Use GRP1a for entry 0x8f.
1388 (mod, rm, reg): Removed. Replaced by ...
1392 2007-04-09 Kazu Hirata <kazu@codesourcery.com>
1394 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
1395 info->print_address_func if longjmp is called.
1397 2007-03-29 DJ Delorie <dj@redhat.com>
1399 * m32c-desc.c: Regenerate.
1400 * m32c-dis.c: Regenerate.
1401 * m32c-opc.c: Regenerate.
1403 2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
1405 * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
1406 movq. Remove InvMem from sldt, smsw and str.
1408 * i386-opc.h (InvMem): Renamed to ...
1409 (RegMem): Update comments.
1410 (AnyMem): Remove InvMem.
1412 2007-03-27 Paul Brook <paul@codesourcery.com>
1414 * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
1416 2007-03-24 Paul Brook <paul@codesourcery.com>
1418 * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
1419 (print_insn_coprocessor): Handle %<bitfield>x.
1421 2007-03-24 Paul Brook <paul@codesourcery.com>
1422 Mark Shinwell <shinwell@codesourcery.com>
1424 * arm-dis.c (arm_opcodes): Print SRS base register.
1426 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
1428 * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
1430 * i386-opc.c (i386_optab): Add rex.wrxb.
1432 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1434 * i386-dis.c (REX_MODE64): Remove definition.
1435 (REX_EXTX): Likewise.
1436 (REX_EXTY): Likewise.
1437 (REX_EXTZ): Likewise.
1438 (USED_REX): Use REX_OPCODE instead of 0x40.
1439 Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
1440 REX_R, REX_X and REX_B respectively.
1442 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1445 * i386-dis.c (PREGRP38): New.
1446 (dis386): Use PREGRP38 for 0x90.
1447 (prefix_user_table): Add PREGRP38.
1448 (print_insn): Set uses_REPZ_prefix to 1 for pause.
1449 (NOP_Fixup1): Properly handle REX bits.
1450 (NOP_Fixup2): Likewise.
1452 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
1453 Allow register with nop.
1455 2007-03-20 DJ Delorie <dj@redhat.com>
1457 * m32c-asm.c: Regenerate.
1458 * m32c-desc.c: Regenerate.
1459 * m32c-desc.h: Regenerate.
1460 * m32c-dis.h: Regenerate.
1461 * m32c-ibld.c: Regenerate.
1462 * m32c-opc.c: Regenerate.
1463 * m32c-opc.h: Regenerate.
1465 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1467 * i386-opc.c: Include "libiberty.h".
1468 (i386_regtab): Remove the last entry.
1469 (i386_regtab_size): New.
1470 (i386_float_regtab_size): Likewise.
1472 * i386-opc.h (i386_regtab_size): New.
1473 (i386_float_regtab_size): Likewise.
1475 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1477 * Makefile.am (CFILES): Add i386-opc.c.
1478 (ALL_MACHINES): Add i386-opc.lo.
1480 * Makefile.in: Regenerated.
1482 * configure.in: Add i386-opc.lo for bfd_i386_arch.
1483 * configure: Regenerated.
1485 * i386-dis.c: Include "opcode/i386.h".
1486 (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
1487 (FWAIT_OPCODE): Remove definition.
1488 (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
1489 (MAX_OPERANDS): Remove definition.
1491 * i386-opc.c: New file.
1492 * i386-opc.h: Likewise.
1494 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1496 * Makefile.in: Regenerated.
1498 2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
1500 * i386-dis.c (OP_Rd): Renamed to ...
1505 2007-03-08 Alan Modra <amodra@bigpond.net.au>
1507 * fr30-asm.c: Regenerate.
1508 * frv-asm.c: Regenerate.
1509 * ip2k-asm.c: Regenerate.
1510 * iq2000-asm.c: Regenerate.
1511 * m32c-asm.c: Regenerate.
1512 * m32r-asm.c: Regenerate.
1513 * m32r-dis.c: Regenerate.
1514 * mt-asm.c: Regenerate.
1515 * mt-ibld.c: Regenerate.
1516 * mt-opc.c: Regenerate.
1517 * openrisc-asm.c: Regenerate.
1518 * xc16x-asm.c: Regenerate.
1519 * xstormy16-asm.c: Regenerate.
1521 * Makefile.am: Run "make dep-am".
1522 * Makefile.in: Regenerate.
1523 * po/POTFILES.in: Regenerate.
1525 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
1527 * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
1528 INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
1529 instruction formats added.
1530 (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
1531 MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
1533 * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
1535 * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1536 (main): z9-ec cpu type option added.
1537 * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1539 2007-02-22 DJ Delorie <dj@redhat.com>
1541 * s390-opc.c (INSTR_SS_L2RDRD): New.
1542 (MASK_SS_L2RDRD): New.
1543 * s390-opc.txt (pka): Use it.
1545 2007-02-20 Thiemo Seufer <ths@mips.com>
1546 Chao-Ying Fu <fu@mips.com>
1548 * mips-dis.c (mips_arch_choices): Add DSP R2 support.
1549 (print_insn_args): Add support for balign instruction.
1550 * mips-opc.c (D33): New shortcut for DSP R2 instructions.
1551 (mips_builtin_opcodes): Add DSP R2 instructions.
1553 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1555 * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
1556 (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
1557 * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
1558 cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
1560 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1562 * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
1563 * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
1564 (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
1567 2007-02-16 Nick Clifton <nickc@redhat.com>
1570 * avr-dis.c (comment_start): New variable, contains the prefix to
1571 use when printing addresses in comments.
1572 (print_insn_avr): Set comment_start to an empty space if there is
1573 no symbol table available as the generic address printing code
1574 will prefix the numeric value of the address with 0x.
1576 2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
1578 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
1581 2007-02-05 Dave Brolley <brolley@redhat.com>
1582 Richard Sandiford <rsandifo@redhat.com>
1583 DJ Delorie <dj@redhat.com>
1584 Graydon Hoare <graydon@redhat.com>
1585 Frank Ch. Eigler <fche@redhat.com>
1586 Ben Elliston <bje@redhat.com>
1588 * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
1589 (CFILES): Add mep-*.c
1590 (ALL_MACHINES): Add mep-*.lo.
1591 (CLEANFILES): Add stamp-mep.
1592 (CGEN_CPUS): Add mep.
1593 (MEP_DEPS): New variable.
1594 (mep-*): New targets.
1595 * configure.in: Handle bfd_mep_arch.
1596 * disassemble.c (ARCH_mep): New macro.
1597 (disassembler): Handle bfd_arch_mep.
1598 (disassemble_init_for_target): Likewise.
1599 * mep-*: New files for Toshiba Media Processor (MeP).
1600 * Makefile.in: Regenerated.
1601 * configure: Regenerated.
1603 2007-02-05 H.J. Lu <hongjiu.lu@intel.com>
1605 * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
1606 wrap around within the same segment in 16bit mode.
1608 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1610 * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
1613 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1615 * avr-dis.c (avr_operand): Correct PR number in comment.
1617 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1619 * disassemble.c (disassembler_usage): Call
1620 print_i386_disassembler_options for i386 disassembler.
1622 * i386-dis.c (print_i386_disassembler_options): New.
1623 (print_insn): Support the new addr64 option.
1625 2007-02-02 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
1627 * ppc-dis.c (powerpc_dialect): Handle ppc440.
1628 * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
1631 2007-02-02 Alan Modra <amodra@bigpond.net.au>
1633 * ppc-opc.c (insert_bdm): -Many comment.
1634 (valid_bo): Add "extract" param. Accept both powerpc and power4
1635 BO fields when disassembling with -Many.
1636 (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
1638 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
1640 * m68k-opc.c (m68k_opcodes): Replace cpu32 with
1641 cpu32 | fido_a except on tbl instructions.
1643 2007-01-04 Paul Brook <paul@codesourcery.com>
1645 * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
1647 2007-01-04 Andreas Schwab <schwab@suse.de>
1649 * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
1651 2007-01-04 Julian Brown <julian@codesourcery.com>
1653 * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
1654 vqrshl instructions.
1656 For older changes see ChangeLog-2006
1662 version-control: never