1 2007-10-15 H.J. Lu <hongjiu.lu@intel.com>
3 * i386-dis.c (dis386_twobyte): Reformat.
4 (prefix_table): Likewise.
5 (three_byte_table): Likewise.
7 2007-10-15 Alan Modra <amodra@bigpond.net.au>
9 * mcore-dis.c (print_insn_mcore): Protect "fprintf" var against
12 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
14 * i386-gen.c (opcode_modifiers): Add FirstXmm0.
16 * i386-opc.h (FirstXmm0): New.
18 (i386_opcode_modifier): Add firstxmm0.
20 * i386-opc.tbl (blendvpd): Replace RegKludge with FirstXmm0.
23 * i386-tbl.h: Regenerated.
25 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
27 * i386-dis.c (prefix_table): Reformat pblendvb and blendvps.
29 2007-10-10 H.J. Lu <hongjiu.lu@intel.com>
31 * i386-dis.c (v_mode): Defined as previous one + 1.
38 (cond_jump_mode): Likewise.
39 (loop_jcxz_mode): Likewise.
43 (const_1_mode): Likewise.
44 (stack_v_mode): Likewise.
87 (z_mode_ax_reg): Likewise.
88 (indir_dx_reg): Likewise.
90 (DREX_NO_OC0): Likewise.
91 (DREX_MASK): Likewise.
92 (MAX_BYTEMODE): New. Issue an error if MAX_BYTEMODE is not
95 2007-10-08 H.J. Lu <hongjiu.lu@intel.com>
97 * i386-dis.c: Updated comments for 'Y'.
98 (putop): Don't add 'q' for 'Y' if suffix_always isn't true.
100 2007-10-08 Maciej W. Rozycki <macro@linux-mips.org>
102 * opcodes/mips-dis.c (mips_cp0_names_r3000): New definition.
103 (mips_cp0_names_r4000): Likewise.
104 (mips_arch_choices): Link to the above as appropriate.
106 2007-10-08 Nick Clifton <nickc@redhat.com>
108 * configure.in (SHARED_DEPENDENCIES): Change non-cygwin dependency
109 to be ../bfd/libbfd.la.
110 * configure: Regenerate.
112 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
114 * i386-dis.c (dis386_twobyte): Add getsec.
116 * i386-gen.c (cpu_flags): Add CpuSMX.
118 * i386-opc.h (CpuSMX): New.
120 (i386_cpu_flags): Add cpusmx.
122 * i386-opc.tbl: Add getsec.
123 * i386-init.h: Regenerated.
124 * i386-tbl.h: Likewise.
126 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
128 * i386-dis.c (reg_table): Use "{ XX }" on "(bad)".
129 (prefix_table): Likewise.
131 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
133 * i386-dis.c (dis386_twobyte): Use EXx instead of EXq on
134 unpckhpX and unpckhpX.
136 2007-10-04 David Daney <ddaney@avtrex.com>
138 * mips-opc.c (mips_builtin_opcodes): Mark lwxc1 as working on FP_S
141 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
143 * i386-dis.c (MOD_0F12_PREFIX_0): Use "movlps" and "movhlps"
144 instead of "movlpX" and "movhlpX", respectively.
145 (MOD_0F16_PREFIX_0): Use "movhps" and "movlhps" instead of
146 "movhpX" and "movlhpX", respectively.
148 2007-10-04 Nick Clifton <nickc@redhat.com>
150 * configure.in (WIN32LDFLAGS): Rename to SHARED_LDFLAGS.
151 (WIN32LIBADD): Rename to SHARED_LIBADD
152 (SHARED_DEPENDENCIES): New exported variable.
153 (enable_shared): Add dependency upon libbfd.la for non-cygwin
154 based shared library builds.
155 * Makefile.am (libopcodes_la_DEPENDENCIES): Append
157 (libopcodes_la_LIBADD): Rename WIN32LIBADD to SHARED_LIBADD.
158 (libopcodes_la_LDFLAGS): Rename WIN32LDFLAGS to SHARED_LDFLAGS.
159 * configure: Regenerate.
160 * Makefile.in: Regenerate.
163 * arc-opc.c (insert_offset): Fix spelling mistake in error
166 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
168 * i386-dis.c (OP_REG): Set add to 0 only when needed.
177 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
179 * i386-opc.tbl: Update SSE comments.
181 2007-10-01 H.J. Lu <hongjiu.lu@intel.com>
183 * i386-dis.c (THREE_BYTE_0FBA): Renamed to ...
184 (THREE_BYTE_0F7B): This.
185 (dis386_twobyte): Updated.
186 (three_byte_table): Updated comments.
188 2007-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
190 * cr16-opc.c: Updated the branch on condition instructions with
193 2007-09-30 H.J. Lu <hongjiu.lu@intel.com>
195 * 386-dis.c (prefix_table): Reformat comment.
197 2007-09-29 H.J. Lu <hongjiu.lu@intel.com>
199 * 386-dis.c (USE_GROUPS): Renamed to ...
200 (USE_REG_TABLE): This.
201 (USE_OPC_EXT_TABLE): Renamed to ...
202 (USE_MOD_TABLE): This.
203 (USE_OPC_EXT_RM_TABLE): Renamed to ...
204 (USE_RM_TABLE): This.
205 (USE_XXX_TABLE): Reordered.
206 (GRP): Renamed to ...
208 (OPC_EXT_TABLE): Renamed to ...
210 (OPC_EXT_RM_TABLE): Renamed to ...
212 (GRP_XXX): Renamed to ...
214 (PREGRP_XXX): Renamed to ...
216 (OPC_EXT_XXX): Renamed to ...
218 (OPC_EXT_RM_XXX): Renamed to ...
220 (grps): Renamed to ...
222 (prefix_user_table): Renamed to ...
224 (opc_ext_table): Renamed to ...
226 (opc_ext_rm_table): Renamed to ...
228 (OPC_EXT_RM_XXX): Likewise.
230 (dis386_twobyte): Likewise.
231 (reg_table): Likewise.
232 (prefix_table): Likewise.
233 (x86_64_table): Likewise.
234 (three_byte_table): Likewise.
235 (mod_table): Likewise.
236 (rm_table): Likewise.
237 (get_valid_dis386): Likewise.
239 2007-09-28 H.J. Lu <hongjiu.lu@intel.com>
241 * 386-dis.c (USE_PREFIX_USER_TABLE): Renamed to ...
242 (USE_PREFIX_TABLE): This.
243 (X86_64_SPECIAL): Renamed to ...
244 (USE_X86_64_TABLE): This.
245 (IS_3BYTE_OPCODE): Renamed to ...
246 (USE_3BYTE_TABLE): This.
248 (PREGRPXXX): Likewise.
249 (X86_64_XXX): Likewise.
250 (THREE_BYTE_XXX): Likewise.
251 (OPC_EXT_XXX): Likewise.
252 (OPC_EXT_RM_XXX): Likewise.
256 (X86_64_TABLE): Likewise.
257 (THREE_BYTE_TABLE): Likewise.
258 (OPC_EXT_TABLE): Likewise.
259 (OPC_EXT_RM_TABLE): Likewise.
261 (PREGRP_XXX): Likewise.
262 (X86_64_XXX): Likewise.
263 (THREE_BYTE_XXX): Likewise.
264 (OPC_EXT_XXX): Likewise.
265 (OPC_EXT_RM_XXX): Likewise.
267 (dis386_twobyte): Likewise.
269 (prefix_user_table): Likewise.
270 (x86_64_table): Likewise.
271 (three_byte_table): Likewise.
272 (opc_ext_table): Likewise.
273 (opc_ext_rm_table): Likewise.
274 (get_valid_dis386): Likewise.
276 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
278 * i386-dis.c (dis386): Swap X86_64_27 with OPC_EXT_2.
279 (x86_64_table): Likewise.
280 (opc_ext_table): Likewise.
282 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
285 * i386-dis.c: Update comments on '{', '}' and '|' to support
286 only AT&T and Intel modes.
287 (X86_64_4...X86_64_27): New.
288 (dis386): Updated. Use X86_64_4...X86_64_21.
289 (dis386_twobyte): Updated.
290 (float_mem): Likewise.
291 (x86_64_table): Add X86_64_4...X86_64_27.
292 (opc_ext_table): Updated. Use X86_64_22...X86_64_27.
293 (putop): Updated handling of '{', '}' and '|' to support only
294 AT&T and Intel modes.
296 2007-09-27 Kazu Hirata <kazu@codesourcery.com>
298 * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb.
300 2007-09-26 James E. Wilson <wilson@specifix.com>
302 * ia64-gen.c (print_dependency_table): Fix typo in last patch.
304 2007-09-26 Nick Clifton <nickc@redhat.com>
306 * mt-asm.c (parse_imm16): Reword error message in order to allow
307 it to be translated properly.
308 * ia64-gen.c (print_dependency_table): Likewise.
309 * mips-dis.c (print_insn_args): Likewise.
311 2007-09-26 Jan Beulich <jbeulich@novell.com>
313 * i386-dis.c (OP_E_extended): Distinguish rip- and eip-
314 relative addressing. Update used_prefixes based on whether any
315 base or index register was printed.
317 2007-09-26 Jan Beulich <jbeulich@novell.com>
319 * i386-opc.h (RegEip): Define.
321 * i386-reg.tbl: Add eip. Mark rip and eip with RegRex64.
322 * i386-tbl.h: Re-generate.
324 2007-09-25 H.J. Lu <hongjiu.lu@intel.com>
326 * i386-gen.c (process_i386_opcodes): Process opcode_length.
328 * i386-opc.h (template): Add opcode_length.
329 * 386-opc.tbl: Likewise.
330 * i386-tbl.h: Regenerated.
332 2007-09-21 H.J. Lu <hongjiu.lu@intel.com>
334 * i386-opc.h: Adjust whitespaces.
336 2007-09-21 Dave Brolley <brolley@redhat.com>
338 * mep-desc.c: Regenerated.
340 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
342 * i386-dis.c (OP_E_extended): Display eiz for [eiz*1 + offset].
344 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
347 * 386-dis.c (index64): New.
349 (intel_index64): Likewise.
350 (intel_index32): Likewise.
351 (att_index64): Likewise.
352 (att_index32): Likewise.
353 (print_insn): Set index64 and index32.
354 (OP_E_extended): Use index64/index32 for index register for
357 * i386-opc.h (RegEiz): New.
360 * i386-reg.tbl: Add eiz and riz.
361 * i386-tbl.h: Regenerated.
363 2007-09-19 H.J. Lu <hongjiu.lu@intel.com>
365 * i386-dis.c (OP_E_extended): Always display scale for memory.
367 2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
369 * i386-opc.h (RegRip): New.
371 * i386-reg.tbl (rip): Use RegRip for reg_num.
372 * i386-tbl.h: Regenerated.
374 2007-09-17 Nick Clifton <nickc@redhat.com>
376 * po/es.po: Updated Spanish translation.
378 2007-09-14 H.J. Lu <hongjiu.lu@intel.com>
380 * Makefile.am: Run "make dep-am".
381 * Makefile.in: Regenerate.
383 2007-09-14 Michael Meissner <michael.meissner@amd.com>
384 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
385 Tony Linthicum <tony.linthicum@amd.com>
387 * i386-opc.h (CpuSSE5): New macro.
388 (i386_cpu_flags): Add Drex, Drexv and Drexc.
390 * i386-gen.c (cpu_flag_init): Add CPU_SSE5_FLAGS.
391 (operand_type_init): Add CpuSSE5.
392 (opcode_modifiers): Add Drex, Drexv and Drexc.
393 (i386_opcode_modifier): Ditto.
395 * i386-opc.tbl (fmaddps,fmaddpd,fmaddss,fmaddsd): Define SSE5
397 (fmsubps,fmsubpd,fmsubss,fmsubsd): Ditto.
398 (fnmaddps,fnmaddpd,fnmaddss,fnmaddsd): Ditto.
399 (fnmsubps,fnmsubpd,fnmsubss,fnmsubsd): Ditto.
400 (pmacssww,pmacsww,pmacsswd,pmacswd): Ditto.
401 (pmacssdd,pmacsdd,pmacssdql,pmacssdqh): Ditto.
402 (pmacsdql,pmacsdqh,pmadcsswd,pmadcswd): Ditto.
403 (phaddbw,phaddbd,phaddbq,phaddwd): Ditto.
404 (phaddwq,phadddq,phaddubw,phaddubd): Ditto.
405 (phaddubq,phadduwd,phadduwq,phaddudq): Ditto.
406 (phsubbw,phsubwd,phsubdq): Ditto.
407 (pcmov,pperm,permps,permpd): Ditto.
408 (protb,protw,protd,protq): Ditto.
409 (pshlb,pshlw,pshld,pshlq): Ditto.
410 (pshab,pshaw,pshad,pshaq): Ditto.
411 (comps,comeqps,comltps,comungeps,comleps,comungtps): Ditto.
412 (comunordps,comneps,comneqps,comnltps,comugeps): Ditto.
413 (comnleps,comugtps,comordps,comueqps,comultps): Ditto.
414 (comngeps,comuleps,comngtps,comfalseps,comuneps): Ditto.
415 (comuneqps,comunltps,comgeps,comunleps,comgtps,comtrueps): Ditto.
416 (compd,comeqpd,comltpd,comungepd,comlepd,comungtpd,comunordpd): Ditto.
417 (comnepd,comneqpd,comnltpd,comugepd,comnlepd,comugtpd): Ditto.
418 (comordpd,comueqpd,comultpd,comngepd,comulepd,comngtpd): Ditto.
419 (comfalsepd,comunepd,comuneqpd,comunltpd,comgepd): Ditto.
420 (comunlepd,comgtpd,comtruepd): Ditto.
421 (comss,comeqss,comltss,comungess,comless,comungtss,comunordss): Ditto.
422 (comness,comneqss,comnltss,comugess,comnless,comugtss): Ditto.
423 (comordss,comueqss,comultss,comngess,comuless,comngtss): Ditto.
424 (comfalsess,comuness,comuneqss,comunltss,comgess): Ditto.
425 (comunless,comgtss,comtruess): Ditto.
426 (comsd,comeqsd,comltsd,comungesd,comlesd,comungtsd,comunordsd): Ditto.
427 (comnesd,comneqsd,comnltsd,comugesd,comnlesd,comugtsd): Ditto.
428 (comordsd,comueqsd,comultsd,comngesd,comulesd,comngtsd): Ditto.
429 (comfalsesd,comunesd,comuneqsd,comunltsd,comgesd): Ditto.
430 (comunlesd,comgtsd,comtruesd): Ditto.
431 (pcomub,pcomltub,pcomleub,pcomgtub,pcomgeub,pcomequb): Ditto.
432 (pcomnequb,pcomneub): Ditto.
433 (pcomuw,pcomltuw,pcomleuw,pcomgtuw,pcomgeuw,pcomequw): Ditto.
434 (pcomnequw,pcomneuw): Ditto.
435 (pcomud,pcomltud,pcomleud,pcomgtud,pcomgeud,pcomequd): Ditto.
436 (pcomnequd,pcomneud): Ditto.
437 (pcomuq,pcomltuq,pcomleuq,pcomgtuq,pcomgeuq,pcomequq): Ditto.
438 (pcomnequq,pcomneuq): Ditto.
439 (pcomb,pcomltb,pcomleb,pcomgtb,pcomgeb,pcomeqb): Ditto.
440 (pcomneqb,pcomneb): Ditto.
441 (pcomw,pcomltw,pcomlew,pcomgtw,pcomgew,pcomeqw): Ditto.
442 (pcomneqw,pcomnew): Ditto.
443 (pcomd,pcomltd,pcomled,pcomgtd,pcomged,pcomeqd): Ditto.
444 (pcomneqd,pcomned): Ditto.
445 (pcomq,pcomltq,pcomleq,pcomgtq,pcomgeq): Ditto.
446 (pcomeqq,pcomneqq,pcomneq): Ditto.
447 (pcomtrueb, pcomtruew, pcomtrued, pcomtrueq): Ditto.
448 (pcomtrueub, pcomtrueuw, pcomtrueud, pcomtrueuq): Ditto.
449 (pcomfalseb, pcomfalsew, pcomfalsed, pcomfalseq): Ditto.
450 (pcomfalseub, pcomfalseuw, pcomfalseud, pcomfalseuq): Ditto.
451 (frczps,frczpd,frczss,frczsd): Ditto.
452 (cvtph2ps,cvtps2ph): Ditto.
454 * i386-tbl.h: Regenerate from i386-opc.tbl.
455 * i386-init.h: Likewise.
457 * i386-dis.c (libiberty.h): Include to get ARRAY_SIZE.
458 (dis386_move_test): New disassembly support for move from test
459 register instruction that overlaps with SSE5 instructions.
460 (print_insn): Add support for special casing the i386/i486 move
461 from test register instruction that overlaps with the SSE5
462 0x0f24 4 operand instructions.
463 (OP_DREX_ICMP): New macros for SSE5 DREX handling.
464 (OP_DREX_FCMP): Ditto.
465 (OP_E_extended): Rename from OP_E, add additional argument to skip
467 (OP_E): Call OP_E_extended.
468 (DREX_REG_MEMORY): New macros for drex handling.
469 (DREX_REG_UNKNOWN): Ditto.
471 (DREX4_NO_OC0): Ditto.
473 (three_byte_table): Add SSE5 instructions.
474 (print_drex_arg): New function to print a DREX register or memory
476 (OP_DREX4): New function for handling DREX 4 argument ops.
477 (OP_DREX3): New function for handling DREX 3 argument ops.
478 (twobyte_has_modrm): 0f{25,7a,7b} all use the modrm byte.
479 (THREE_BYTE_SSE5_0F{24,25,7A,7B}): New macros for initializing 3
480 byte opcode support for SSE5 instructions.
481 (dis386_twobyte): Add SSE5 24/25/7a/7b support.
482 (three_byte_table): Add rows for describing SSE5 instructions.
484 2007-09-13 H.J. Lu <hongjiu.lu@intel.com>
486 * i386-dis.c (get_valid_dis386): Take a pointer to
487 disassemble_info. Handle IS_3BYTE_OPCODE.
488 (print_insn): Updated. Don't handle IS_3BYTE_OPCODE here.
490 2007-09-12 H.J. Lu <hongjiu.lu@intel.com>
492 * i386-opc.h (CpuUnused): Defined with CpuMax.
493 (OTUnused): Defined with OTMax.
495 2007-09-12 Jan Beulich <jbeulich@novell.com>
497 * i386-opc.tbl: Add two-operand forms of blendvps, blendvpd, and
499 * i386-tbl.h: Regenerate.
501 2007-09-09 H.J. Lu <hongjiu.lu@intel.com>
503 * i386-gen.c (main): Remove the local variable, unused.
505 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
507 * Makefile.am: Run "make dep-am".
508 * Makefile.in: Regenerate.
510 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
512 * configure.in (AC_CHECK_HEADERS): Add limits.h.
513 * configure: Regenerated.
514 * config.in: Likewise.
516 * i386-gen.c: Include "sysdep.h" instead of <stdlib.h> and
517 <string.h>. Use xstrerror instead of strerror.
519 (cpu_flag_init): Likewise.
520 (bitfield): Likewise.
522 (cpu_flags): Likewise.
523 (opcode_modifiers): Likewise.
524 (operand_types): Likewise.
526 (set_cpu_flags): Likewise.
527 (output_cpu_flags): Likewise.
528 (process_i386_cpu_flags): Likewise.
529 (output_opcode_modifier): Likewise.
530 (process_i386_opcode_modifier): Likewise.
531 (output_operand_type): Likewise.
532 (process_i386_operand_type): Likewise.
533 (set_bitfield): Likewise.
534 (operand_type_init): Likewise.
535 (process_i386_initializers): Likewise.
536 (process_i386_opcodes): Call process_i386_opcode_modifier to
537 process opcode_modifier. Call process_i386_operand_type to
538 process operand_types.
539 (process_i386_registers): Call process_i386_operand_type to
541 (main): Check unused bits in i386_cpu_flags and i386_operand_type.
542 Sort cpu_flags, opcode_modifiers and operand_types. Call
543 process_i386_initializers.
546 * i386-tbl.h: Regenerated.
548 * i386-opc.h: Include <limits.h>.
549 (CHAR_BIT): Define as 8 if not defined.
550 (Cpu186): Changed to position of bitfiled.
563 (Cpu3dnow): Likewise.
564 (Cpu3dnowA): Likewise.
566 (CpuPadLock): Likewise.
569 (CpuSSSE3): Likewise.
570 (CpuSSE4a): Likewise.
572 (CpuSSE4_1): Likewise.
573 (CpuSSE4_2): Likewise.
579 (ShortForm): Likewise.
581 (JumpDword): Likewise.
582 (JumpByte): Likewise.
583 (JumpInterSegment): Likewise.
590 (IgnoreSize): Likewise.
591 (DefaultSize): Likewise.
599 (IsString): Likewise.
600 (RegKludge): Likewise.
601 (IsPrefix): Likewise.
610 (FloatReg): Likewise.
620 (BaseIndex): Likewise.
626 (InOutPortReg): Likewise.
627 (ShiftCount): Likewise.
634 (FloatAcc): Likewise.
635 (JumpAbsolute): Likewise.
639 (Reg): Commented out.
641 (ImplicitRegister): Likewise.
646 (LLongMem): Likewise.
648 (ShortMem): Likewise.
653 (CpuNumOfUints): Likewise.
654 (CpuNumOfBits): Likewise.
655 (CpuUnused): Likewise.
656 (OTNumOfUints): Likewise.
657 (OTNumOfBits): Likewise.
658 (OTUnused): Likewise.
659 (i386_cpu_flags): New type.
660 (i386_operand_type): Likewise.
661 (i386_opcode_modifier): Likewise.
662 (CpuSledgehammer): Removed.
664 (CpuUnknownFlags): Likewise.
667 (ImplicitRegister): Likewise.
672 (LLongMem): Likewise.
674 (ShortMem): Likewise.
677 (template): Use i386_cpu_flags for cpu_flags, use
678 i386_opcode_modifier for opcode_modifier, use
679 i386_operand_type for operand_types.
680 (reg_entry): Use i386_operand_type for reg_type.
682 * Makefile.am (HFILES): Add i386-init.h.
683 ($(srcdir)/i386-init.h): New rule.
684 ($(srcdir)/i386-tbl.h): Depend on $(srcdir)/i386-init.h
686 * Makefile.in: Regenerated.
688 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
690 * i386-gen.c (next_field): Updated to take a separator.
691 (process_i386_opcodes): Updated.
692 (process_i386_registers): Likewise.
694 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
696 * i386-gen.c (table): Moved ...
697 (main): Here. Call process_copyright to output copyright.
698 (process_copyright): New.
699 (process_i386_opcodes): Take FILE *table.
700 (process_i386_registers): Likewise.
702 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
704 * i386-gen.c (table): New.
705 (process_i386_opcodes): Report errno when faied to open
706 i386-opc.tbl. Output opcodes to table. Close i386-opc.tbl
708 (process_i386_registers): Report errno when faied to open
709 i386-reg.tbl. Output opcodes to table. Close i386-reg.tbl
711 (main): Open i386-tbl.h for output.
713 * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@".
714 * Makefile.in: Regenerated.
716 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
718 * i386-opc.tbl: Correct SVME instructions to allow 32bit register
719 operand in 64bit mode.
720 * i386-tbl.h: Regenerated.
722 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
724 * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
725 (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
726 (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
728 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
730 * i386-dis.c (SVME_Fixup): Removed.
732 (OPC_EXT_RM_6): Likewise.
733 (grps): Use OPC_EXT_39.
734 (opc_ext_table): Add OPC_EXT_39.
735 (opc_ext_rm_table): Add OPC_EXT_RM_6.
737 * i386-opc.tbl: Correct SVME instructions to take register
739 * i386-tbl.h: Regenerated.
741 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
743 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
744 * Makefile.in: Regenerated.
746 * configure.in (AC_GNU_SOURCE): Added.
747 (AC_PROG_CC): Moved before AC_GNU_SOURCE.
748 (AC_CHECK_DECLS): Add stpcpy.
749 * configure: Regenerated.
750 * config.in: Likewise.
752 * i386-dis.c: Include "sysdep.h" before "dis-asm.h".
754 * sysdep.h (stpcpy): New.
756 2007-08-30 H.J. Lu <hongjiu.lu@intel.com>
758 * i386-dis.c (INVLPG_Fixup): Removed.
760 (OPC_EXT_RM_5): Likewise.
761 (grps): Use OPC_EXT_38.
762 (opc_ext_table): Add OPC_EXT_38.
763 (opc_ext_rm_table): Add OPC_EXT_RM_5.
765 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
767 * i386-dis.c (SIMD_Fixup): Removed.
768 (OPC_EXT_34...OPC_EXT_37): New.
769 (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
770 (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
771 (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
773 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
775 * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
776 (dis386): Use OPC_EXT_0...OPC_EXT_2.
777 (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
778 (grps): Updated to use OPC_EXT_6...OPC_EXT_31.
779 (prefix_user_table): Use OPC_EXT_32.
780 (x86_64_table): Use OPC_EXT_33.
781 (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
783 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
785 * i386-dis.c (prefix_user_table): Fix comment.
787 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
789 * i386-dis.c (OP_Skip_MODRM): New.
790 (OP_Monitor): Likewise.
791 (OP_Mwait): Likewise.
793 (Skip_MODRM): Likewise.
794 (USE_OPC_EXT_TABLE): Likewise.
795 (USE_OPC_EXT_RM_TABLE): Likewise.
796 (PREGRP98...PREGRP100): Likewise.
797 (OPC_EXT_0...OPC_EXT_24): Likewise.
798 (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
799 (lock_prefix): Likewise.
800 (data_prefix): Likewise.
801 (addr_prefix): Likewise.
802 (repz_prefix): Likewise.
803 (repnz_prefix): Likewise.
804 (opc_ext_table): Likewise.
805 (opc_ext_rm_table): Likewise.
806 (get_valid_dis386): Likewise.
809 (PNI_Fixup): Likewise.
810 (VMX_Fixup): Likewise.
812 (twobyte_uses_DATA_prefix): Likewise.
813 (twobyte_uses_REPNZ_prefix): Likewise.
814 (twobyte_uses_REPZ_prefix): Likewise.
815 (threebyte_0x38_uses_DATA_prefix): Likewise.
816 (threebyte_0x38_uses_REPNZ_prefix): Likewise.
817 (threebyte_0x38_uses_REPZ_prefix): Likewise.
818 (threebyte_0x3a_uses_DATA_prefix): Likewise.
819 (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
820 (threebyte_0x3a_uses_REPZ_prefix): Likewise.
821 (grps): Use OPC_EXT_0...OPC_EXT_24.
822 (prefix_user_table): Add PREGRP98...PREGRP100.
823 (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
824 uses_REPNZ_prefix and uses_REPZ_prefix. Initialize
825 repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
826 data_prefix based on prefixes. Call get_valid_dis386 to
827 get a pointer to the valid dis386. Print out prefixes if
829 (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
830 (REP_Fixup): Set repz_prefix to "rep " when seeing
833 2007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
835 * po/nl.po: Updated translation.
837 2007-08-28 H.J. Lu <hongjiu.lu@intel.com>
839 * i386-dis.c (Md): New.
840 (grps): Use 0 on invlpg. Use M on fxsave and fxrstor. Use
841 Md on ldmxcsr and stmxcsr. Use b_mode on clflush.
842 (OP_0fae): Clear bytemode for sfence.
844 2007-08-22 Ben Elliston <bje@au.ibm.com>
846 * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
847 (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
849 (powerpc_opcodes): Add all pair singles instructions.
850 * ppc-dis.c (powerpc_dialect): Handle "ppcps".
851 (print_ppc_disassembler_options): Document -Mppcps.
853 2007-08-21 Andreas Krebbel <krebbel1@de.ibm.com>
855 * s390-mkopc.c (struct s390_cond_ext_format): New global struct.
856 (s390_cond_ext_format): New global variable.
857 (expandConditionalJump): New function.
858 (main): Invoke expandConditionalJump for mnemonics containing '*'.
859 * s390-opc.txt: Replace mnemonics with conditional
860 mask extensions with instructions using the newly introduced '*' tag.
862 2007-08-17 Alan Modra <amodra@bigpond.net.au>
864 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
866 2007-08-10 Nick Clifton <nickc@redhat.com>
868 * po/fi.po: Updated Finnish translation.
869 * po/ga.po: Updated Irish translation.
870 * po/vi.po: Updated Vietnamese translation.
872 2007-08-09 H.J. Lu <hongjiu.lu@intel.com>
874 * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
875 pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
876 * i386-tbl.h: Regenerated.
878 2007-08-03 James E. Wilson <wilson@specifix.com>
880 * ia64-gen.c: (main): Add missing newline to copyright message.
881 * ia64-ic.tbl (fp-non-arith): Add xmpy.
882 * ia64-asmtab.c: Regenerate.
884 2007-08-01 Michael Snyder <msnyder@access-company.com>
886 * i386-dis.c (print_insn): Guard against NULL.
888 2007-07-29 H.J. Lu <hongjiu.lu@intel.com>
891 * i386-dis.c (EXw): New.
892 (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
893 instructions when appropriated.
895 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
898 * i386-dis.c (Eq): New.
899 (EMC): Renamed to ...
900 (EMCq): This. Use q_mode instead of v_mode.
901 (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
904 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
906 * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
907 (prefix_user_table): Likewise. Use EXq instead of EXx on
910 2007-07-27 Nathan Sidwell <nathan@codesourcery.com>
912 * ppc-opc (PPC7450): New.
913 (powerpc_opcodes): Use it in dcba.
915 2007-07-24 H.J. Lu <hongjiu.lu@intel.com>
917 * i386-gen.c (main): Print a newline after copyright notice.
919 2007-07-19 Nick Clifton <nickc@redhat.com>
922 * maxq-dis.c (get_reg_name): Fix the scan of the
923 mem_access_syntax_table.
925 2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
927 * i386-dis.c (EMq): Removed.
929 (prefix_user_table): Replace EMq with EMx.
931 2007-07-16 Nick Clifton <nickc@redhat.com>
933 * po/nl.po: Updated translation.
935 2007-07-12 Nick Clifton <nickc@redhat.com>
937 * po/vi.po: Updated translation.
938 * po/nl.po: Updated translation.
940 2007-07-06 Mark Kettenis <kettenis@gnu.org>
941 H.J. Lu <hongjiu.lu@intel.com>
943 * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
944 (ia64-asmtab.c): Likewise.
945 * Makefile.in: Regenerate.
947 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
949 * aclocal.m4: Regenerated.
951 2007-07-04 Nick Clifton <nickc@redhat.com>
953 * alpha-dis.c: Update copyright notice to refer to GPLv3.
954 * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h,
955 arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c,
956 cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in,
957 cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c,
958 cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c,
959 d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c,
960 dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c,
961 h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c,
962 i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c,
963 ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c,
964 ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c,
965 ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c,
966 m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c,
967 m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c,
968 mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c,
969 mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c,
970 or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c,
971 ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c,
972 score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h,
973 sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c,
974 spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c,
975 tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c,
976 vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c,
977 z8k-dis.c, z8kgen.c: Likewise.
978 * i386-opc.tbl, i386-reg.tbl: Add copyright notice.
979 * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h,
980 fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c,
981 frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c,
982 frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c,
983 ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h,
984 iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c,
985 iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c,
986 m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c,
987 m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
988 m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c,
989 mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c,
990 mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c,
991 mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c,
992 openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c,
993 openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h,
994 xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h,
995 xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h,
996 xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c,
997 xstormy16-opc.h, z8k-opc.h: Regenerated
999 2007-07-04 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1001 * cr16-dis.c (getcinvstring): Add const qualifier to char *
1003 (print_insn_cr16): Remove cast to char *.
1005 2007-07-03 Nathan Sidwell <nathan@codesourcery.com>
1007 * m68k-dis.c (fetch_arg): Add E. Replace length switch with
1009 (print_ins_arg): Add j & K operand types.
1010 (match_insn_m68k): Check and skip initial '.' arg character.
1011 (m68k_scan_mask): Likewise.
1012 * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
1014 2007-07-02 Alan Modra <amodra@bigpond.net.au>
1016 * Makefile.am: Run "make dep-am".
1017 * Makefile.in: Regenerate.
1018 * aclocal.m4: Regenerate.
1019 * config.in: Regenerate.
1020 * po/POTFILES.in: Regenerate.
1021 * po/opcodes.pot: Regenerate.
1023 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
1025 * aclocal.m4: Regenerated.
1026 * Makefile.in: Likewise.
1028 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
1030 * i386-reg.tbl: Remove spaces before comments.
1032 2007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1034 * cr16-opc.c: New file.
1035 * cr16-dis.c: New file.
1036 * Makefile.am: Entries for cr16.
1037 * Makefile.in: Regenerate.
1038 * cofigure.in: Add cr16 target information.
1039 * configure : Regenerate.
1040 * disassemble.c: Add cr16 target information.
1042 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
1044 * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
1045 (CFILES): Add i386-gen.c.
1046 (i386-gen): New rule.
1047 (i386-gen.o): Likewise.
1048 (i386-tbl.h): Likewise.
1050 * Makefile.in: Regenerated.
1052 * i386-gen.c: New file.
1053 * i386-opc.tbl: Likewise.
1054 * i386-reg.tbl: Likewise.
1055 * i386-tbl.h: Likewise.
1057 * i386-opc.c: Include "i386-tbl.h".
1058 (i386_optab): Removed.
1059 (i386_regtab): Likewise.
1060 (i386_regtab_size): Likewise.
1062 2007-06-26 Paul Brook <paul@codesourcery.com>
1064 * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
1066 2007-06-25 H.J. Lu <hongjiu.lu@intel.com>
1068 * i386-opc.h (regKludge): Renamed to ...
1071 * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
1073 2007-06-23 H.J. Lu <hongjiu.lu@intel.com>
1076 * i386-dis.c (EX): Removed.
1082 (PREGRP93...PREGRP97): Likewise.
1083 (dis386_twobyte): Updated.
1084 (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
1085 (OP_EX): Remove Intel syntax handling.
1087 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
1089 * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
1091 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
1093 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
1095 * acinclude.m4: Removed.
1097 * Makefile.in: Regenerated.
1098 * doc/Makefile.in: Likewise.
1099 * aclocal.m4: Likewise.
1100 * configure: Likewise.
1102 2007-06-05 Paul Brook <paul@codesourcery.com>
1104 * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
1106 2007-05-24 Steve Ellcey <sje@cup.hp.com>
1108 * Makefile.in: Regnerate.
1109 * configure: Regenerate.
1110 * aclocal.m4: Regenerate.
1112 2007-05-18 Alan Modra <amodra@bigpond.net.au>
1114 * ppc-dis.c (print_insn_powerpc): Don't skip all operands
1115 after setting skip_optional.
1117 2007-05-16 Peter Bergner <bergner@vnet.ibm.com>
1119 * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
1120 (print_insn_powerpc): Use the new operand_value_powerpc and
1121 skip_optional_operands functions to omit or print all optional
1122 operands as a group.
1123 * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
1124 (XFL_MASK): Delete L and W bits from the mask.
1125 (mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK
1126 with XWRA_MASK. Use W.
1127 (mtfsf, mtfsf.): Use XFL_L and W.
1129 2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
1132 * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
1134 2007-05-10 H.J. Lu <hongjiu.lu@intel.com>
1136 * i386-opc.h (ShortForm): Redefined.
1138 (JumpDword): Likewise.
1139 (JumpByte): Likewise.
1140 (JumpInterSegment): Likewise.
1141 (FloatMF): Likewise.
1147 (IgnoreSize): Likewise.
1148 (DefaultSize): Likewise.
1149 (No_bSuf): Likewise.
1150 (No_wSuf): Likewise.
1151 (No_lSuf): Likewise.
1152 (No_sSuf): Likewise.
1153 (No_qSuf): Likewise.
1154 (No_xSuf): Likewise.
1156 (IsString): Likewise.
1157 (regKludge): Likewise.
1158 (IsPrefix): Likewise.
1160 (NoRex64): Likewise.
1164 2007-05-07 H.J. Lu <hongjiu.lu@intel.com>
1166 * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
1167 for some SSE4 instructions.
1168 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1170 2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
1172 * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
1174 * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
1177 2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
1179 * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
1180 check data size prefix in 16bit mode.
1182 * i386-opc.c (i386_optab): Default crc32 to non-8bit and
1185 2007-04-30 Mark Salter <msalter@redhat.com>
1187 * frv-desc.c: Regenerate.
1188 * frv-desc.h: Regenerate.
1190 2007-04-30 Alan Modra <amodra@bigpond.net.au>
1193 * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
1195 2007-04-27 H.J. Lu <hongjiu.lu@intel.com>
1197 * i386-dis.c (modrm): Put reg before rm.
1199 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1202 * i386-dis.c (print_displacement): New.
1203 (OP_E): Call print_displacement instead of print_operand_value
1204 to output displacement when either base or index exist. Print
1205 the explicit zero displacement in 16bit mode.
1207 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1210 * i386-dis.c (print_insn): Also swap the order of op_riprel
1211 when swapping op_index. Break when the RIP relative address
1213 (OP_E): Properly handle RIP relative addressing and print the
1214 explicit zero displacement for Intel mode.
1216 2007-04-27 Alan Modra <amodra@bigpond.net.au>
1218 * Makefile.am: Run "make dep-am".
1219 * Makefile.in: Regenerate.
1220 * ns32k-dis.c: Include sysdep.h first.
1222 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
1224 * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
1226 * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
1228 2007-04-24 Nick Clifton <nickc@redhat.com>
1230 * arm-dis.c (print_insn): Initialise type.
1232 2007-04-24 Alan Modra <amodra@bigpond.net.au>
1234 * cgen-types.h: Include bfd_stdint.h, not stdint.h.
1235 * Makefile.am: Run "make dep-am".
1236 * Makefile.in: Regenerate.
1238 2007-04-23 Nathan Sidwell <nathan@codesourcery.com>
1240 * m68k-opc.c: Mark mcfisa_c instructions.
1242 2007-04-21 Richard Earnshaw <rearnsha@arm.com>
1244 * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
1245 (thumb_opcodes): Add missing white space in adr.
1246 (arm_decode_shift): New parameter, print_shift. Only decode the
1247 shift parameter if set. Adjust callers.
1248 (print_insn_arm): Support for operand type q with no shift decode.
1250 2007-04-21 Alan Modra <amodra@bigpond.net.au>
1252 * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
1254 (i386_regtab): ..here.
1255 * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
1257 * ppc-opc.c (powerpc_operands): Delete duplicate entries.
1258 (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
1259 (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
1260 (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
1262 2007-04-20 Nathan Sidwell <nathan@codesourcery.com>
1264 * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
1267 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1269 * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
1271 * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
1272 in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove
1273 references to following deleted functions.
1274 (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
1275 (insert_ds, extract_ds, insert_de, extract_de): Delete.
1276 (insert_des, extract_des, insert_li, extract_li): Delete.
1277 (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
1278 (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
1279 (num_powerpc_operands): New constant.
1280 (XSPRG_MASK): Remove entire SPRG field.
1281 (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
1283 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1285 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
1287 (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
1289 2007-04-20 Richard Earnshaw <rearnsha@arm.com>
1291 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
1294 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1296 * Makefile.am: Run "make dep-am".
1297 * Makefile.in: Regenerate.
1298 * po/POTFILES.in: Regenerate.
1300 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1302 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
1303 db10cyc, db12cyc, db16cyc.
1305 2007-04-19 Nathan Froyd <froydnj@codesourcery.com>
1307 * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
1309 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1311 * i386-dis.c (CRC32_Fixup): New.
1312 (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
1314 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
1315 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1316 (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
1317 PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
1318 (three_byte_table): Likewise.
1320 * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
1322 * i386-opc.h (CpuSSE4_2): New.
1323 (CpuSSE4): Likewise.
1324 (CpuUnknownFlags): Add CpuSSE4_2.
1326 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1328 * i386-dis.c (XMM_Fixup): New.
1334 (PREGRP39 ... PREGRP85): New.
1335 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
1336 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1337 (prefix_user_table): Add PREGRP39 ... PREGRP85.
1338 (three_byte_table): Likewise.
1339 (putop): Handle 'K'.
1340 (intel_operand_size): Handle dqb_mode, dqd_mode):
1344 * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
1346 * i386-opc.h (CpuSSE4_1): New.
1347 (CpuUnknownFlags): Add CpuSSE4_1.
1348 (regKludge): Update comment.
1350 2007-04-18 Matthias Klose <doko@ubuntu.com>
1352 * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
1353 * Makefile.in: Regenerate.
1355 2007-04-14 Steve Ellcey <sje@cup.hp.com>
1357 * Makefile.am: Add ACLOCAL_AMFLAGS.
1358 * Makefile.in: Regenerate.
1360 2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
1362 * i386-dis.c: Remove trailing white spaces.
1363 * i386-opc.c: Likewise.
1364 * i386-opc.h: Likewise.
1366 2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
1369 * i386-dis.c (GRP1a): New.
1370 (GRP1b ... GRPPADLCK2): Update index.
1371 (dis386): Use GRP1a for entry 0x8f.
1372 (mod, rm, reg): Removed. Replaced by ...
1376 2007-04-09 Kazu Hirata <kazu@codesourcery.com>
1378 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
1379 info->print_address_func if longjmp is called.
1381 2007-03-29 DJ Delorie <dj@redhat.com>
1383 * m32c-desc.c: Regenerate.
1384 * m32c-dis.c: Regenerate.
1385 * m32c-opc.c: Regenerate.
1387 2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
1389 * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
1390 movq. Remove InvMem from sldt, smsw and str.
1392 * i386-opc.h (InvMem): Renamed to ...
1393 (RegMem): Update comments.
1394 (AnyMem): Remove InvMem.
1396 2007-03-27 Paul Brook <paul@codesourcery.com>
1398 * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
1400 2007-03-24 Paul Brook <paul@codesourcery.com>
1402 * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
1403 (print_insn_coprocessor): Handle %<bitfield>x.
1405 2007-03-24 Paul Brook <paul@codesourcery.com>
1406 Mark Shinwell <shinwell@codesourcery.com>
1408 * arm-dis.c (arm_opcodes): Print SRS base register.
1410 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
1412 * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
1414 * i386-opc.c (i386_optab): Add rex.wrxb.
1416 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1418 * i386-dis.c (REX_MODE64): Remove definition.
1419 (REX_EXTX): Likewise.
1420 (REX_EXTY): Likewise.
1421 (REX_EXTZ): Likewise.
1422 (USED_REX): Use REX_OPCODE instead of 0x40.
1423 Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
1424 REX_R, REX_X and REX_B respectively.
1426 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1429 * i386-dis.c (PREGRP38): New.
1430 (dis386): Use PREGRP38 for 0x90.
1431 (prefix_user_table): Add PREGRP38.
1432 (print_insn): Set uses_REPZ_prefix to 1 for pause.
1433 (NOP_Fixup1): Properly handle REX bits.
1434 (NOP_Fixup2): Likewise.
1436 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
1437 Allow register with nop.
1439 2007-03-20 DJ Delorie <dj@redhat.com>
1441 * m32c-asm.c: Regenerate.
1442 * m32c-desc.c: Regenerate.
1443 * m32c-desc.h: Regenerate.
1444 * m32c-dis.h: Regenerate.
1445 * m32c-ibld.c: Regenerate.
1446 * m32c-opc.c: Regenerate.
1447 * m32c-opc.h: Regenerate.
1449 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1451 * i386-opc.c: Include "libiberty.h".
1452 (i386_regtab): Remove the last entry.
1453 (i386_regtab_size): New.
1454 (i386_float_regtab_size): Likewise.
1456 * i386-opc.h (i386_regtab_size): New.
1457 (i386_float_regtab_size): Likewise.
1459 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1461 * Makefile.am (CFILES): Add i386-opc.c.
1462 (ALL_MACHINES): Add i386-opc.lo.
1464 * Makefile.in: Regenerated.
1466 * configure.in: Add i386-opc.lo for bfd_i386_arch.
1467 * configure: Regenerated.
1469 * i386-dis.c: Include "opcode/i386.h".
1470 (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
1471 (FWAIT_OPCODE): Remove definition.
1472 (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
1473 (MAX_OPERANDS): Remove definition.
1475 * i386-opc.c: New file.
1476 * i386-opc.h: Likewise.
1478 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1480 * Makefile.in: Regenerated.
1482 2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
1484 * i386-dis.c (OP_Rd): Renamed to ...
1489 2007-03-08 Alan Modra <amodra@bigpond.net.au>
1491 * fr30-asm.c: Regenerate.
1492 * frv-asm.c: Regenerate.
1493 * ip2k-asm.c: Regenerate.
1494 * iq2000-asm.c: Regenerate.
1495 * m32c-asm.c: Regenerate.
1496 * m32r-asm.c: Regenerate.
1497 * m32r-dis.c: Regenerate.
1498 * mt-asm.c: Regenerate.
1499 * mt-ibld.c: Regenerate.
1500 * mt-opc.c: Regenerate.
1501 * openrisc-asm.c: Regenerate.
1502 * xc16x-asm.c: Regenerate.
1503 * xstormy16-asm.c: Regenerate.
1505 * Makefile.am: Run "make dep-am".
1506 * Makefile.in: Regenerate.
1507 * po/POTFILES.in: Regenerate.
1509 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
1511 * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
1512 INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
1513 instruction formats added.
1514 (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
1515 MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
1517 * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
1519 * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1520 (main): z9-ec cpu type option added.
1521 * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1523 2007-02-22 DJ Delorie <dj@redhat.com>
1525 * s390-opc.c (INSTR_SS_L2RDRD): New.
1526 (MASK_SS_L2RDRD): New.
1527 * s390-opc.txt (pka): Use it.
1529 2007-02-20 Thiemo Seufer <ths@mips.com>
1530 Chao-Ying Fu <fu@mips.com>
1532 * mips-dis.c (mips_arch_choices): Add DSP R2 support.
1533 (print_insn_args): Add support for balign instruction.
1534 * mips-opc.c (D33): New shortcut for DSP R2 instructions.
1535 (mips_builtin_opcodes): Add DSP R2 instructions.
1537 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1539 * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
1540 (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
1541 * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
1542 cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
1544 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1546 * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
1547 * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
1548 (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
1551 2007-02-16 Nick Clifton <nickc@redhat.com>
1554 * avr-dis.c (comment_start): New variable, contains the prefix to
1555 use when printing addresses in comments.
1556 (print_insn_avr): Set comment_start to an empty space if there is
1557 no symbol table available as the generic address printing code
1558 will prefix the numeric value of the address with 0x.
1560 2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
1562 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
1565 2007-02-05 Dave Brolley <brolley@redhat.com>
1566 Richard Sandiford <rsandifo@redhat.com>
1567 DJ Delorie <dj@redhat.com>
1568 Graydon Hoare <graydon@redhat.com>
1569 Frank Ch. Eigler <fche@redhat.com>
1570 Ben Elliston <bje@redhat.com>
1572 * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
1573 (CFILES): Add mep-*.c
1574 (ALL_MACHINES): Add mep-*.lo.
1575 (CLEANFILES): Add stamp-mep.
1576 (CGEN_CPUS): Add mep.
1577 (MEP_DEPS): New variable.
1578 (mep-*): New targets.
1579 * configure.in: Handle bfd_mep_arch.
1580 * disassemble.c (ARCH_mep): New macro.
1581 (disassembler): Handle bfd_arch_mep.
1582 (disassemble_init_for_target): Likewise.
1583 * mep-*: New files for Toshiba Media Processor (MeP).
1584 * Makefile.in: Regenerated.
1585 * configure: Regenerated.
1587 2007-02-05 H.J. Lu <hongjiu.lu@intel.com>
1589 * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
1590 wrap around within the same segment in 16bit mode.
1592 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1594 * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
1597 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1599 * avr-dis.c (avr_operand): Correct PR number in comment.
1601 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1603 * disassemble.c (disassembler_usage): Call
1604 print_i386_disassembler_options for i386 disassembler.
1606 * i386-dis.c (print_i386_disassembler_options): New.
1607 (print_insn): Support the new addr64 option.
1609 2007-02-02 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
1611 * ppc-dis.c (powerpc_dialect): Handle ppc440.
1612 * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
1615 2007-02-02 Alan Modra <amodra@bigpond.net.au>
1617 * ppc-opc.c (insert_bdm): -Many comment.
1618 (valid_bo): Add "extract" param. Accept both powerpc and power4
1619 BO fields when disassembling with -Many.
1620 (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
1622 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
1624 * m68k-opc.c (m68k_opcodes): Replace cpu32 with
1625 cpu32 | fido_a except on tbl instructions.
1627 2007-01-04 Paul Brook <paul@codesourcery.com>
1629 * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
1631 2007-01-04 Andreas Schwab <schwab@suse.de>
1633 * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
1635 2007-01-04 Julian Brown <julian@codesourcery.com>
1637 * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
1638 vqrshl instructions.
1640 For older changes see ChangeLog-2006
1646 version-control: never