1 2007-09-12 Jan Beulich <jbeulich@novell.com>
3 * i386-opc.tbl: Add two-operand forms of blendvps, blendvpd, and
5 * i386-tbl.h: Regenerate.
7 2007-09-09 H.J. Lu <hongjiu.lu@intel.com>
9 * i386-gen.c (main): Remove the local variable, unused.
11 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
13 * Makefile.am: Run "make dep-am".
14 * Makefile.in: Regenerate.
16 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
18 * configure.in (AC_CHECK_HEADERS): Add limits.h.
19 * configure: Regenerated.
20 * config.in: Likewise.
22 * i386-gen.c: Include "sysdep.h" instead of <stdlib.h> and
23 <string.h>. Use xstrerror instead of strerror.
25 (cpu_flag_init): Likewise.
28 (cpu_flags): Likewise.
29 (opcode_modifiers): Likewise.
30 (operand_types): Likewise.
32 (set_cpu_flags): Likewise.
33 (output_cpu_flags): Likewise.
34 (process_i386_cpu_flags): Likewise.
35 (output_opcode_modifier): Likewise.
36 (process_i386_opcode_modifier): Likewise.
37 (output_operand_type): Likewise.
38 (process_i386_operand_type): Likewise.
39 (set_bitfield): Likewise.
40 (operand_type_init): Likewise.
41 (process_i386_initializers): Likewise.
42 (process_i386_opcodes): Call process_i386_opcode_modifier to
43 process opcode_modifier. Call process_i386_operand_type to
44 process operand_types.
45 (process_i386_registers): Call process_i386_operand_type to
47 (main): Check unused bits in i386_cpu_flags and i386_operand_type.
48 Sort cpu_flags, opcode_modifiers and operand_types. Call
49 process_i386_initializers.
52 * i386-tbl.h: Regenerated.
54 * i386-opc.h: Include <limits.h>.
55 (CHAR_BIT): Define as 8 if not defined.
56 (Cpu186): Changed to position of bitfiled.
70 (Cpu3dnowA): Likewise.
72 (CpuPadLock): Likewise.
78 (CpuSSE4_1): Likewise.
79 (CpuSSE4_2): Likewise.
85 (ShortForm): Likewise.
87 (JumpDword): Likewise.
89 (JumpInterSegment): Likewise.
96 (IgnoreSize): Likewise.
97 (DefaultSize): Likewise.
105 (IsString): Likewise.
106 (RegKludge): Likewise.
107 (IsPrefix): Likewise.
116 (FloatReg): Likewise.
126 (BaseIndex): Likewise.
132 (InOutPortReg): Likewise.
133 (ShiftCount): Likewise.
140 (FloatAcc): Likewise.
141 (JumpAbsolute): Likewise.
145 (Reg): Commented out.
147 (ImplicitRegister): Likewise.
152 (LLongMem): Likewise.
154 (ShortMem): Likewise.
159 (CpuNumOfUints): Likewise.
160 (CpuNumOfBits): Likewise.
161 (CpuUnused): Likewise.
162 (OTNumOfUints): Likewise.
163 (OTNumOfBits): Likewise.
164 (OTUnused): Likewise.
165 (i386_cpu_flags): New type.
166 (i386_operand_type): Likewise.
167 (i386_opcode_modifier): Likewise.
168 (CpuSledgehammer): Removed.
170 (CpuUnknownFlags): Likewise.
173 (ImplicitRegister): Likewise.
178 (LLongMem): Likewise.
180 (ShortMem): Likewise.
183 (template): Use i386_cpu_flags for cpu_flags, use
184 i386_opcode_modifier for opcode_modifier, use
185 i386_operand_type for operand_types.
186 (reg_entry): Use i386_operand_type for reg_type.
188 * Makefile.am (HFILES): Add i386-init.h.
189 ($(srcdir)/i386-init.h): New rule.
190 ($(srcdir)/i386-tbl.h): Depend on $(srcdir)/i386-init.h
192 * Makefile.in: Regenerated.
194 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
196 * i386-gen.c (next_field): Updated to take a separator.
197 (process_i386_opcodes): Updated.
198 (process_i386_registers): Likewise.
200 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
202 * i386-gen.c (table): Moved ...
203 (main): Here. Call process_copyright to output copyright.
204 (process_copyright): New.
205 (process_i386_opcodes): Take FILE *table.
206 (process_i386_registers): Likewise.
208 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
210 * i386-gen.c (table): New.
211 (process_i386_opcodes): Report errno when faied to open
212 i386-opc.tbl. Output opcodes to table. Close i386-opc.tbl
214 (process_i386_registers): Report errno when faied to open
215 i386-reg.tbl. Output opcodes to table. Close i386-reg.tbl
217 (main): Open i386-tbl.h for output.
219 * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@".
220 * Makefile.in: Regenerated.
222 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
224 * i386-opc.tbl: Correct SVME instructions to allow 32bit register
225 operand in 64bit mode.
226 * i386-tbl.h: Regenerated.
228 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
230 * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
231 (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
232 (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
234 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
236 * i386-dis.c (SVME_Fixup): Removed.
238 (OPC_EXT_RM_6): Likewise.
239 (grps): Use OPC_EXT_39.
240 (opc_ext_table): Add OPC_EXT_39.
241 (opc_ext_rm_table): Add OPC_EXT_RM_6.
243 * i386-opc.tbl: Correct SVME instructions to take register
245 * i386-tbl.h: Regenerated.
247 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
249 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
250 * Makefile.in: Regenerated.
252 * configure.in (AC_GNU_SOURCE): Added.
253 (AC_PROG_CC): Moved before AC_GNU_SOURCE.
254 (AC_CHECK_DECLS): Add stpcpy.
255 * configure: Regenerated.
256 * config.in: Likewise.
258 * i386-dis.c: Include "sysdep.h" before "dis-asm.h".
260 * sysdep.h (stpcpy): New.
262 2007-08-30 H.J. Lu <hongjiu.lu@intel.com>
264 * i386-dis.c (INVLPG_Fixup): Removed.
266 (OPC_EXT_RM_5): Likewise.
267 (grps): Use OPC_EXT_38.
268 (opc_ext_table): Add OPC_EXT_38.
269 (opc_ext_rm_table): Add OPC_EXT_RM_5.
271 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
273 * i386-dis.c (SIMD_Fixup): Removed.
274 (OPC_EXT_34...OPC_EXT_37): New.
275 (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
276 (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
277 (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
279 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
281 * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
282 (dis386): Use OPC_EXT_0...OPC_EXT_2.
283 (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
284 (grps): Updated to use OPC_EXT_6...OPC_EXT_31.
285 (prefix_user_table): Use OPC_EXT_32.
286 (x86_64_table): Use OPC_EXT_33.
287 (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
289 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
291 * i386-dis.c (prefix_user_table): Fix comment.
293 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
295 * i386-dis.c (OP_Skip_MODRM): New.
296 (OP_Monitor): Likewise.
297 (OP_Mwait): Likewise.
299 (Skip_MODRM): Likewise.
300 (USE_OPC_EXT_TABLE): Likewise.
301 (USE_OPC_EXT_RM_TABLE): Likewise.
302 (PREGRP98...PREGRP100): Likewise.
303 (OPC_EXT_0...OPC_EXT_24): Likewise.
304 (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
305 (lock_prefix): Likewise.
306 (data_prefix): Likewise.
307 (addr_prefix): Likewise.
308 (repz_prefix): Likewise.
309 (repnz_prefix): Likewise.
310 (opc_ext_table): Likewise.
311 (opc_ext_rm_table): Likewise.
312 (get_valid_dis386): Likewise.
315 (PNI_Fixup): Likewise.
316 (VMX_Fixup): Likewise.
318 (twobyte_uses_DATA_prefix): Likewise.
319 (twobyte_uses_REPNZ_prefix): Likewise.
320 (twobyte_uses_REPZ_prefix): Likewise.
321 (threebyte_0x38_uses_DATA_prefix): Likewise.
322 (threebyte_0x38_uses_REPNZ_prefix): Likewise.
323 (threebyte_0x38_uses_REPZ_prefix): Likewise.
324 (threebyte_0x3a_uses_DATA_prefix): Likewise.
325 (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
326 (threebyte_0x3a_uses_REPZ_prefix): Likewise.
327 (grps): Use OPC_EXT_0...OPC_EXT_24.
328 (prefix_user_table): Add PREGRP98...PREGRP100.
329 (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
330 uses_REPNZ_prefix and uses_REPZ_prefix. Initialize
331 repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
332 data_prefix based on prefixes. Call get_valid_dis386 to
333 get a pointer to the valid dis386. Print out prefixes if
335 (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
336 (REP_Fixup): Set repz_prefix to "rep " when seeing
339 2007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
341 * po/nl.po: Updated translation.
343 2007-08-28 H.J. Lu <hongjiu.lu@intel.com>
345 * i386-dis.c (Md): New.
346 (grps): Use 0 on invlpg. Use M on fxsave and fxrstor. Use
347 Md on ldmxcsr and stmxcsr. Use b_mode on clflush.
348 (OP_0fae): Clear bytemode for sfence.
350 2007-08-22 Ben Elliston <bje@au.ibm.com>
352 * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
353 (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
355 (powerpc_opcodes): Add all pair singles instructions.
356 * ppc-dis.c (powerpc_dialect): Handle "ppcps".
357 (print_ppc_disassembler_options): Document -Mppcps.
359 2007-08-21 Andreas Krebbel <krebbel1@de.ibm.com>
361 * s390-mkopc.c (struct s390_cond_ext_format): New global struct.
362 (s390_cond_ext_format): New global variable.
363 (expandConditionalJump): New function.
364 (main): Invoke expandConditionalJump for mnemonics containing '*'.
365 * s390-opc.txt: Replace mnemonics with conditional
366 mask extensions with instructions using the newly introduced '*' tag.
368 2007-08-17 Alan Modra <amodra@bigpond.net.au>
370 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
372 2007-08-10 Nick Clifton <nickc@redhat.com>
374 * po/fi.po: Updated Finnish translation.
375 * po/ga.po: Updated Irish translation.
376 * po/vi.po: Updated Vietnamese translation.
378 2007-08-09 H.J. Lu <hongjiu.lu@intel.com>
380 * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
381 pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
382 * i386-tbl.h: Regenerated.
384 2007-08-03 James E. Wilson <wilson@specifix.com>
386 * ia64-gen.c: (main): Add missing newline to copyright message.
387 * ia64-ic.tbl (fp-non-arith): Add xmpy.
388 * ia64-asmtab.c: Regenerate.
390 2007-08-01 Michael Snyder <msnyder@access-company.com>
392 * i386-dis.c (print_insn): Guard against NULL.
394 2007-07-29 H.J. Lu <hongjiu.lu@intel.com>
397 * i386-dis.c (EXw): New.
398 (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
399 instructions when appropriated.
401 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
404 * i386-dis.c (Eq): New.
405 (EMC): Renamed to ...
406 (EMCq): This. Use q_mode instead of v_mode.
407 (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
410 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
412 * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
413 (prefix_user_table): Likewise. Use EXq instead of EXx on
416 2007-07-27 Nathan Sidwell <nathan@codesourcery.com>
418 * ppc-opc (PPC7450): New.
419 (powerpc_opcodes): Use it in dcba.
421 2007-07-24 H.J. Lu <hongjiu.lu@intel.com>
423 * i386-gen.c (main): Print a newline after copyright notice.
425 2007-07-19 Nick Clifton <nickc@redhat.com>
428 * maxq-dis.c (get_reg_name): Fix the scan of the
429 mem_access_syntax_table.
431 2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
433 * i386-dis.c (EMq): Removed.
435 (prefix_user_table): Replace EMq with EMx.
437 2007-07-16 Nick Clifton <nickc@redhat.com>
439 * po/nl.po: Updated translation.
441 2007-07-12 Nick Clifton <nickc@redhat.com>
443 * po/vi.po: Updated translation.
444 * po/nl.po: Updated translation.
446 2007-07-06 Mark Kettenis <kettenis@gnu.org>
447 H.J. Lu <hongjiu.lu@intel.com>
449 * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
450 (ia64-asmtab.c): Likewise.
451 * Makefile.in: Regenerate.
453 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
455 * aclocal.m4: Regenerated.
457 2007-07-04 Nick Clifton <nickc@redhat.com>
459 * alpha-dis.c: Update copyright notice to refer to GPLv3.
460 * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h,
461 arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c,
462 cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in,
463 cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c,
464 cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c,
465 d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c,
466 dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c,
467 h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c,
468 i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c,
469 ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c,
470 ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c,
471 ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c,
472 m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c,
473 m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c,
474 mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c,
475 mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c,
476 or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c,
477 ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c,
478 score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h,
479 sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c,
480 spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c,
481 tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c,
482 vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c,
483 z8k-dis.c, z8kgen.c: Likewise.
484 * i386-opc.tbl, i386-reg.tbl: Add copyright notice.
485 * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h,
486 fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c,
487 frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c,
488 frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c,
489 ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h,
490 iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c,
491 iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c,
492 m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c,
493 m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
494 m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c,
495 mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c,
496 mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c,
497 mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c,
498 openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c,
499 openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h,
500 xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h,
501 xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h,
502 xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c,
503 xstormy16-opc.h, z8k-opc.h: Regenerated
505 2007-07-04 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
507 * cr16-dis.c (getcinvstring): Add const qualifier to char *
509 (print_insn_cr16): Remove cast to char *.
511 2007-07-03 Nathan Sidwell <nathan@codesourcery.com>
513 * m68k-dis.c (fetch_arg): Add E. Replace length switch with
515 (print_ins_arg): Add j & K operand types.
516 (match_insn_m68k): Check and skip initial '.' arg character.
517 (m68k_scan_mask): Likewise.
518 * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
520 2007-07-02 Alan Modra <amodra@bigpond.net.au>
522 * Makefile.am: Run "make dep-am".
523 * Makefile.in: Regenerate.
524 * aclocal.m4: Regenerate.
525 * config.in: Regenerate.
526 * po/POTFILES.in: Regenerate.
527 * po/opcodes.pot: Regenerate.
529 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
531 * aclocal.m4: Regenerated.
532 * Makefile.in: Likewise.
534 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
536 * i386-reg.tbl: Remove spaces before comments.
538 2007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
540 * cr16-opc.c: New file.
541 * cr16-dis.c: New file.
542 * Makefile.am: Entries for cr16.
543 * Makefile.in: Regenerate.
544 * cofigure.in: Add cr16 target information.
545 * configure : Regenerate.
546 * disassemble.c: Add cr16 target information.
548 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
550 * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
551 (CFILES): Add i386-gen.c.
552 (i386-gen): New rule.
553 (i386-gen.o): Likewise.
554 (i386-tbl.h): Likewise.
556 * Makefile.in: Regenerated.
558 * i386-gen.c: New file.
559 * i386-opc.tbl: Likewise.
560 * i386-reg.tbl: Likewise.
561 * i386-tbl.h: Likewise.
563 * i386-opc.c: Include "i386-tbl.h".
564 (i386_optab): Removed.
565 (i386_regtab): Likewise.
566 (i386_regtab_size): Likewise.
568 2007-06-26 Paul Brook <paul@codesourcery.com>
570 * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
572 2007-06-25 H.J. Lu <hongjiu.lu@intel.com>
574 * i386-opc.h (regKludge): Renamed to ...
577 * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
579 2007-06-23 H.J. Lu <hongjiu.lu@intel.com>
582 * i386-dis.c (EX): Removed.
588 (PREGRP93...PREGRP97): Likewise.
589 (dis386_twobyte): Updated.
590 (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
591 (OP_EX): Remove Intel syntax handling.
593 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
595 * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
597 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
599 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
601 * acinclude.m4: Removed.
603 * Makefile.in: Regenerated.
604 * doc/Makefile.in: Likewise.
605 * aclocal.m4: Likewise.
606 * configure: Likewise.
608 2007-06-05 Paul Brook <paul@codesourcery.com>
610 * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
612 2007-05-24 Steve Ellcey <sje@cup.hp.com>
614 * Makefile.in: Regnerate.
615 * configure: Regenerate.
616 * aclocal.m4: Regenerate.
618 2007-05-18 Alan Modra <amodra@bigpond.net.au>
620 * ppc-dis.c (print_insn_powerpc): Don't skip all operands
621 after setting skip_optional.
623 2007-05-16 Peter Bergner <bergner@vnet.ibm.com>
625 * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
626 (print_insn_powerpc): Use the new operand_value_powerpc and
627 skip_optional_operands functions to omit or print all optional
629 * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
630 (XFL_MASK): Delete L and W bits from the mask.
631 (mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK
632 with XWRA_MASK. Use W.
633 (mtfsf, mtfsf.): Use XFL_L and W.
635 2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
638 * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
640 2007-05-10 H.J. Lu <hongjiu.lu@intel.com>
642 * i386-opc.h (ShortForm): Redefined.
644 (JumpDword): Likewise.
645 (JumpByte): Likewise.
646 (JumpInterSegment): Likewise.
653 (IgnoreSize): Likewise.
654 (DefaultSize): Likewise.
662 (IsString): Likewise.
663 (regKludge): Likewise.
664 (IsPrefix): Likewise.
670 2007-05-07 H.J. Lu <hongjiu.lu@intel.com>
672 * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
673 for some SSE4 instructions.
674 (threebyte_0x3a_uses_DATA_prefix): Likewise.
676 2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
678 * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
680 * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
683 2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
685 * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
686 check data size prefix in 16bit mode.
688 * i386-opc.c (i386_optab): Default crc32 to non-8bit and
691 2007-04-30 Mark Salter <msalter@redhat.com>
693 * frv-desc.c: Regenerate.
694 * frv-desc.h: Regenerate.
696 2007-04-30 Alan Modra <amodra@bigpond.net.au>
699 * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
701 2007-04-27 H.J. Lu <hongjiu.lu@intel.com>
703 * i386-dis.c (modrm): Put reg before rm.
705 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
708 * i386-dis.c (print_displacement): New.
709 (OP_E): Call print_displacement instead of print_operand_value
710 to output displacement when either base or index exist. Print
711 the explicit zero displacement in 16bit mode.
713 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
716 * i386-dis.c (print_insn): Also swap the order of op_riprel
717 when swapping op_index. Break when the RIP relative address
719 (OP_E): Properly handle RIP relative addressing and print the
720 explicit zero displacement for Intel mode.
722 2007-04-27 Alan Modra <amodra@bigpond.net.au>
724 * Makefile.am: Run "make dep-am".
725 * Makefile.in: Regenerate.
726 * ns32k-dis.c: Include sysdep.h first.
728 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
730 * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
732 * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
734 2007-04-24 Nick Clifton <nickc@redhat.com>
736 * arm-dis.c (print_insn): Initialise type.
738 2007-04-24 Alan Modra <amodra@bigpond.net.au>
740 * cgen-types.h: Include bfd_stdint.h, not stdint.h.
741 * Makefile.am: Run "make dep-am".
742 * Makefile.in: Regenerate.
744 2007-04-23 Nathan Sidwell <nathan@codesourcery.com>
746 * m68k-opc.c: Mark mcfisa_c instructions.
748 2007-04-21 Richard Earnshaw <rearnsha@arm.com>
750 * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
751 (thumb_opcodes): Add missing white space in adr.
752 (arm_decode_shift): New parameter, print_shift. Only decode the
753 shift parameter if set. Adjust callers.
754 (print_insn_arm): Support for operand type q with no shift decode.
756 2007-04-21 Alan Modra <amodra@bigpond.net.au>
758 * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
760 (i386_regtab): ..here.
761 * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
763 * ppc-opc.c (powerpc_operands): Delete duplicate entries.
764 (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
765 (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
766 (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
768 2007-04-20 Nathan Sidwell <nathan@codesourcery.com>
770 * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
773 2007-04-20 Alan Modra <amodra@bigpond.net.au>
775 * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
777 * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
778 in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove
779 references to following deleted functions.
780 (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
781 (insert_ds, extract_ds, insert_de, extract_de): Delete.
782 (insert_des, extract_des, insert_li, extract_li): Delete.
783 (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
784 (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
785 (num_powerpc_operands): New constant.
786 (XSPRG_MASK): Remove entire SPRG field.
787 (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
789 2007-04-20 Alan Modra <amodra@bigpond.net.au>
791 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
793 (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
795 2007-04-20 Richard Earnshaw <rearnsha@arm.com>
797 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
800 2007-04-19 Alan Modra <amodra@bigpond.net.au>
802 * Makefile.am: Run "make dep-am".
803 * Makefile.in: Regenerate.
804 * po/POTFILES.in: Regenerate.
806 2007-04-19 Alan Modra <amodra@bigpond.net.au>
808 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
809 db10cyc, db12cyc, db16cyc.
811 2007-04-19 Nathan Froyd <froydnj@codesourcery.com>
813 * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
815 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
817 * i386-dis.c (CRC32_Fixup): New.
818 (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
820 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
821 (threebyte_0x3a_uses_DATA_prefix): Likewise.
822 (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
823 PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
824 (three_byte_table): Likewise.
826 * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
828 * i386-opc.h (CpuSSE4_2): New.
830 (CpuUnknownFlags): Add CpuSSE4_2.
832 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
834 * i386-dis.c (XMM_Fixup): New.
840 (PREGRP39 ... PREGRP85): New.
841 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
842 (threebyte_0x3a_uses_DATA_prefix): Likewise.
843 (prefix_user_table): Add PREGRP39 ... PREGRP85.
844 (three_byte_table): Likewise.
846 (intel_operand_size): Handle dqb_mode, dqd_mode):
850 * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
852 * i386-opc.h (CpuSSE4_1): New.
853 (CpuUnknownFlags): Add CpuSSE4_1.
854 (regKludge): Update comment.
856 2007-04-18 Matthias Klose <doko@ubuntu.com>
858 * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
859 * Makefile.in: Regenerate.
861 2007-04-14 Steve Ellcey <sje@cup.hp.com>
863 * Makefile.am: Add ACLOCAL_AMFLAGS.
864 * Makefile.in: Regenerate.
866 2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
868 * i386-dis.c: Remove trailing white spaces.
869 * i386-opc.c: Likewise.
870 * i386-opc.h: Likewise.
872 2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
875 * i386-dis.c (GRP1a): New.
876 (GRP1b ... GRPPADLCK2): Update index.
877 (dis386): Use GRP1a for entry 0x8f.
878 (mod, rm, reg): Removed. Replaced by ...
882 2007-04-09 Kazu Hirata <kazu@codesourcery.com>
884 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
885 info->print_address_func if longjmp is called.
887 2007-03-29 DJ Delorie <dj@redhat.com>
889 * m32c-desc.c: Regenerate.
890 * m32c-dis.c: Regenerate.
891 * m32c-opc.c: Regenerate.
893 2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
895 * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
896 movq. Remove InvMem from sldt, smsw and str.
898 * i386-opc.h (InvMem): Renamed to ...
899 (RegMem): Update comments.
900 (AnyMem): Remove InvMem.
902 2007-03-27 Paul Brook <paul@codesourcery.com>
904 * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
906 2007-03-24 Paul Brook <paul@codesourcery.com>
908 * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
909 (print_insn_coprocessor): Handle %<bitfield>x.
911 2007-03-24 Paul Brook <paul@codesourcery.com>
912 Mark Shinwell <shinwell@codesourcery.com>
914 * arm-dis.c (arm_opcodes): Print SRS base register.
916 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
918 * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
920 * i386-opc.c (i386_optab): Add rex.wrxb.
922 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
924 * i386-dis.c (REX_MODE64): Remove definition.
925 (REX_EXTX): Likewise.
926 (REX_EXTY): Likewise.
927 (REX_EXTZ): Likewise.
928 (USED_REX): Use REX_OPCODE instead of 0x40.
929 Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
930 REX_R, REX_X and REX_B respectively.
932 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
935 * i386-dis.c (PREGRP38): New.
936 (dis386): Use PREGRP38 for 0x90.
937 (prefix_user_table): Add PREGRP38.
938 (print_insn): Set uses_REPZ_prefix to 1 for pause.
939 (NOP_Fixup1): Properly handle REX bits.
940 (NOP_Fixup2): Likewise.
942 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
943 Allow register with nop.
945 2007-03-20 DJ Delorie <dj@redhat.com>
947 * m32c-asm.c: Regenerate.
948 * m32c-desc.c: Regenerate.
949 * m32c-desc.h: Regenerate.
950 * m32c-dis.h: Regenerate.
951 * m32c-ibld.c: Regenerate.
952 * m32c-opc.c: Regenerate.
953 * m32c-opc.h: Regenerate.
955 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
957 * i386-opc.c: Include "libiberty.h".
958 (i386_regtab): Remove the last entry.
959 (i386_regtab_size): New.
960 (i386_float_regtab_size): Likewise.
962 * i386-opc.h (i386_regtab_size): New.
963 (i386_float_regtab_size): Likewise.
965 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
967 * Makefile.am (CFILES): Add i386-opc.c.
968 (ALL_MACHINES): Add i386-opc.lo.
970 * Makefile.in: Regenerated.
972 * configure.in: Add i386-opc.lo for bfd_i386_arch.
973 * configure: Regenerated.
975 * i386-dis.c: Include "opcode/i386.h".
976 (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
977 (FWAIT_OPCODE): Remove definition.
978 (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
979 (MAX_OPERANDS): Remove definition.
981 * i386-opc.c: New file.
982 * i386-opc.h: Likewise.
984 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
986 * Makefile.in: Regenerated.
988 2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
990 * i386-dis.c (OP_Rd): Renamed to ...
995 2007-03-08 Alan Modra <amodra@bigpond.net.au>
997 * fr30-asm.c: Regenerate.
998 * frv-asm.c: Regenerate.
999 * ip2k-asm.c: Regenerate.
1000 * iq2000-asm.c: Regenerate.
1001 * m32c-asm.c: Regenerate.
1002 * m32r-asm.c: Regenerate.
1003 * m32r-dis.c: Regenerate.
1004 * mt-asm.c: Regenerate.
1005 * mt-ibld.c: Regenerate.
1006 * mt-opc.c: Regenerate.
1007 * openrisc-asm.c: Regenerate.
1008 * xc16x-asm.c: Regenerate.
1009 * xstormy16-asm.c: Regenerate.
1011 * Makefile.am: Run "make dep-am".
1012 * Makefile.in: Regenerate.
1013 * po/POTFILES.in: Regenerate.
1015 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
1017 * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
1018 INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
1019 instruction formats added.
1020 (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
1021 MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
1023 * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
1025 * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1026 (main): z9-ec cpu type option added.
1027 * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1029 2007-02-22 DJ Delorie <dj@redhat.com>
1031 * s390-opc.c (INSTR_SS_L2RDRD): New.
1032 (MASK_SS_L2RDRD): New.
1033 * s390-opc.txt (pka): Use it.
1035 2007-02-20 Thiemo Seufer <ths@mips.com>
1036 Chao-Ying Fu <fu@mips.com>
1038 * mips-dis.c (mips_arch_choices): Add DSP R2 support.
1039 (print_insn_args): Add support for balign instruction.
1040 * mips-opc.c (D33): New shortcut for DSP R2 instructions.
1041 (mips_builtin_opcodes): Add DSP R2 instructions.
1043 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1045 * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
1046 (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
1047 * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
1048 cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
1050 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1052 * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
1053 * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
1054 (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
1057 2007-02-16 Nick Clifton <nickc@redhat.com>
1060 * avr-dis.c (comment_start): New variable, contains the prefix to
1061 use when printing addresses in comments.
1062 (print_insn_avr): Set comment_start to an empty space if there is
1063 no symbol table available as the generic address printing code
1064 will prefix the numeric value of the address with 0x.
1066 2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
1068 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
1071 2007-02-05 Dave Brolley <brolley@redhat.com>
1072 Richard Sandiford <rsandifo@redhat.com>
1073 DJ Delorie <dj@redhat.com>
1074 Graydon Hoare <graydon@redhat.com>
1075 Frank Ch. Eigler <fche@redhat.com>
1076 Ben Elliston <bje@redhat.com>
1078 * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
1079 (CFILES): Add mep-*.c
1080 (ALL_MACHINES): Add mep-*.lo.
1081 (CLEANFILES): Add stamp-mep.
1082 (CGEN_CPUS): Add mep.
1083 (MEP_DEPS): New variable.
1084 (mep-*): New targets.
1085 * configure.in: Handle bfd_mep_arch.
1086 * disassemble.c (ARCH_mep): New macro.
1087 (disassembler): Handle bfd_arch_mep.
1088 (disassemble_init_for_target): Likewise.
1089 * mep-*: New files for Toshiba Media Processor (MeP).
1090 * Makefile.in: Regenerated.
1091 * configure: Regenerated.
1093 2007-02-05 H.J. Lu <hongjiu.lu@intel.com>
1095 * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
1096 wrap around within the same segment in 16bit mode.
1098 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1100 * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
1103 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1105 * avr-dis.c (avr_operand): Correct PR number in comment.
1107 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1109 * disassemble.c (disassembler_usage): Call
1110 print_i386_disassembler_options for i386 disassembler.
1112 * i386-dis.c (print_i386_disassembler_options): New.
1113 (print_insn): Support the new addr64 option.
1115 2007-02-02 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
1117 * ppc-dis.c (powerpc_dialect): Handle ppc440.
1118 * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
1121 2007-02-02 Alan Modra <amodra@bigpond.net.au>
1123 * ppc-opc.c (insert_bdm): -Many comment.
1124 (valid_bo): Add "extract" param. Accept both powerpc and power4
1125 BO fields when disassembling with -Many.
1126 (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
1128 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
1130 * m68k-opc.c (m68k_opcodes): Replace cpu32 with
1131 cpu32 | fido_a except on tbl instructions.
1133 2007-01-04 Paul Brook <paul@codesourcery.com>
1135 * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
1137 2007-01-04 Andreas Schwab <schwab@suse.de>
1139 * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
1141 2007-01-04 Julian Brown <julian@codesourcery.com>
1143 * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
1144 vqrshl instructions.
1146 For older changes see ChangeLog-2006
1152 version-control: never