1 2007-10-19 H.J. Lu <hongjiu.lu@intel.com>
3 * i386-dis.c (prefix_table): Use XS on psrldq and pslldq.
5 2007-10-17 Nathan Sidwell <nathan@codesourcery.com>
7 * m68k-opc.c (m68k_opcodes): Correct move sr and ccr masks for
10 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
12 * ppc-opc.c (powerpc_opcodes): Fix the first two operands of
13 dquaiq. to use the TE and FRT macros.
15 2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
17 * ppc-opc.c (TE): Correct signedness.
18 (powerpc_opcodes): Sort psq_st and psq_stu according to major
21 2007-10-15 H.J. Lu <hongjiu.lu@intel.com>
23 * i386-dis.c (dis386_twobyte): Reformat.
24 (prefix_table): Likewise.
25 (three_byte_table): Likewise.
27 2007-10-15 Alan Modra <amodra@bigpond.net.au>
29 * mcore-dis.c (print_insn_mcore): Protect "fprintf" var against
32 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
34 * i386-gen.c (opcode_modifiers): Add FirstXmm0.
36 * i386-opc.h (FirstXmm0): New.
38 (i386_opcode_modifier): Add firstxmm0.
40 * i386-opc.tbl (blendvpd): Replace RegKludge with FirstXmm0.
43 * i386-tbl.h: Regenerated.
45 2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
47 * i386-dis.c (prefix_table): Reformat pblendvb and blendvps.
49 2007-10-10 H.J. Lu <hongjiu.lu@intel.com>
51 * i386-dis.c (v_mode): Defined as previous one + 1.
58 (cond_jump_mode): Likewise.
59 (loop_jcxz_mode): Likewise.
63 (const_1_mode): Likewise.
64 (stack_v_mode): Likewise.
107 (z_mode_ax_reg): Likewise.
108 (indir_dx_reg): Likewise.
110 (DREX_NO_OC0): Likewise.
111 (DREX_MASK): Likewise.
112 (MAX_BYTEMODE): New. Issue an error if MAX_BYTEMODE is not
115 2007-10-08 H.J. Lu <hongjiu.lu@intel.com>
117 * i386-dis.c: Updated comments for 'Y'.
118 (putop): Don't add 'q' for 'Y' if suffix_always isn't true.
120 2007-10-08 Maciej W. Rozycki <macro@linux-mips.org>
122 * opcodes/mips-dis.c (mips_cp0_names_r3000): New definition.
123 (mips_cp0_names_r4000): Likewise.
124 (mips_arch_choices): Link to the above as appropriate.
126 2007-10-08 Nick Clifton <nickc@redhat.com>
128 * configure.in (SHARED_DEPENDENCIES): Change non-cygwin dependency
129 to be ../bfd/libbfd.la.
130 * configure: Regenerate.
132 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
134 * i386-dis.c (dis386_twobyte): Add getsec.
136 * i386-gen.c (cpu_flags): Add CpuSMX.
138 * i386-opc.h (CpuSMX): New.
140 (i386_cpu_flags): Add cpusmx.
142 * i386-opc.tbl: Add getsec.
143 * i386-init.h: Regenerated.
144 * i386-tbl.h: Likewise.
146 2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
148 * i386-dis.c (reg_table): Use "{ XX }" on "(bad)".
149 (prefix_table): Likewise.
151 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
153 * i386-dis.c (dis386_twobyte): Use EXx instead of EXq on
154 unpckhpX and unpckhpX.
156 2007-10-04 David Daney <ddaney@avtrex.com>
158 * mips-opc.c (mips_builtin_opcodes): Mark lwxc1 as working on FP_S
161 2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
163 * i386-dis.c (MOD_0F12_PREFIX_0): Use "movlps" and "movhlps"
164 instead of "movlpX" and "movhlpX", respectively.
165 (MOD_0F16_PREFIX_0): Use "movhps" and "movlhps" instead of
166 "movhpX" and "movlhpX", respectively.
168 2007-10-04 Nick Clifton <nickc@redhat.com>
170 * configure.in (WIN32LDFLAGS): Rename to SHARED_LDFLAGS.
171 (WIN32LIBADD): Rename to SHARED_LIBADD
172 (SHARED_DEPENDENCIES): New exported variable.
173 (enable_shared): Add dependency upon libbfd.la for non-cygwin
174 based shared library builds.
175 * Makefile.am (libopcodes_la_DEPENDENCIES): Append
177 (libopcodes_la_LIBADD): Rename WIN32LIBADD to SHARED_LIBADD.
178 (libopcodes_la_LDFLAGS): Rename WIN32LDFLAGS to SHARED_LDFLAGS.
179 * configure: Regenerate.
180 * Makefile.in: Regenerate.
183 * arc-opc.c (insert_offset): Fix spelling mistake in error
186 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
188 * i386-dis.c (OP_REG): Set add to 0 only when needed.
197 2007-10-03 H.J. Lu <hongjiu.lu@intel.com>
199 * i386-opc.tbl: Update SSE comments.
201 2007-10-01 H.J. Lu <hongjiu.lu@intel.com>
203 * i386-dis.c (THREE_BYTE_0FBA): Renamed to ...
204 (THREE_BYTE_0F7B): This.
205 (dis386_twobyte): Updated.
206 (three_byte_table): Updated comments.
208 2007-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
210 * cr16-opc.c: Updated the branch on condition instructions with
213 2007-09-30 H.J. Lu <hongjiu.lu@intel.com>
215 * 386-dis.c (prefix_table): Reformat comment.
217 2007-09-29 H.J. Lu <hongjiu.lu@intel.com>
219 * 386-dis.c (USE_GROUPS): Renamed to ...
220 (USE_REG_TABLE): This.
221 (USE_OPC_EXT_TABLE): Renamed to ...
222 (USE_MOD_TABLE): This.
223 (USE_OPC_EXT_RM_TABLE): Renamed to ...
224 (USE_RM_TABLE): This.
225 (USE_XXX_TABLE): Reordered.
226 (GRP): Renamed to ...
228 (OPC_EXT_TABLE): Renamed to ...
230 (OPC_EXT_RM_TABLE): Renamed to ...
232 (GRP_XXX): Renamed to ...
234 (PREGRP_XXX): Renamed to ...
236 (OPC_EXT_XXX): Renamed to ...
238 (OPC_EXT_RM_XXX): Renamed to ...
240 (grps): Renamed to ...
242 (prefix_user_table): Renamed to ...
244 (opc_ext_table): Renamed to ...
246 (opc_ext_rm_table): Renamed to ...
248 (OPC_EXT_RM_XXX): Likewise.
250 (dis386_twobyte): Likewise.
251 (reg_table): Likewise.
252 (prefix_table): Likewise.
253 (x86_64_table): Likewise.
254 (three_byte_table): Likewise.
255 (mod_table): Likewise.
256 (rm_table): Likewise.
257 (get_valid_dis386): Likewise.
259 2007-09-28 H.J. Lu <hongjiu.lu@intel.com>
261 * 386-dis.c (USE_PREFIX_USER_TABLE): Renamed to ...
262 (USE_PREFIX_TABLE): This.
263 (X86_64_SPECIAL): Renamed to ...
264 (USE_X86_64_TABLE): This.
265 (IS_3BYTE_OPCODE): Renamed to ...
266 (USE_3BYTE_TABLE): This.
268 (PREGRPXXX): Likewise.
269 (X86_64_XXX): Likewise.
270 (THREE_BYTE_XXX): Likewise.
271 (OPC_EXT_XXX): Likewise.
272 (OPC_EXT_RM_XXX): Likewise.
276 (X86_64_TABLE): Likewise.
277 (THREE_BYTE_TABLE): Likewise.
278 (OPC_EXT_TABLE): Likewise.
279 (OPC_EXT_RM_TABLE): Likewise.
281 (PREGRP_XXX): Likewise.
282 (X86_64_XXX): Likewise.
283 (THREE_BYTE_XXX): Likewise.
284 (OPC_EXT_XXX): Likewise.
285 (OPC_EXT_RM_XXX): Likewise.
287 (dis386_twobyte): Likewise.
289 (prefix_user_table): Likewise.
290 (x86_64_table): Likewise.
291 (three_byte_table): Likewise.
292 (opc_ext_table): Likewise.
293 (opc_ext_rm_table): Likewise.
294 (get_valid_dis386): Likewise.
296 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
298 * i386-dis.c (dis386): Swap X86_64_27 with OPC_EXT_2.
299 (x86_64_table): Likewise.
300 (opc_ext_table): Likewise.
302 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
305 * i386-dis.c: Update comments on '{', '}' and '|' to support
306 only AT&T and Intel modes.
307 (X86_64_4...X86_64_27): New.
308 (dis386): Updated. Use X86_64_4...X86_64_21.
309 (dis386_twobyte): Updated.
310 (float_mem): Likewise.
311 (x86_64_table): Add X86_64_4...X86_64_27.
312 (opc_ext_table): Updated. Use X86_64_22...X86_64_27.
313 (putop): Updated handling of '{', '}' and '|' to support only
314 AT&T and Intel modes.
316 2007-09-27 Kazu Hirata <kazu@codesourcery.com>
318 * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb.
320 2007-09-26 James E. Wilson <wilson@specifix.com>
322 * ia64-gen.c (print_dependency_table): Fix typo in last patch.
324 2007-09-26 Nick Clifton <nickc@redhat.com>
326 * mt-asm.c (parse_imm16): Reword error message in order to allow
327 it to be translated properly.
328 * ia64-gen.c (print_dependency_table): Likewise.
329 * mips-dis.c (print_insn_args): Likewise.
331 2007-09-26 Jan Beulich <jbeulich@novell.com>
333 * i386-dis.c (OP_E_extended): Distinguish rip- and eip-
334 relative addressing. Update used_prefixes based on whether any
335 base or index register was printed.
337 2007-09-26 Jan Beulich <jbeulich@novell.com>
339 * i386-opc.h (RegEip): Define.
341 * i386-reg.tbl: Add eip. Mark rip and eip with RegRex64.
342 * i386-tbl.h: Re-generate.
344 2007-09-25 H.J. Lu <hongjiu.lu@intel.com>
346 * i386-gen.c (process_i386_opcodes): Process opcode_length.
348 * i386-opc.h (template): Add opcode_length.
349 * 386-opc.tbl: Likewise.
350 * i386-tbl.h: Regenerated.
352 2007-09-21 H.J. Lu <hongjiu.lu@intel.com>
354 * i386-opc.h: Adjust whitespaces.
356 2007-09-21 Dave Brolley <brolley@redhat.com>
358 * mep-desc.c: Regenerated.
360 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
362 * i386-dis.c (OP_E_extended): Display eiz for [eiz*1 + offset].
364 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
367 * 386-dis.c (index64): New.
369 (intel_index64): Likewise.
370 (intel_index32): Likewise.
371 (att_index64): Likewise.
372 (att_index32): Likewise.
373 (print_insn): Set index64 and index32.
374 (OP_E_extended): Use index64/index32 for index register for
377 * i386-opc.h (RegEiz): New.
380 * i386-reg.tbl: Add eiz and riz.
381 * i386-tbl.h: Regenerated.
383 2007-09-19 H.J. Lu <hongjiu.lu@intel.com>
385 * i386-dis.c (OP_E_extended): Always display scale for memory.
387 2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
389 * i386-opc.h (RegRip): New.
391 * i386-reg.tbl (rip): Use RegRip for reg_num.
392 * i386-tbl.h: Regenerated.
394 2007-09-17 Nick Clifton <nickc@redhat.com>
396 * po/es.po: Updated Spanish translation.
398 2007-09-14 H.J. Lu <hongjiu.lu@intel.com>
400 * Makefile.am: Run "make dep-am".
401 * Makefile.in: Regenerate.
403 2007-09-14 Michael Meissner <michael.meissner@amd.com>
404 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
405 Tony Linthicum <tony.linthicum@amd.com>
407 * i386-opc.h (CpuSSE5): New macro.
408 (i386_cpu_flags): Add Drex, Drexv and Drexc.
410 * i386-gen.c (cpu_flag_init): Add CPU_SSE5_FLAGS.
411 (operand_type_init): Add CpuSSE5.
412 (opcode_modifiers): Add Drex, Drexv and Drexc.
413 (i386_opcode_modifier): Ditto.
415 * i386-opc.tbl (fmaddps,fmaddpd,fmaddss,fmaddsd): Define SSE5
417 (fmsubps,fmsubpd,fmsubss,fmsubsd): Ditto.
418 (fnmaddps,fnmaddpd,fnmaddss,fnmaddsd): Ditto.
419 (fnmsubps,fnmsubpd,fnmsubss,fnmsubsd): Ditto.
420 (pmacssww,pmacsww,pmacsswd,pmacswd): Ditto.
421 (pmacssdd,pmacsdd,pmacssdql,pmacssdqh): Ditto.
422 (pmacsdql,pmacsdqh,pmadcsswd,pmadcswd): Ditto.
423 (phaddbw,phaddbd,phaddbq,phaddwd): Ditto.
424 (phaddwq,phadddq,phaddubw,phaddubd): Ditto.
425 (phaddubq,phadduwd,phadduwq,phaddudq): Ditto.
426 (phsubbw,phsubwd,phsubdq): Ditto.
427 (pcmov,pperm,permps,permpd): Ditto.
428 (protb,protw,protd,protq): Ditto.
429 (pshlb,pshlw,pshld,pshlq): Ditto.
430 (pshab,pshaw,pshad,pshaq): Ditto.
431 (comps,comeqps,comltps,comungeps,comleps,comungtps): Ditto.
432 (comunordps,comneps,comneqps,comnltps,comugeps): Ditto.
433 (comnleps,comugtps,comordps,comueqps,comultps): Ditto.
434 (comngeps,comuleps,comngtps,comfalseps,comuneps): Ditto.
435 (comuneqps,comunltps,comgeps,comunleps,comgtps,comtrueps): Ditto.
436 (compd,comeqpd,comltpd,comungepd,comlepd,comungtpd,comunordpd): Ditto.
437 (comnepd,comneqpd,comnltpd,comugepd,comnlepd,comugtpd): Ditto.
438 (comordpd,comueqpd,comultpd,comngepd,comulepd,comngtpd): Ditto.
439 (comfalsepd,comunepd,comuneqpd,comunltpd,comgepd): Ditto.
440 (comunlepd,comgtpd,comtruepd): Ditto.
441 (comss,comeqss,comltss,comungess,comless,comungtss,comunordss): Ditto.
442 (comness,comneqss,comnltss,comugess,comnless,comugtss): Ditto.
443 (comordss,comueqss,comultss,comngess,comuless,comngtss): Ditto.
444 (comfalsess,comuness,comuneqss,comunltss,comgess): Ditto.
445 (comunless,comgtss,comtruess): Ditto.
446 (comsd,comeqsd,comltsd,comungesd,comlesd,comungtsd,comunordsd): Ditto.
447 (comnesd,comneqsd,comnltsd,comugesd,comnlesd,comugtsd): Ditto.
448 (comordsd,comueqsd,comultsd,comngesd,comulesd,comngtsd): Ditto.
449 (comfalsesd,comunesd,comuneqsd,comunltsd,comgesd): Ditto.
450 (comunlesd,comgtsd,comtruesd): Ditto.
451 (pcomub,pcomltub,pcomleub,pcomgtub,pcomgeub,pcomequb): Ditto.
452 (pcomnequb,pcomneub): Ditto.
453 (pcomuw,pcomltuw,pcomleuw,pcomgtuw,pcomgeuw,pcomequw): Ditto.
454 (pcomnequw,pcomneuw): Ditto.
455 (pcomud,pcomltud,pcomleud,pcomgtud,pcomgeud,pcomequd): Ditto.
456 (pcomnequd,pcomneud): Ditto.
457 (pcomuq,pcomltuq,pcomleuq,pcomgtuq,pcomgeuq,pcomequq): Ditto.
458 (pcomnequq,pcomneuq): Ditto.
459 (pcomb,pcomltb,pcomleb,pcomgtb,pcomgeb,pcomeqb): Ditto.
460 (pcomneqb,pcomneb): Ditto.
461 (pcomw,pcomltw,pcomlew,pcomgtw,pcomgew,pcomeqw): Ditto.
462 (pcomneqw,pcomnew): Ditto.
463 (pcomd,pcomltd,pcomled,pcomgtd,pcomged,pcomeqd): Ditto.
464 (pcomneqd,pcomned): Ditto.
465 (pcomq,pcomltq,pcomleq,pcomgtq,pcomgeq): Ditto.
466 (pcomeqq,pcomneqq,pcomneq): Ditto.
467 (pcomtrueb, pcomtruew, pcomtrued, pcomtrueq): Ditto.
468 (pcomtrueub, pcomtrueuw, pcomtrueud, pcomtrueuq): Ditto.
469 (pcomfalseb, pcomfalsew, pcomfalsed, pcomfalseq): Ditto.
470 (pcomfalseub, pcomfalseuw, pcomfalseud, pcomfalseuq): Ditto.
471 (frczps,frczpd,frczss,frczsd): Ditto.
472 (cvtph2ps,cvtps2ph): Ditto.
474 * i386-tbl.h: Regenerate from i386-opc.tbl.
475 * i386-init.h: Likewise.
477 * i386-dis.c (libiberty.h): Include to get ARRAY_SIZE.
478 (dis386_move_test): New disassembly support for move from test
479 register instruction that overlaps with SSE5 instructions.
480 (print_insn): Add support for special casing the i386/i486 move
481 from test register instruction that overlaps with the SSE5
482 0x0f24 4 operand instructions.
483 (OP_DREX_ICMP): New macros for SSE5 DREX handling.
484 (OP_DREX_FCMP): Ditto.
485 (OP_E_extended): Rename from OP_E, add additional argument to skip
487 (OP_E): Call OP_E_extended.
488 (DREX_REG_MEMORY): New macros for drex handling.
489 (DREX_REG_UNKNOWN): Ditto.
491 (DREX4_NO_OC0): Ditto.
493 (three_byte_table): Add SSE5 instructions.
494 (print_drex_arg): New function to print a DREX register or memory
496 (OP_DREX4): New function for handling DREX 4 argument ops.
497 (OP_DREX3): New function for handling DREX 3 argument ops.
498 (twobyte_has_modrm): 0f{25,7a,7b} all use the modrm byte.
499 (THREE_BYTE_SSE5_0F{24,25,7A,7B}): New macros for initializing 3
500 byte opcode support for SSE5 instructions.
501 (dis386_twobyte): Add SSE5 24/25/7a/7b support.
502 (three_byte_table): Add rows for describing SSE5 instructions.
504 2007-09-13 H.J. Lu <hongjiu.lu@intel.com>
506 * i386-dis.c (get_valid_dis386): Take a pointer to
507 disassemble_info. Handle IS_3BYTE_OPCODE.
508 (print_insn): Updated. Don't handle IS_3BYTE_OPCODE here.
510 2007-09-12 H.J. Lu <hongjiu.lu@intel.com>
512 * i386-opc.h (CpuUnused): Defined with CpuMax.
513 (OTUnused): Defined with OTMax.
515 2007-09-12 Jan Beulich <jbeulich@novell.com>
517 * i386-opc.tbl: Add two-operand forms of blendvps, blendvpd, and
519 * i386-tbl.h: Regenerate.
521 2007-09-09 H.J. Lu <hongjiu.lu@intel.com>
523 * i386-gen.c (main): Remove the local variable, unused.
525 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
527 * Makefile.am: Run "make dep-am".
528 * Makefile.in: Regenerate.
530 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
532 * configure.in (AC_CHECK_HEADERS): Add limits.h.
533 * configure: Regenerated.
534 * config.in: Likewise.
536 * i386-gen.c: Include "sysdep.h" instead of <stdlib.h> and
537 <string.h>. Use xstrerror instead of strerror.
539 (cpu_flag_init): Likewise.
540 (bitfield): Likewise.
542 (cpu_flags): Likewise.
543 (opcode_modifiers): Likewise.
544 (operand_types): Likewise.
546 (set_cpu_flags): Likewise.
547 (output_cpu_flags): Likewise.
548 (process_i386_cpu_flags): Likewise.
549 (output_opcode_modifier): Likewise.
550 (process_i386_opcode_modifier): Likewise.
551 (output_operand_type): Likewise.
552 (process_i386_operand_type): Likewise.
553 (set_bitfield): Likewise.
554 (operand_type_init): Likewise.
555 (process_i386_initializers): Likewise.
556 (process_i386_opcodes): Call process_i386_opcode_modifier to
557 process opcode_modifier. Call process_i386_operand_type to
558 process operand_types.
559 (process_i386_registers): Call process_i386_operand_type to
561 (main): Check unused bits in i386_cpu_flags and i386_operand_type.
562 Sort cpu_flags, opcode_modifiers and operand_types. Call
563 process_i386_initializers.
566 * i386-tbl.h: Regenerated.
568 * i386-opc.h: Include <limits.h>.
569 (CHAR_BIT): Define as 8 if not defined.
570 (Cpu186): Changed to position of bitfiled.
583 (Cpu3dnow): Likewise.
584 (Cpu3dnowA): Likewise.
586 (CpuPadLock): Likewise.
589 (CpuSSSE3): Likewise.
590 (CpuSSE4a): Likewise.
592 (CpuSSE4_1): Likewise.
593 (CpuSSE4_2): Likewise.
599 (ShortForm): Likewise.
601 (JumpDword): Likewise.
602 (JumpByte): Likewise.
603 (JumpInterSegment): Likewise.
610 (IgnoreSize): Likewise.
611 (DefaultSize): Likewise.
619 (IsString): Likewise.
620 (RegKludge): Likewise.
621 (IsPrefix): Likewise.
630 (FloatReg): Likewise.
640 (BaseIndex): Likewise.
646 (InOutPortReg): Likewise.
647 (ShiftCount): Likewise.
654 (FloatAcc): Likewise.
655 (JumpAbsolute): Likewise.
659 (Reg): Commented out.
661 (ImplicitRegister): Likewise.
666 (LLongMem): Likewise.
668 (ShortMem): Likewise.
673 (CpuNumOfUints): Likewise.
674 (CpuNumOfBits): Likewise.
675 (CpuUnused): Likewise.
676 (OTNumOfUints): Likewise.
677 (OTNumOfBits): Likewise.
678 (OTUnused): Likewise.
679 (i386_cpu_flags): New type.
680 (i386_operand_type): Likewise.
681 (i386_opcode_modifier): Likewise.
682 (CpuSledgehammer): Removed.
684 (CpuUnknownFlags): Likewise.
687 (ImplicitRegister): Likewise.
692 (LLongMem): Likewise.
694 (ShortMem): Likewise.
697 (template): Use i386_cpu_flags for cpu_flags, use
698 i386_opcode_modifier for opcode_modifier, use
699 i386_operand_type for operand_types.
700 (reg_entry): Use i386_operand_type for reg_type.
702 * Makefile.am (HFILES): Add i386-init.h.
703 ($(srcdir)/i386-init.h): New rule.
704 ($(srcdir)/i386-tbl.h): Depend on $(srcdir)/i386-init.h
706 * Makefile.in: Regenerated.
708 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
710 * i386-gen.c (next_field): Updated to take a separator.
711 (process_i386_opcodes): Updated.
712 (process_i386_registers): Likewise.
714 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
716 * i386-gen.c (table): Moved ...
717 (main): Here. Call process_copyright to output copyright.
718 (process_copyright): New.
719 (process_i386_opcodes): Take FILE *table.
720 (process_i386_registers): Likewise.
722 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
724 * i386-gen.c (table): New.
725 (process_i386_opcodes): Report errno when faied to open
726 i386-opc.tbl. Output opcodes to table. Close i386-opc.tbl
728 (process_i386_registers): Report errno when faied to open
729 i386-reg.tbl. Output opcodes to table. Close i386-reg.tbl
731 (main): Open i386-tbl.h for output.
733 * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@".
734 * Makefile.in: Regenerated.
736 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
738 * i386-opc.tbl: Correct SVME instructions to allow 32bit register
739 operand in 64bit mode.
740 * i386-tbl.h: Regenerated.
742 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
744 * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
745 (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
746 (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
748 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
750 * i386-dis.c (SVME_Fixup): Removed.
752 (OPC_EXT_RM_6): Likewise.
753 (grps): Use OPC_EXT_39.
754 (opc_ext_table): Add OPC_EXT_39.
755 (opc_ext_rm_table): Add OPC_EXT_RM_6.
757 * i386-opc.tbl: Correct SVME instructions to take register
759 * i386-tbl.h: Regenerated.
761 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
763 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
764 * Makefile.in: Regenerated.
766 * configure.in (AC_GNU_SOURCE): Added.
767 (AC_PROG_CC): Moved before AC_GNU_SOURCE.
768 (AC_CHECK_DECLS): Add stpcpy.
769 * configure: Regenerated.
770 * config.in: Likewise.
772 * i386-dis.c: Include "sysdep.h" before "dis-asm.h".
774 * sysdep.h (stpcpy): New.
776 2007-08-30 H.J. Lu <hongjiu.lu@intel.com>
778 * i386-dis.c (INVLPG_Fixup): Removed.
780 (OPC_EXT_RM_5): Likewise.
781 (grps): Use OPC_EXT_38.
782 (opc_ext_table): Add OPC_EXT_38.
783 (opc_ext_rm_table): Add OPC_EXT_RM_5.
785 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
787 * i386-dis.c (SIMD_Fixup): Removed.
788 (OPC_EXT_34...OPC_EXT_37): New.
789 (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
790 (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
791 (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
793 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
795 * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
796 (dis386): Use OPC_EXT_0...OPC_EXT_2.
797 (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
798 (grps): Updated to use OPC_EXT_6...OPC_EXT_31.
799 (prefix_user_table): Use OPC_EXT_32.
800 (x86_64_table): Use OPC_EXT_33.
801 (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
803 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
805 * i386-dis.c (prefix_user_table): Fix comment.
807 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
809 * i386-dis.c (OP_Skip_MODRM): New.
810 (OP_Monitor): Likewise.
811 (OP_Mwait): Likewise.
813 (Skip_MODRM): Likewise.
814 (USE_OPC_EXT_TABLE): Likewise.
815 (USE_OPC_EXT_RM_TABLE): Likewise.
816 (PREGRP98...PREGRP100): Likewise.
817 (OPC_EXT_0...OPC_EXT_24): Likewise.
818 (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
819 (lock_prefix): Likewise.
820 (data_prefix): Likewise.
821 (addr_prefix): Likewise.
822 (repz_prefix): Likewise.
823 (repnz_prefix): Likewise.
824 (opc_ext_table): Likewise.
825 (opc_ext_rm_table): Likewise.
826 (get_valid_dis386): Likewise.
829 (PNI_Fixup): Likewise.
830 (VMX_Fixup): Likewise.
832 (twobyte_uses_DATA_prefix): Likewise.
833 (twobyte_uses_REPNZ_prefix): Likewise.
834 (twobyte_uses_REPZ_prefix): Likewise.
835 (threebyte_0x38_uses_DATA_prefix): Likewise.
836 (threebyte_0x38_uses_REPNZ_prefix): Likewise.
837 (threebyte_0x38_uses_REPZ_prefix): Likewise.
838 (threebyte_0x3a_uses_DATA_prefix): Likewise.
839 (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
840 (threebyte_0x3a_uses_REPZ_prefix): Likewise.
841 (grps): Use OPC_EXT_0...OPC_EXT_24.
842 (prefix_user_table): Add PREGRP98...PREGRP100.
843 (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
844 uses_REPNZ_prefix and uses_REPZ_prefix. Initialize
845 repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
846 data_prefix based on prefixes. Call get_valid_dis386 to
847 get a pointer to the valid dis386. Print out prefixes if
849 (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
850 (REP_Fixup): Set repz_prefix to "rep " when seeing
853 2007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
855 * po/nl.po: Updated translation.
857 2007-08-28 H.J. Lu <hongjiu.lu@intel.com>
859 * i386-dis.c (Md): New.
860 (grps): Use 0 on invlpg. Use M on fxsave and fxrstor. Use
861 Md on ldmxcsr and stmxcsr. Use b_mode on clflush.
862 (OP_0fae): Clear bytemode for sfence.
864 2007-08-22 Ben Elliston <bje@au.ibm.com>
866 * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
867 (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
869 (powerpc_opcodes): Add all pair singles instructions.
870 * ppc-dis.c (powerpc_dialect): Handle "ppcps".
871 (print_ppc_disassembler_options): Document -Mppcps.
873 2007-08-21 Andreas Krebbel <krebbel1@de.ibm.com>
875 * s390-mkopc.c (struct s390_cond_ext_format): New global struct.
876 (s390_cond_ext_format): New global variable.
877 (expandConditionalJump): New function.
878 (main): Invoke expandConditionalJump for mnemonics containing '*'.
879 * s390-opc.txt: Replace mnemonics with conditional
880 mask extensions with instructions using the newly introduced '*' tag.
882 2007-08-17 Alan Modra <amodra@bigpond.net.au>
884 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
886 2007-08-10 Nick Clifton <nickc@redhat.com>
888 * po/fi.po: Updated Finnish translation.
889 * po/ga.po: Updated Irish translation.
890 * po/vi.po: Updated Vietnamese translation.
892 2007-08-09 H.J. Lu <hongjiu.lu@intel.com>
894 * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
895 pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
896 * i386-tbl.h: Regenerated.
898 2007-08-03 James E. Wilson <wilson@specifix.com>
900 * ia64-gen.c: (main): Add missing newline to copyright message.
901 * ia64-ic.tbl (fp-non-arith): Add xmpy.
902 * ia64-asmtab.c: Regenerate.
904 2007-08-01 Michael Snyder <msnyder@access-company.com>
906 * i386-dis.c (print_insn): Guard against NULL.
908 2007-07-29 H.J. Lu <hongjiu.lu@intel.com>
911 * i386-dis.c (EXw): New.
912 (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
913 instructions when appropriated.
915 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
918 * i386-dis.c (Eq): New.
919 (EMC): Renamed to ...
920 (EMCq): This. Use q_mode instead of v_mode.
921 (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
924 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
926 * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
927 (prefix_user_table): Likewise. Use EXq instead of EXx on
930 2007-07-27 Nathan Sidwell <nathan@codesourcery.com>
932 * ppc-opc (PPC7450): New.
933 (powerpc_opcodes): Use it in dcba.
935 2007-07-24 H.J. Lu <hongjiu.lu@intel.com>
937 * i386-gen.c (main): Print a newline after copyright notice.
939 2007-07-19 Nick Clifton <nickc@redhat.com>
942 * maxq-dis.c (get_reg_name): Fix the scan of the
943 mem_access_syntax_table.
945 2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
947 * i386-dis.c (EMq): Removed.
949 (prefix_user_table): Replace EMq with EMx.
951 2007-07-16 Nick Clifton <nickc@redhat.com>
953 * po/nl.po: Updated translation.
955 2007-07-12 Nick Clifton <nickc@redhat.com>
957 * po/vi.po: Updated translation.
958 * po/nl.po: Updated translation.
960 2007-07-06 Mark Kettenis <kettenis@gnu.org>
961 H.J. Lu <hongjiu.lu@intel.com>
963 * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
964 (ia64-asmtab.c): Likewise.
965 * Makefile.in: Regenerate.
967 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
969 * aclocal.m4: Regenerated.
971 2007-07-04 Nick Clifton <nickc@redhat.com>
973 * alpha-dis.c: Update copyright notice to refer to GPLv3.
974 * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h,
975 arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c,
976 cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in,
977 cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c,
978 cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c,
979 d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c,
980 dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c,
981 h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c,
982 i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c,
983 ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c,
984 ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c,
985 ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c,
986 m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c,
987 m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c,
988 mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c,
989 mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c,
990 or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c,
991 ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c,
992 score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h,
993 sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c,
994 spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c,
995 tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c,
996 vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c,
997 z8k-dis.c, z8kgen.c: Likewise.
998 * i386-opc.tbl, i386-reg.tbl: Add copyright notice.
999 * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h,
1000 fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c,
1001 frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c,
1002 frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c,
1003 ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h,
1004 iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c,
1005 iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c,
1006 m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c,
1007 m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
1008 m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c,
1009 mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c,
1010 mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c,
1011 mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c,
1012 openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c,
1013 openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h,
1014 xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h,
1015 xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h,
1016 xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c,
1017 xstormy16-opc.h, z8k-opc.h: Regenerated
1019 2007-07-04 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1021 * cr16-dis.c (getcinvstring): Add const qualifier to char *
1023 (print_insn_cr16): Remove cast to char *.
1025 2007-07-03 Nathan Sidwell <nathan@codesourcery.com>
1027 * m68k-dis.c (fetch_arg): Add E. Replace length switch with
1029 (print_ins_arg): Add j & K operand types.
1030 (match_insn_m68k): Check and skip initial '.' arg character.
1031 (m68k_scan_mask): Likewise.
1032 * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
1034 2007-07-02 Alan Modra <amodra@bigpond.net.au>
1036 * Makefile.am: Run "make dep-am".
1037 * Makefile.in: Regenerate.
1038 * aclocal.m4: Regenerate.
1039 * config.in: Regenerate.
1040 * po/POTFILES.in: Regenerate.
1041 * po/opcodes.pot: Regenerate.
1043 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
1045 * aclocal.m4: Regenerated.
1046 * Makefile.in: Likewise.
1048 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
1050 * i386-reg.tbl: Remove spaces before comments.
1052 2007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1054 * cr16-opc.c: New file.
1055 * cr16-dis.c: New file.
1056 * Makefile.am: Entries for cr16.
1057 * Makefile.in: Regenerate.
1058 * cofigure.in: Add cr16 target information.
1059 * configure : Regenerate.
1060 * disassemble.c: Add cr16 target information.
1062 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
1064 * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
1065 (CFILES): Add i386-gen.c.
1066 (i386-gen): New rule.
1067 (i386-gen.o): Likewise.
1068 (i386-tbl.h): Likewise.
1070 * Makefile.in: Regenerated.
1072 * i386-gen.c: New file.
1073 * i386-opc.tbl: Likewise.
1074 * i386-reg.tbl: Likewise.
1075 * i386-tbl.h: Likewise.
1077 * i386-opc.c: Include "i386-tbl.h".
1078 (i386_optab): Removed.
1079 (i386_regtab): Likewise.
1080 (i386_regtab_size): Likewise.
1082 2007-06-26 Paul Brook <paul@codesourcery.com>
1084 * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
1086 2007-06-25 H.J. Lu <hongjiu.lu@intel.com>
1088 * i386-opc.h (regKludge): Renamed to ...
1091 * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
1093 2007-06-23 H.J. Lu <hongjiu.lu@intel.com>
1096 * i386-dis.c (EX): Removed.
1102 (PREGRP93...PREGRP97): Likewise.
1103 (dis386_twobyte): Updated.
1104 (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
1105 (OP_EX): Remove Intel syntax handling.
1107 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
1109 * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
1111 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
1113 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
1115 * acinclude.m4: Removed.
1117 * Makefile.in: Regenerated.
1118 * doc/Makefile.in: Likewise.
1119 * aclocal.m4: Likewise.
1120 * configure: Likewise.
1122 2007-06-05 Paul Brook <paul@codesourcery.com>
1124 * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
1126 2007-05-24 Steve Ellcey <sje@cup.hp.com>
1128 * Makefile.in: Regnerate.
1129 * configure: Regenerate.
1130 * aclocal.m4: Regenerate.
1132 2007-05-18 Alan Modra <amodra@bigpond.net.au>
1134 * ppc-dis.c (print_insn_powerpc): Don't skip all operands
1135 after setting skip_optional.
1137 2007-05-16 Peter Bergner <bergner@vnet.ibm.com>
1139 * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
1140 (print_insn_powerpc): Use the new operand_value_powerpc and
1141 skip_optional_operands functions to omit or print all optional
1142 operands as a group.
1143 * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
1144 (XFL_MASK): Delete L and W bits from the mask.
1145 (mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK
1146 with XWRA_MASK. Use W.
1147 (mtfsf, mtfsf.): Use XFL_L and W.
1149 2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
1152 * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
1154 2007-05-10 H.J. Lu <hongjiu.lu@intel.com>
1156 * i386-opc.h (ShortForm): Redefined.
1158 (JumpDword): Likewise.
1159 (JumpByte): Likewise.
1160 (JumpInterSegment): Likewise.
1161 (FloatMF): Likewise.
1167 (IgnoreSize): Likewise.
1168 (DefaultSize): Likewise.
1169 (No_bSuf): Likewise.
1170 (No_wSuf): Likewise.
1171 (No_lSuf): Likewise.
1172 (No_sSuf): Likewise.
1173 (No_qSuf): Likewise.
1174 (No_xSuf): Likewise.
1176 (IsString): Likewise.
1177 (regKludge): Likewise.
1178 (IsPrefix): Likewise.
1180 (NoRex64): Likewise.
1184 2007-05-07 H.J. Lu <hongjiu.lu@intel.com>
1186 * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
1187 for some SSE4 instructions.
1188 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1190 2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
1192 * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
1194 * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
1197 2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
1199 * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
1200 check data size prefix in 16bit mode.
1202 * i386-opc.c (i386_optab): Default crc32 to non-8bit and
1205 2007-04-30 Mark Salter <msalter@redhat.com>
1207 * frv-desc.c: Regenerate.
1208 * frv-desc.h: Regenerate.
1210 2007-04-30 Alan Modra <amodra@bigpond.net.au>
1213 * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
1215 2007-04-27 H.J. Lu <hongjiu.lu@intel.com>
1217 * i386-dis.c (modrm): Put reg before rm.
1219 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1222 * i386-dis.c (print_displacement): New.
1223 (OP_E): Call print_displacement instead of print_operand_value
1224 to output displacement when either base or index exist. Print
1225 the explicit zero displacement in 16bit mode.
1227 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1230 * i386-dis.c (print_insn): Also swap the order of op_riprel
1231 when swapping op_index. Break when the RIP relative address
1233 (OP_E): Properly handle RIP relative addressing and print the
1234 explicit zero displacement for Intel mode.
1236 2007-04-27 Alan Modra <amodra@bigpond.net.au>
1238 * Makefile.am: Run "make dep-am".
1239 * Makefile.in: Regenerate.
1240 * ns32k-dis.c: Include sysdep.h first.
1242 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
1244 * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
1246 * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
1248 2007-04-24 Nick Clifton <nickc@redhat.com>
1250 * arm-dis.c (print_insn): Initialise type.
1252 2007-04-24 Alan Modra <amodra@bigpond.net.au>
1254 * cgen-types.h: Include bfd_stdint.h, not stdint.h.
1255 * Makefile.am: Run "make dep-am".
1256 * Makefile.in: Regenerate.
1258 2007-04-23 Nathan Sidwell <nathan@codesourcery.com>
1260 * m68k-opc.c: Mark mcfisa_c instructions.
1262 2007-04-21 Richard Earnshaw <rearnsha@arm.com>
1264 * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
1265 (thumb_opcodes): Add missing white space in adr.
1266 (arm_decode_shift): New parameter, print_shift. Only decode the
1267 shift parameter if set. Adjust callers.
1268 (print_insn_arm): Support for operand type q with no shift decode.
1270 2007-04-21 Alan Modra <amodra@bigpond.net.au>
1272 * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
1274 (i386_regtab): ..here.
1275 * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
1277 * ppc-opc.c (powerpc_operands): Delete duplicate entries.
1278 (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
1279 (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
1280 (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
1282 2007-04-20 Nathan Sidwell <nathan@codesourcery.com>
1284 * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
1287 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1289 * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
1291 * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
1292 in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove
1293 references to following deleted functions.
1294 (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
1295 (insert_ds, extract_ds, insert_de, extract_de): Delete.
1296 (insert_des, extract_des, insert_li, extract_li): Delete.
1297 (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
1298 (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
1299 (num_powerpc_operands): New constant.
1300 (XSPRG_MASK): Remove entire SPRG field.
1301 (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
1303 2007-04-20 Alan Modra <amodra@bigpond.net.au>
1305 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
1307 (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
1309 2007-04-20 Richard Earnshaw <rearnsha@arm.com>
1311 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
1314 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1316 * Makefile.am: Run "make dep-am".
1317 * Makefile.in: Regenerate.
1318 * po/POTFILES.in: Regenerate.
1320 2007-04-19 Alan Modra <amodra@bigpond.net.au>
1322 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
1323 db10cyc, db12cyc, db16cyc.
1325 2007-04-19 Nathan Froyd <froydnj@codesourcery.com>
1327 * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
1329 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1331 * i386-dis.c (CRC32_Fixup): New.
1332 (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
1334 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
1335 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1336 (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
1337 PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
1338 (three_byte_table): Likewise.
1340 * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
1342 * i386-opc.h (CpuSSE4_2): New.
1343 (CpuSSE4): Likewise.
1344 (CpuUnknownFlags): Add CpuSSE4_2.
1346 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1348 * i386-dis.c (XMM_Fixup): New.
1354 (PREGRP39 ... PREGRP85): New.
1355 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
1356 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1357 (prefix_user_table): Add PREGRP39 ... PREGRP85.
1358 (three_byte_table): Likewise.
1359 (putop): Handle 'K'.
1360 (intel_operand_size): Handle dqb_mode, dqd_mode):
1364 * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
1366 * i386-opc.h (CpuSSE4_1): New.
1367 (CpuUnknownFlags): Add CpuSSE4_1.
1368 (regKludge): Update comment.
1370 2007-04-18 Matthias Klose <doko@ubuntu.com>
1372 * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
1373 * Makefile.in: Regenerate.
1375 2007-04-14 Steve Ellcey <sje@cup.hp.com>
1377 * Makefile.am: Add ACLOCAL_AMFLAGS.
1378 * Makefile.in: Regenerate.
1380 2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
1382 * i386-dis.c: Remove trailing white spaces.
1383 * i386-opc.c: Likewise.
1384 * i386-opc.h: Likewise.
1386 2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
1389 * i386-dis.c (GRP1a): New.
1390 (GRP1b ... GRPPADLCK2): Update index.
1391 (dis386): Use GRP1a for entry 0x8f.
1392 (mod, rm, reg): Removed. Replaced by ...
1396 2007-04-09 Kazu Hirata <kazu@codesourcery.com>
1398 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
1399 info->print_address_func if longjmp is called.
1401 2007-03-29 DJ Delorie <dj@redhat.com>
1403 * m32c-desc.c: Regenerate.
1404 * m32c-dis.c: Regenerate.
1405 * m32c-opc.c: Regenerate.
1407 2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
1409 * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
1410 movq. Remove InvMem from sldt, smsw and str.
1412 * i386-opc.h (InvMem): Renamed to ...
1413 (RegMem): Update comments.
1414 (AnyMem): Remove InvMem.
1416 2007-03-27 Paul Brook <paul@codesourcery.com>
1418 * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
1420 2007-03-24 Paul Brook <paul@codesourcery.com>
1422 * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
1423 (print_insn_coprocessor): Handle %<bitfield>x.
1425 2007-03-24 Paul Brook <paul@codesourcery.com>
1426 Mark Shinwell <shinwell@codesourcery.com>
1428 * arm-dis.c (arm_opcodes): Print SRS base register.
1430 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
1432 * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
1434 * i386-opc.c (i386_optab): Add rex.wrxb.
1436 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1438 * i386-dis.c (REX_MODE64): Remove definition.
1439 (REX_EXTX): Likewise.
1440 (REX_EXTY): Likewise.
1441 (REX_EXTZ): Likewise.
1442 (USED_REX): Use REX_OPCODE instead of 0x40.
1443 Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
1444 REX_R, REX_X and REX_B respectively.
1446 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1449 * i386-dis.c (PREGRP38): New.
1450 (dis386): Use PREGRP38 for 0x90.
1451 (prefix_user_table): Add PREGRP38.
1452 (print_insn): Set uses_REPZ_prefix to 1 for pause.
1453 (NOP_Fixup1): Properly handle REX bits.
1454 (NOP_Fixup2): Likewise.
1456 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
1457 Allow register with nop.
1459 2007-03-20 DJ Delorie <dj@redhat.com>
1461 * m32c-asm.c: Regenerate.
1462 * m32c-desc.c: Regenerate.
1463 * m32c-desc.h: Regenerate.
1464 * m32c-dis.h: Regenerate.
1465 * m32c-ibld.c: Regenerate.
1466 * m32c-opc.c: Regenerate.
1467 * m32c-opc.h: Regenerate.
1469 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1471 * i386-opc.c: Include "libiberty.h".
1472 (i386_regtab): Remove the last entry.
1473 (i386_regtab_size): New.
1474 (i386_float_regtab_size): Likewise.
1476 * i386-opc.h (i386_regtab_size): New.
1477 (i386_float_regtab_size): Likewise.
1479 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1481 * Makefile.am (CFILES): Add i386-opc.c.
1482 (ALL_MACHINES): Add i386-opc.lo.
1484 * Makefile.in: Regenerated.
1486 * configure.in: Add i386-opc.lo for bfd_i386_arch.
1487 * configure: Regenerated.
1489 * i386-dis.c: Include "opcode/i386.h".
1490 (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
1491 (FWAIT_OPCODE): Remove definition.
1492 (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
1493 (MAX_OPERANDS): Remove definition.
1495 * i386-opc.c: New file.
1496 * i386-opc.h: Likewise.
1498 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1500 * Makefile.in: Regenerated.
1502 2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
1504 * i386-dis.c (OP_Rd): Renamed to ...
1509 2007-03-08 Alan Modra <amodra@bigpond.net.au>
1511 * fr30-asm.c: Regenerate.
1512 * frv-asm.c: Regenerate.
1513 * ip2k-asm.c: Regenerate.
1514 * iq2000-asm.c: Regenerate.
1515 * m32c-asm.c: Regenerate.
1516 * m32r-asm.c: Regenerate.
1517 * m32r-dis.c: Regenerate.
1518 * mt-asm.c: Regenerate.
1519 * mt-ibld.c: Regenerate.
1520 * mt-opc.c: Regenerate.
1521 * openrisc-asm.c: Regenerate.
1522 * xc16x-asm.c: Regenerate.
1523 * xstormy16-asm.c: Regenerate.
1525 * Makefile.am: Run "make dep-am".
1526 * Makefile.in: Regenerate.
1527 * po/POTFILES.in: Regenerate.
1529 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
1531 * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
1532 INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
1533 instruction formats added.
1534 (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
1535 MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
1537 * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
1539 * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1540 (main): z9-ec cpu type option added.
1541 * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1543 2007-02-22 DJ Delorie <dj@redhat.com>
1545 * s390-opc.c (INSTR_SS_L2RDRD): New.
1546 (MASK_SS_L2RDRD): New.
1547 * s390-opc.txt (pka): Use it.
1549 2007-02-20 Thiemo Seufer <ths@mips.com>
1550 Chao-Ying Fu <fu@mips.com>
1552 * mips-dis.c (mips_arch_choices): Add DSP R2 support.
1553 (print_insn_args): Add support for balign instruction.
1554 * mips-opc.c (D33): New shortcut for DSP R2 instructions.
1555 (mips_builtin_opcodes): Add DSP R2 instructions.
1557 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1559 * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
1560 (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
1561 * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
1562 cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
1564 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1566 * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
1567 * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
1568 (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
1571 2007-02-16 Nick Clifton <nickc@redhat.com>
1574 * avr-dis.c (comment_start): New variable, contains the prefix to
1575 use when printing addresses in comments.
1576 (print_insn_avr): Set comment_start to an empty space if there is
1577 no symbol table available as the generic address printing code
1578 will prefix the numeric value of the address with 0x.
1580 2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
1582 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
1585 2007-02-05 Dave Brolley <brolley@redhat.com>
1586 Richard Sandiford <rsandifo@redhat.com>
1587 DJ Delorie <dj@redhat.com>
1588 Graydon Hoare <graydon@redhat.com>
1589 Frank Ch. Eigler <fche@redhat.com>
1590 Ben Elliston <bje@redhat.com>
1592 * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
1593 (CFILES): Add mep-*.c
1594 (ALL_MACHINES): Add mep-*.lo.
1595 (CLEANFILES): Add stamp-mep.
1596 (CGEN_CPUS): Add mep.
1597 (MEP_DEPS): New variable.
1598 (mep-*): New targets.
1599 * configure.in: Handle bfd_mep_arch.
1600 * disassemble.c (ARCH_mep): New macro.
1601 (disassembler): Handle bfd_arch_mep.
1602 (disassemble_init_for_target): Likewise.
1603 * mep-*: New files for Toshiba Media Processor (MeP).
1604 * Makefile.in: Regenerated.
1605 * configure: Regenerated.
1607 2007-02-05 H.J. Lu <hongjiu.lu@intel.com>
1609 * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
1610 wrap around within the same segment in 16bit mode.
1612 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1614 * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
1617 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1619 * avr-dis.c (avr_operand): Correct PR number in comment.
1621 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1623 * disassemble.c (disassembler_usage): Call
1624 print_i386_disassembler_options for i386 disassembler.
1626 * i386-dis.c (print_i386_disassembler_options): New.
1627 (print_insn): Support the new addr64 option.
1629 2007-02-02 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
1631 * ppc-dis.c (powerpc_dialect): Handle ppc440.
1632 * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
1635 2007-02-02 Alan Modra <amodra@bigpond.net.au>
1637 * ppc-opc.c (insert_bdm): -Many comment.
1638 (valid_bo): Add "extract" param. Accept both powerpc and power4
1639 BO fields when disassembling with -Many.
1640 (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
1642 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
1644 * m68k-opc.c (m68k_opcodes): Replace cpu32 with
1645 cpu32 | fido_a except on tbl instructions.
1647 2007-01-04 Paul Brook <paul@codesourcery.com>
1649 * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
1651 2007-01-04 Andreas Schwab <schwab@suse.de>
1653 * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
1655 2007-01-04 Julian Brown <julian@codesourcery.com>
1657 * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
1658 vqrshl instructions.
1660 For older changes see ChangeLog-2006
1666 version-control: never