1 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
3 * Makefile.am: Run "make dep-am".
4 * Makefile.in: Regenerate.
6 2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
8 * configure.in (AC_CHECK_HEADERS): Add limits.h.
9 * configure: Regenerated.
10 * config.in: Likewise.
12 * i386-gen.c: Include "sysdep.h" instead of <stdlib.h> and
13 <string.h>. Use xstrerror instead of strerror.
15 (cpu_flag_init): Likewise.
18 (cpu_flags): Likewise.
19 (opcode_modifiers): Likewise.
20 (operand_types): Likewise.
22 (set_cpu_flags): Likewise.
23 (output_cpu_flags): Likewise.
24 (process_i386_cpu_flags): Likewise.
25 (output_opcode_modifier): Likewise.
26 (process_i386_opcode_modifier): Likewise.
27 (output_operand_type): Likewise.
28 (process_i386_operand_type): Likewise.
29 (set_bitfield): Likewise.
30 (operand_type_init): Likewise.
31 (process_i386_initializers): Likewise.
32 (process_i386_opcodes): Call process_i386_opcode_modifier to
33 process opcode_modifier. Call process_i386_operand_type to
34 process operand_types.
35 (process_i386_registers): Call process_i386_operand_type to
37 (main): Check unused bits in i386_cpu_flags and i386_operand_type.
38 Sort cpu_flags, opcode_modifiers and operand_types. Call
39 process_i386_initializers.
42 * i386-tbl.h: Regenerated.
44 * i386-opc.h: Include <limits.h>.
45 (CHAR_BIT): Define as 8 if not defined.
46 (Cpu186): Changed to position of bitfiled.
60 (Cpu3dnowA): Likewise.
62 (CpuPadLock): Likewise.
68 (CpuSSE4_1): Likewise.
69 (CpuSSE4_2): Likewise.
75 (ShortForm): Likewise.
77 (JumpDword): Likewise.
79 (JumpInterSegment): Likewise.
86 (IgnoreSize): Likewise.
87 (DefaultSize): Likewise.
96 (RegKludge): Likewise.
106 (FloatReg): Likewise.
116 (BaseIndex): Likewise.
122 (InOutPortReg): Likewise.
123 (ShiftCount): Likewise.
130 (FloatAcc): Likewise.
131 (JumpAbsolute): Likewise.
135 (Reg): Commented out.
137 (ImplicitRegister): Likewise.
142 (LLongMem): Likewise.
144 (ShortMem): Likewise.
149 (CpuNumOfUints): Likewise.
150 (CpuNumOfBits): Likewise.
151 (CpuUnused): Likewise.
152 (OTNumOfUints): Likewise.
153 (OTNumOfBits): Likewise.
154 (OTUnused): Likewise.
155 (i386_cpu_flags): New type.
156 (i386_operand_type): Likewise.
157 (i386_opcode_modifier): Likewise.
158 (CpuSledgehammer): Removed.
160 (CpuUnknownFlags): Likewise.
163 (ImplicitRegister): Likewise.
168 (LLongMem): Likewise.
170 (ShortMem): Likewise.
173 (template): Use i386_cpu_flags for cpu_flags, use
174 i386_opcode_modifier for opcode_modifier, use
175 i386_operand_type for operand_types.
176 (reg_entry): Use i386_operand_type for reg_type.
178 * Makefile.am (HFILES): Add i386-init.h.
179 ($(srcdir)/i386-init.h): New rule.
180 ($(srcdir)/i386-tbl.h): Depend on $(srcdir)/i386-init.h
182 * Makefile.in: Regenerated.
184 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
186 * i386-gen.c (next_field): Updated to take a separator.
187 (process_i386_opcodes): Updated.
188 (process_i386_registers): Likewise.
190 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
192 * i386-gen.c (table): Moved ...
193 (main): Here. Call process_copyright to output copyright.
194 (process_copyright): New.
195 (process_i386_opcodes): Take FILE *table.
196 (process_i386_registers): Likewise.
198 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
200 * i386-gen.c (table): New.
201 (process_i386_opcodes): Report errno when faied to open
202 i386-opc.tbl. Output opcodes to table. Close i386-opc.tbl
204 (process_i386_registers): Report errno when faied to open
205 i386-reg.tbl. Output opcodes to table. Close i386-reg.tbl
207 (main): Open i386-tbl.h for output.
209 * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@".
210 * Makefile.in: Regenerated.
212 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
214 * i386-opc.tbl: Correct SVME instructions to allow 32bit register
215 operand in 64bit mode.
216 * i386-tbl.h: Regenerated.
218 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
220 * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
221 (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
222 (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
224 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
226 * i386-dis.c (SVME_Fixup): Removed.
228 (OPC_EXT_RM_6): Likewise.
229 (grps): Use OPC_EXT_39.
230 (opc_ext_table): Add OPC_EXT_39.
231 (opc_ext_rm_table): Add OPC_EXT_RM_6.
233 * i386-opc.tbl: Correct SVME instructions to take register
235 * i386-tbl.h: Regenerated.
237 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
239 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
240 * Makefile.in: Regenerated.
242 * configure.in (AC_GNU_SOURCE): Added.
243 (AC_PROG_CC): Moved before AC_GNU_SOURCE.
244 (AC_CHECK_DECLS): Add stpcpy.
245 * configure: Regenerated.
246 * config.in: Likewise.
248 * i386-dis.c: Include "sysdep.h" before "dis-asm.h".
250 * sysdep.h (stpcpy): New.
252 2007-08-30 H.J. Lu <hongjiu.lu@intel.com>
254 * i386-dis.c (INVLPG_Fixup): Removed.
256 (OPC_EXT_RM_5): Likewise.
257 (grps): Use OPC_EXT_38.
258 (opc_ext_table): Add OPC_EXT_38.
259 (opc_ext_rm_table): Add OPC_EXT_RM_5.
261 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
263 * i386-dis.c (SIMD_Fixup): Removed.
264 (OPC_EXT_34...OPC_EXT_37): New.
265 (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
266 (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
267 (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
269 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
271 * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
272 (dis386): Use OPC_EXT_0...OPC_EXT_2.
273 (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
274 (grps): Updated to use OPC_EXT_6...OPC_EXT_31.
275 (prefix_user_table): Use OPC_EXT_32.
276 (x86_64_table): Use OPC_EXT_33.
277 (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
279 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
281 * i386-dis.c (prefix_user_table): Fix comment.
283 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
285 * i386-dis.c (OP_Skip_MODRM): New.
286 (OP_Monitor): Likewise.
287 (OP_Mwait): Likewise.
289 (Skip_MODRM): Likewise.
290 (USE_OPC_EXT_TABLE): Likewise.
291 (USE_OPC_EXT_RM_TABLE): Likewise.
292 (PREGRP98...PREGRP100): Likewise.
293 (OPC_EXT_0...OPC_EXT_24): Likewise.
294 (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
295 (lock_prefix): Likewise.
296 (data_prefix): Likewise.
297 (addr_prefix): Likewise.
298 (repz_prefix): Likewise.
299 (repnz_prefix): Likewise.
300 (opc_ext_table): Likewise.
301 (opc_ext_rm_table): Likewise.
302 (get_valid_dis386): Likewise.
305 (PNI_Fixup): Likewise.
306 (VMX_Fixup): Likewise.
308 (twobyte_uses_DATA_prefix): Likewise.
309 (twobyte_uses_REPNZ_prefix): Likewise.
310 (twobyte_uses_REPZ_prefix): Likewise.
311 (threebyte_0x38_uses_DATA_prefix): Likewise.
312 (threebyte_0x38_uses_REPNZ_prefix): Likewise.
313 (threebyte_0x38_uses_REPZ_prefix): Likewise.
314 (threebyte_0x3a_uses_DATA_prefix): Likewise.
315 (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
316 (threebyte_0x3a_uses_REPZ_prefix): Likewise.
317 (grps): Use OPC_EXT_0...OPC_EXT_24.
318 (prefix_user_table): Add PREGRP98...PREGRP100.
319 (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
320 uses_REPNZ_prefix and uses_REPZ_prefix. Initialize
321 repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
322 data_prefix based on prefixes. Call get_valid_dis386 to
323 get a pointer to the valid dis386. Print out prefixes if
325 (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
326 (REP_Fixup): Set repz_prefix to "rep " when seeing
329 2007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
331 * po/nl.po: Updated translation.
333 2007-08-28 H.J. Lu <hongjiu.lu@intel.com>
335 * i386-dis.c (Md): New.
336 (grps): Use 0 on invlpg. Use M on fxsave and fxrstor. Use
337 Md on ldmxcsr and stmxcsr. Use b_mode on clflush.
338 (OP_0fae): Clear bytemode for sfence.
340 2007-08-22 Ben Elliston <bje@au.ibm.com>
342 * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
343 (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
345 (powerpc_opcodes): Add all pair singles instructions.
346 * ppc-dis.c (powerpc_dialect): Handle "ppcps".
347 (print_ppc_disassembler_options): Document -Mppcps.
349 2007-08-21 Andreas Krebbel <krebbel1@de.ibm.com>
351 * s390-mkopc.c (struct s390_cond_ext_format): New global struct.
352 (s390_cond_ext_format): New global variable.
353 (expandConditionalJump): New function.
354 (main): Invoke expandConditionalJump for mnemonics containing '*'.
355 * s390-opc.txt: Replace mnemonics with conditional
356 mask extensions with instructions using the newly introduced '*' tag.
358 2007-08-17 Alan Modra <amodra@bigpond.net.au>
360 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
362 2007-08-10 Nick Clifton <nickc@redhat.com>
364 * po/fi.po: Updated Finnish translation.
365 * po/ga.po: Updated Irish translation.
366 * po/vi.po: Updated Vietnamese translation.
368 2007-08-09 H.J. Lu <hongjiu.lu@intel.com>
370 * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
371 pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
372 * i386-tbl.h: Regenerated.
374 2007-08-03 James E. Wilson <wilson@specifix.com>
376 * ia64-gen.c: (main): Add missing newline to copyright message.
377 * ia64-ic.tbl (fp-non-arith): Add xmpy.
378 * ia64-asmtab.c: Regenerate.
380 2007-08-01 Michael Snyder <msnyder@access-company.com>
382 * i386-dis.c (print_insn): Guard against NULL.
384 2007-07-29 H.J. Lu <hongjiu.lu@intel.com>
387 * i386-dis.c (EXw): New.
388 (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
389 instructions when appropriated.
391 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
394 * i386-dis.c (Eq): New.
395 (EMC): Renamed to ...
396 (EMCq): This. Use q_mode instead of v_mode.
397 (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
400 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
402 * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
403 (prefix_user_table): Likewise. Use EXq instead of EXx on
406 2007-07-27 Nathan Sidwell <nathan@codesourcery.com>
408 * ppc-opc (PPC7450): New.
409 (powerpc_opcodes): Use it in dcba.
411 2007-07-24 H.J. Lu <hongjiu.lu@intel.com>
413 * i386-gen.c (main): Print a newline after copyright notice.
415 2007-07-19 Nick Clifton <nickc@redhat.com>
418 * maxq-dis.c (get_reg_name): Fix the scan of the
419 mem_access_syntax_table.
421 2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
423 * i386-dis.c (EMq): Removed.
425 (prefix_user_table): Replace EMq with EMx.
427 2007-07-16 Nick Clifton <nickc@redhat.com>
429 * po/nl.po: Updated translation.
431 2007-07-12 Nick Clifton <nickc@redhat.com>
433 * po/vi.po: Updated translation.
434 * po/nl.po: Updated translation.
436 2007-07-06 Mark Kettenis <kettenis@gnu.org>
437 H.J. Lu <hongjiu.lu@intel.com>
439 * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
440 (ia64-asmtab.c): Likewise.
441 * Makefile.in: Regenerate.
443 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
445 * aclocal.m4: Regenerated.
447 2007-07-04 Nick Clifton <nickc@redhat.com>
449 * alpha-dis.c: Update copyright notice to refer to GPLv3.
450 * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h,
451 arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c,
452 cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in,
453 cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c,
454 cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c,
455 d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c,
456 dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c,
457 h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c,
458 i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c,
459 ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c,
460 ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c,
461 ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c,
462 m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c,
463 m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c,
464 mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c,
465 mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c,
466 or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c,
467 ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c,
468 score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h,
469 sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c,
470 spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c,
471 tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c,
472 vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c,
473 z8k-dis.c, z8kgen.c: Likewise.
474 * i386-opc.tbl, i386-reg.tbl: Add copyright notice.
475 * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h,
476 fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c,
477 frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c,
478 frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c,
479 ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h,
480 iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c,
481 iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c,
482 m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c,
483 m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
484 m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c,
485 mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c,
486 mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c,
487 mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c,
488 openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c,
489 openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h,
490 xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h,
491 xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h,
492 xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c,
493 xstormy16-opc.h, z8k-opc.h: Regenerated
495 2007-07-04 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
497 * cr16-dis.c (getcinvstring): Add const qualifier to char *
499 (print_insn_cr16): Remove cast to char *.
501 2007-07-03 Nathan Sidwell <nathan@codesourcery.com>
503 * m68k-dis.c (fetch_arg): Add E. Replace length switch with
505 (print_ins_arg): Add j & K operand types.
506 (match_insn_m68k): Check and skip initial '.' arg character.
507 (m68k_scan_mask): Likewise.
508 * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
510 2007-07-02 Alan Modra <amodra@bigpond.net.au>
512 * Makefile.am: Run "make dep-am".
513 * Makefile.in: Regenerate.
514 * aclocal.m4: Regenerate.
515 * config.in: Regenerate.
516 * po/POTFILES.in: Regenerate.
517 * po/opcodes.pot: Regenerate.
519 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
521 * aclocal.m4: Regenerated.
522 * Makefile.in: Likewise.
524 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
526 * i386-reg.tbl: Remove spaces before comments.
528 2007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
530 * cr16-opc.c: New file.
531 * cr16-dis.c: New file.
532 * Makefile.am: Entries for cr16.
533 * Makefile.in: Regenerate.
534 * cofigure.in: Add cr16 target information.
535 * configure : Regenerate.
536 * disassemble.c: Add cr16 target information.
538 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
540 * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
541 (CFILES): Add i386-gen.c.
542 (i386-gen): New rule.
543 (i386-gen.o): Likewise.
544 (i386-tbl.h): Likewise.
546 * Makefile.in: Regenerated.
548 * i386-gen.c: New file.
549 * i386-opc.tbl: Likewise.
550 * i386-reg.tbl: Likewise.
551 * i386-tbl.h: Likewise.
553 * i386-opc.c: Include "i386-tbl.h".
554 (i386_optab): Removed.
555 (i386_regtab): Likewise.
556 (i386_regtab_size): Likewise.
558 2007-06-26 Paul Brook <paul@codesourcery.com>
560 * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
562 2007-06-25 H.J. Lu <hongjiu.lu@intel.com>
564 * i386-opc.h (regKludge): Renamed to ...
567 * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
569 2007-06-23 H.J. Lu <hongjiu.lu@intel.com>
572 * i386-dis.c (EX): Removed.
578 (PREGRP93...PREGRP97): Likewise.
579 (dis386_twobyte): Updated.
580 (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
581 (OP_EX): Remove Intel syntax handling.
583 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
585 * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
587 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
589 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
591 * acinclude.m4: Removed.
593 * Makefile.in: Regenerated.
594 * doc/Makefile.in: Likewise.
595 * aclocal.m4: Likewise.
596 * configure: Likewise.
598 2007-06-05 Paul Brook <paul@codesourcery.com>
600 * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
602 2007-05-24 Steve Ellcey <sje@cup.hp.com>
604 * Makefile.in: Regnerate.
605 * configure: Regenerate.
606 * aclocal.m4: Regenerate.
608 2007-05-18 Alan Modra <amodra@bigpond.net.au>
610 * ppc-dis.c (print_insn_powerpc): Don't skip all operands
611 after setting skip_optional.
613 2007-05-16 Peter Bergner <bergner@vnet.ibm.com>
615 * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
616 (print_insn_powerpc): Use the new operand_value_powerpc and
617 skip_optional_operands functions to omit or print all optional
619 * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
620 (XFL_MASK): Delete L and W bits from the mask.
621 (mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK
622 with XWRA_MASK. Use W.
623 (mtfsf, mtfsf.): Use XFL_L and W.
625 2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
628 * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
630 2007-05-10 H.J. Lu <hongjiu.lu@intel.com>
632 * i386-opc.h (ShortForm): Redefined.
634 (JumpDword): Likewise.
635 (JumpByte): Likewise.
636 (JumpInterSegment): Likewise.
643 (IgnoreSize): Likewise.
644 (DefaultSize): Likewise.
652 (IsString): Likewise.
653 (regKludge): Likewise.
654 (IsPrefix): Likewise.
660 2007-05-07 H.J. Lu <hongjiu.lu@intel.com>
662 * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
663 for some SSE4 instructions.
664 (threebyte_0x3a_uses_DATA_prefix): Likewise.
666 2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
668 * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
670 * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
673 2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
675 * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
676 check data size prefix in 16bit mode.
678 * i386-opc.c (i386_optab): Default crc32 to non-8bit and
681 2007-04-30 Mark Salter <msalter@redhat.com>
683 * frv-desc.c: Regenerate.
684 * frv-desc.h: Regenerate.
686 2007-04-30 Alan Modra <amodra@bigpond.net.au>
689 * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
691 2007-04-27 H.J. Lu <hongjiu.lu@intel.com>
693 * i386-dis.c (modrm): Put reg before rm.
695 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
698 * i386-dis.c (print_displacement): New.
699 (OP_E): Call print_displacement instead of print_operand_value
700 to output displacement when either base or index exist. Print
701 the explicit zero displacement in 16bit mode.
703 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
706 * i386-dis.c (print_insn): Also swap the order of op_riprel
707 when swapping op_index. Break when the RIP relative address
709 (OP_E): Properly handle RIP relative addressing and print the
710 explicit zero displacement for Intel mode.
712 2007-04-27 Alan Modra <amodra@bigpond.net.au>
714 * Makefile.am: Run "make dep-am".
715 * Makefile.in: Regenerate.
716 * ns32k-dis.c: Include sysdep.h first.
718 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
720 * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
722 * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
724 2007-04-24 Nick Clifton <nickc@redhat.com>
726 * arm-dis.c (print_insn): Initialise type.
728 2007-04-24 Alan Modra <amodra@bigpond.net.au>
730 * cgen-types.h: Include bfd_stdint.h, not stdint.h.
731 * Makefile.am: Run "make dep-am".
732 * Makefile.in: Regenerate.
734 2007-04-23 Nathan Sidwell <nathan@codesourcery.com>
736 * m68k-opc.c: Mark mcfisa_c instructions.
738 2007-04-21 Richard Earnshaw <rearnsha@arm.com>
740 * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
741 (thumb_opcodes): Add missing white space in adr.
742 (arm_decode_shift): New parameter, print_shift. Only decode the
743 shift parameter if set. Adjust callers.
744 (print_insn_arm): Support for operand type q with no shift decode.
746 2007-04-21 Alan Modra <amodra@bigpond.net.au>
748 * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
750 (i386_regtab): ..here.
751 * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
753 * ppc-opc.c (powerpc_operands): Delete duplicate entries.
754 (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
755 (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
756 (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
758 2007-04-20 Nathan Sidwell <nathan@codesourcery.com>
760 * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
763 2007-04-20 Alan Modra <amodra@bigpond.net.au>
765 * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
767 * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
768 in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove
769 references to following deleted functions.
770 (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
771 (insert_ds, extract_ds, insert_de, extract_de): Delete.
772 (insert_des, extract_des, insert_li, extract_li): Delete.
773 (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
774 (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
775 (num_powerpc_operands): New constant.
776 (XSPRG_MASK): Remove entire SPRG field.
777 (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
779 2007-04-20 Alan Modra <amodra@bigpond.net.au>
781 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
783 (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
785 2007-04-20 Richard Earnshaw <rearnsha@arm.com>
787 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
790 2007-04-19 Alan Modra <amodra@bigpond.net.au>
792 * Makefile.am: Run "make dep-am".
793 * Makefile.in: Regenerate.
794 * po/POTFILES.in: Regenerate.
796 2007-04-19 Alan Modra <amodra@bigpond.net.au>
798 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
799 db10cyc, db12cyc, db16cyc.
801 2007-04-19 Nathan Froyd <froydnj@codesourcery.com>
803 * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
805 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
807 * i386-dis.c (CRC32_Fixup): New.
808 (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
810 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
811 (threebyte_0x3a_uses_DATA_prefix): Likewise.
812 (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
813 PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
814 (three_byte_table): Likewise.
816 * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
818 * i386-opc.h (CpuSSE4_2): New.
820 (CpuUnknownFlags): Add CpuSSE4_2.
822 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
824 * i386-dis.c (XMM_Fixup): New.
830 (PREGRP39 ... PREGRP85): New.
831 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
832 (threebyte_0x3a_uses_DATA_prefix): Likewise.
833 (prefix_user_table): Add PREGRP39 ... PREGRP85.
834 (three_byte_table): Likewise.
836 (intel_operand_size): Handle dqb_mode, dqd_mode):
840 * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
842 * i386-opc.h (CpuSSE4_1): New.
843 (CpuUnknownFlags): Add CpuSSE4_1.
844 (regKludge): Update comment.
846 2007-04-18 Matthias Klose <doko@ubuntu.com>
848 * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
849 * Makefile.in: Regenerate.
851 2007-04-14 Steve Ellcey <sje@cup.hp.com>
853 * Makefile.am: Add ACLOCAL_AMFLAGS.
854 * Makefile.in: Regenerate.
856 2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
858 * i386-dis.c: Remove trailing white spaces.
859 * i386-opc.c: Likewise.
860 * i386-opc.h: Likewise.
862 2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
865 * i386-dis.c (GRP1a): New.
866 (GRP1b ... GRPPADLCK2): Update index.
867 (dis386): Use GRP1a for entry 0x8f.
868 (mod, rm, reg): Removed. Replaced by ...
872 2007-04-09 Kazu Hirata <kazu@codesourcery.com>
874 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
875 info->print_address_func if longjmp is called.
877 2007-03-29 DJ Delorie <dj@redhat.com>
879 * m32c-desc.c: Regenerate.
880 * m32c-dis.c: Regenerate.
881 * m32c-opc.c: Regenerate.
883 2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
885 * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
886 movq. Remove InvMem from sldt, smsw and str.
888 * i386-opc.h (InvMem): Renamed to ...
889 (RegMem): Update comments.
890 (AnyMem): Remove InvMem.
892 2007-03-27 Paul Brook <paul@codesourcery.com>
894 * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
896 2007-03-24 Paul Brook <paul@codesourcery.com>
898 * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
899 (print_insn_coprocessor): Handle %<bitfield>x.
901 2007-03-24 Paul Brook <paul@codesourcery.com>
902 Mark Shinwell <shinwell@codesourcery.com>
904 * arm-dis.c (arm_opcodes): Print SRS base register.
906 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
908 * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
910 * i386-opc.c (i386_optab): Add rex.wrxb.
912 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
914 * i386-dis.c (REX_MODE64): Remove definition.
915 (REX_EXTX): Likewise.
916 (REX_EXTY): Likewise.
917 (REX_EXTZ): Likewise.
918 (USED_REX): Use REX_OPCODE instead of 0x40.
919 Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
920 REX_R, REX_X and REX_B respectively.
922 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
925 * i386-dis.c (PREGRP38): New.
926 (dis386): Use PREGRP38 for 0x90.
927 (prefix_user_table): Add PREGRP38.
928 (print_insn): Set uses_REPZ_prefix to 1 for pause.
929 (NOP_Fixup1): Properly handle REX bits.
930 (NOP_Fixup2): Likewise.
932 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
933 Allow register with nop.
935 2007-03-20 DJ Delorie <dj@redhat.com>
937 * m32c-asm.c: Regenerate.
938 * m32c-desc.c: Regenerate.
939 * m32c-desc.h: Regenerate.
940 * m32c-dis.h: Regenerate.
941 * m32c-ibld.c: Regenerate.
942 * m32c-opc.c: Regenerate.
943 * m32c-opc.h: Regenerate.
945 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
947 * i386-opc.c: Include "libiberty.h".
948 (i386_regtab): Remove the last entry.
949 (i386_regtab_size): New.
950 (i386_float_regtab_size): Likewise.
952 * i386-opc.h (i386_regtab_size): New.
953 (i386_float_regtab_size): Likewise.
955 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
957 * Makefile.am (CFILES): Add i386-opc.c.
958 (ALL_MACHINES): Add i386-opc.lo.
960 * Makefile.in: Regenerated.
962 * configure.in: Add i386-opc.lo for bfd_i386_arch.
963 * configure: Regenerated.
965 * i386-dis.c: Include "opcode/i386.h".
966 (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
967 (FWAIT_OPCODE): Remove definition.
968 (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
969 (MAX_OPERANDS): Remove definition.
971 * i386-opc.c: New file.
972 * i386-opc.h: Likewise.
974 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
976 * Makefile.in: Regenerated.
978 2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
980 * i386-dis.c (OP_Rd): Renamed to ...
985 2007-03-08 Alan Modra <amodra@bigpond.net.au>
987 * fr30-asm.c: Regenerate.
988 * frv-asm.c: Regenerate.
989 * ip2k-asm.c: Regenerate.
990 * iq2000-asm.c: Regenerate.
991 * m32c-asm.c: Regenerate.
992 * m32r-asm.c: Regenerate.
993 * m32r-dis.c: Regenerate.
994 * mt-asm.c: Regenerate.
995 * mt-ibld.c: Regenerate.
996 * mt-opc.c: Regenerate.
997 * openrisc-asm.c: Regenerate.
998 * xc16x-asm.c: Regenerate.
999 * xstormy16-asm.c: Regenerate.
1001 * Makefile.am: Run "make dep-am".
1002 * Makefile.in: Regenerate.
1003 * po/POTFILES.in: Regenerate.
1005 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
1007 * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
1008 INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
1009 instruction formats added.
1010 (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
1011 MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
1013 * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
1015 * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1016 (main): z9-ec cpu type option added.
1017 * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1019 2007-02-22 DJ Delorie <dj@redhat.com>
1021 * s390-opc.c (INSTR_SS_L2RDRD): New.
1022 (MASK_SS_L2RDRD): New.
1023 * s390-opc.txt (pka): Use it.
1025 2007-02-20 Thiemo Seufer <ths@mips.com>
1026 Chao-Ying Fu <fu@mips.com>
1028 * mips-dis.c (mips_arch_choices): Add DSP R2 support.
1029 (print_insn_args): Add support for balign instruction.
1030 * mips-opc.c (D33): New shortcut for DSP R2 instructions.
1031 (mips_builtin_opcodes): Add DSP R2 instructions.
1033 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1035 * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
1036 (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
1037 * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
1038 cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
1040 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1042 * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
1043 * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
1044 (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
1047 2007-02-16 Nick Clifton <nickc@redhat.com>
1050 * avr-dis.c (comment_start): New variable, contains the prefix to
1051 use when printing addresses in comments.
1052 (print_insn_avr): Set comment_start to an empty space if there is
1053 no symbol table available as the generic address printing code
1054 will prefix the numeric value of the address with 0x.
1056 2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
1058 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
1061 2007-02-05 Dave Brolley <brolley@redhat.com>
1062 Richard Sandiford <rsandifo@redhat.com>
1063 DJ Delorie <dj@redhat.com>
1064 Graydon Hoare <graydon@redhat.com>
1065 Frank Ch. Eigler <fche@redhat.com>
1066 Ben Elliston <bje@redhat.com>
1068 * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
1069 (CFILES): Add mep-*.c
1070 (ALL_MACHINES): Add mep-*.lo.
1071 (CLEANFILES): Add stamp-mep.
1072 (CGEN_CPUS): Add mep.
1073 (MEP_DEPS): New variable.
1074 (mep-*): New targets.
1075 * configure.in: Handle bfd_mep_arch.
1076 * disassemble.c (ARCH_mep): New macro.
1077 (disassembler): Handle bfd_arch_mep.
1078 (disassemble_init_for_target): Likewise.
1079 * mep-*: New files for Toshiba Media Processor (MeP).
1080 * Makefile.in: Regenerated.
1081 * configure: Regenerated.
1083 2007-02-05 H.J. Lu <hongjiu.lu@intel.com>
1085 * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
1086 wrap around within the same segment in 16bit mode.
1088 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1090 * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
1093 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1095 * avr-dis.c (avr_operand): Correct PR number in comment.
1097 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1099 * disassemble.c (disassembler_usage): Call
1100 print_i386_disassembler_options for i386 disassembler.
1102 * i386-dis.c (print_i386_disassembler_options): New.
1103 (print_insn): Support the new addr64 option.
1105 2007-02-02 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
1107 * ppc-dis.c (powerpc_dialect): Handle ppc440.
1108 * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
1111 2007-02-02 Alan Modra <amodra@bigpond.net.au>
1113 * ppc-opc.c (insert_bdm): -Many comment.
1114 (valid_bo): Add "extract" param. Accept both powerpc and power4
1115 BO fields when disassembling with -Many.
1116 (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
1118 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
1120 * m68k-opc.c (m68k_opcodes): Replace cpu32 with
1121 cpu32 | fido_a except on tbl instructions.
1123 2007-01-04 Paul Brook <paul@codesourcery.com>
1125 * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
1127 2007-01-04 Andreas Schwab <schwab@suse.de>
1129 * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
1131 2007-01-04 Julian Brown <julian@codesourcery.com>
1133 * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
1134 vqrshl instructions.
1136 For older changes see ChangeLog-2006
1142 version-control: never