1 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
3 * i386-gen.c (table): Moved ...
4 (main): Here. Call process_copyright to output copyright.
5 (process_copyright): New.
6 (process_i386_opcodes): Take FILE *table.
7 (process_i386_registers): Likewise.
9 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
11 * i386-gen.c (table): New.
12 (process_i386_opcodes): Report errno when faied to open
13 i386-opc.tbl. Output opcodes to table. Close i386-opc.tbl
15 (process_i386_registers): Report errno when faied to open
16 i386-reg.tbl. Output opcodes to table. Close i386-reg.tbl
18 (main): Open i386-tbl.h for output.
20 * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@".
21 * Makefile.in: Regenerated.
23 2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
25 * i386-opc.tbl: Correct SVME instructions to allow 32bit register
26 operand in 64bit mode.
27 * i386-tbl.h: Regenerated.
29 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
31 * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
32 (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
33 (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
35 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
37 * i386-dis.c (SVME_Fixup): Removed.
39 (OPC_EXT_RM_6): Likewise.
40 (grps): Use OPC_EXT_39.
41 (opc_ext_table): Add OPC_EXT_39.
42 (opc_ext_rm_table): Add OPC_EXT_RM_6.
44 * i386-opc.tbl: Correct SVME instructions to take register
46 * i386-tbl.h: Regenerated.
48 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
50 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
51 * Makefile.in: Regenerated.
53 * configure.in (AC_GNU_SOURCE): Added.
54 (AC_PROG_CC): Moved before AC_GNU_SOURCE.
55 (AC_CHECK_DECLS): Add stpcpy.
56 * configure: Regenerated.
57 * config.in: Likewise.
59 * i386-dis.c: Include "sysdep.h" before "dis-asm.h".
61 * sysdep.h (stpcpy): New.
63 2007-08-30 H.J. Lu <hongjiu.lu@intel.com>
65 * i386-dis.c (INVLPG_Fixup): Removed.
67 (OPC_EXT_RM_5): Likewise.
68 (grps): Use OPC_EXT_38.
69 (opc_ext_table): Add OPC_EXT_38.
70 (opc_ext_rm_table): Add OPC_EXT_RM_5.
72 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
74 * i386-dis.c (SIMD_Fixup): Removed.
75 (OPC_EXT_34...OPC_EXT_37): New.
76 (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
77 (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
78 (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
80 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
82 * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
83 (dis386): Use OPC_EXT_0...OPC_EXT_2.
84 (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
85 (grps): Updated to use OPC_EXT_6...OPC_EXT_31.
86 (prefix_user_table): Use OPC_EXT_32.
87 (x86_64_table): Use OPC_EXT_33.
88 (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
90 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
92 * i386-dis.c (prefix_user_table): Fix comment.
94 2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
96 * i386-dis.c (OP_Skip_MODRM): New.
97 (OP_Monitor): Likewise.
100 (Skip_MODRM): Likewise.
101 (USE_OPC_EXT_TABLE): Likewise.
102 (USE_OPC_EXT_RM_TABLE): Likewise.
103 (PREGRP98...PREGRP100): Likewise.
104 (OPC_EXT_0...OPC_EXT_24): Likewise.
105 (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
106 (lock_prefix): Likewise.
107 (data_prefix): Likewise.
108 (addr_prefix): Likewise.
109 (repz_prefix): Likewise.
110 (repnz_prefix): Likewise.
111 (opc_ext_table): Likewise.
112 (opc_ext_rm_table): Likewise.
113 (get_valid_dis386): Likewise.
116 (PNI_Fixup): Likewise.
117 (VMX_Fixup): Likewise.
119 (twobyte_uses_DATA_prefix): Likewise.
120 (twobyte_uses_REPNZ_prefix): Likewise.
121 (twobyte_uses_REPZ_prefix): Likewise.
122 (threebyte_0x38_uses_DATA_prefix): Likewise.
123 (threebyte_0x38_uses_REPNZ_prefix): Likewise.
124 (threebyte_0x38_uses_REPZ_prefix): Likewise.
125 (threebyte_0x3a_uses_DATA_prefix): Likewise.
126 (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
127 (threebyte_0x3a_uses_REPZ_prefix): Likewise.
128 (grps): Use OPC_EXT_0...OPC_EXT_24.
129 (prefix_user_table): Add PREGRP98...PREGRP100.
130 (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
131 uses_REPNZ_prefix and uses_REPZ_prefix. Initialize
132 repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
133 data_prefix based on prefixes. Call get_valid_dis386 to
134 get a pointer to the valid dis386. Print out prefixes if
136 (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
137 (REP_Fixup): Set repz_prefix to "rep " when seeing
140 2007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
142 * po/nl.po: Updated translation.
144 2007-08-28 H.J. Lu <hongjiu.lu@intel.com>
146 * i386-dis.c (Md): New.
147 (grps): Use 0 on invlpg. Use M on fxsave and fxrstor. Use
148 Md on ldmxcsr and stmxcsr. Use b_mode on clflush.
149 (OP_0fae): Clear bytemode for sfence.
151 2007-08-22 Ben Elliston <bje@au.ibm.com>
153 * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
154 (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
156 (powerpc_opcodes): Add all pair singles instructions.
157 * ppc-dis.c (powerpc_dialect): Handle "ppcps".
158 (print_ppc_disassembler_options): Document -Mppcps.
160 2007-08-21 Andreas Krebbel <krebbel1@de.ibm.com>
162 * s390-mkopc.c (struct s390_cond_ext_format): New global struct.
163 (s390_cond_ext_format): New global variable.
164 (expandConditionalJump): New function.
165 (main): Invoke expandConditionalJump for mnemonics containing '*'.
166 * s390-opc.txt: Replace mnemonics with conditional
167 mask extensions with instructions using the newly introduced '*' tag.
169 2007-08-17 Alan Modra <amodra@bigpond.net.au>
171 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
173 2007-08-10 Nick Clifton <nickc@redhat.com>
175 * po/fi.po: Updated Finnish translation.
176 * po/ga.po: Updated Irish translation.
177 * po/vi.po: Updated Vietnamese translation.
179 2007-08-09 H.J. Lu <hongjiu.lu@intel.com>
181 * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
182 pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
183 * i386-tbl.h: Regenerated.
185 2007-08-03 James E. Wilson <wilson@specifix.com>
187 * ia64-gen.c: (main): Add missing newline to copyright message.
188 * ia64-ic.tbl (fp-non-arith): Add xmpy.
189 * ia64-asmtab.c: Regenerate.
191 2007-08-01 Michael Snyder <msnyder@access-company.com>
193 * i386-dis.c (print_insn): Guard against NULL.
195 2007-07-29 H.J. Lu <hongjiu.lu@intel.com>
198 * i386-dis.c (EXw): New.
199 (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
200 instructions when appropriated.
202 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
205 * i386-dis.c (Eq): New.
206 (EMC): Renamed to ...
207 (EMCq): This. Use q_mode instead of v_mode.
208 (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
211 2007-07-28 H.J. Lu <hongjiu.lu@intel.com>
213 * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
214 (prefix_user_table): Likewise. Use EXq instead of EXx on
217 2007-07-27 Nathan Sidwell <nathan@codesourcery.com>
219 * ppc-opc (PPC7450): New.
220 (powerpc_opcodes): Use it in dcba.
222 2007-07-24 H.J. Lu <hongjiu.lu@intel.com>
224 * i386-gen.c (main): Print a newline after copyright notice.
226 2007-07-19 Nick Clifton <nickc@redhat.com>
229 * maxq-dis.c (get_reg_name): Fix the scan of the
230 mem_access_syntax_table.
232 2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
234 * i386-dis.c (EMq): Removed.
236 (prefix_user_table): Replace EMq with EMx.
238 2007-07-16 Nick Clifton <nickc@redhat.com>
240 * po/nl.po: Updated translation.
242 2007-07-12 Nick Clifton <nickc@redhat.com>
244 * po/vi.po: Updated translation.
245 * po/nl.po: Updated translation.
247 2007-07-06 Mark Kettenis <kettenis@gnu.org>
248 H.J. Lu <hongjiu.lu@intel.com>
250 * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
251 (ia64-asmtab.c): Likewise.
252 * Makefile.in: Regenerate.
254 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
256 * aclocal.m4: Regenerated.
258 2007-07-04 Nick Clifton <nickc@redhat.com>
260 * alpha-dis.c: Update copyright notice to refer to GPLv3.
261 * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h,
262 arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c,
263 cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in,
264 cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c,
265 cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c,
266 d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c,
267 dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c,
268 h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c,
269 i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c,
270 ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c,
271 ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c,
272 ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c,
273 m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c,
274 m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c,
275 mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c,
276 mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c,
277 or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c,
278 ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c,
279 score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h,
280 sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c,
281 spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c,
282 tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c,
283 vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c,
284 z8k-dis.c, z8kgen.c: Likewise.
285 * i386-opc.tbl, i386-reg.tbl: Add copyright notice.
286 * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h,
287 fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c,
288 frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c,
289 frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c,
290 ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h,
291 iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c,
292 iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c,
293 m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c,
294 m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
295 m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c,
296 mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c,
297 mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c,
298 mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c,
299 openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c,
300 openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h,
301 xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h,
302 xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h,
303 xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c,
304 xstormy16-opc.h, z8k-opc.h: Regenerated
306 2007-07-04 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
308 * cr16-dis.c (getcinvstring): Add const qualifier to char *
310 (print_insn_cr16): Remove cast to char *.
312 2007-07-03 Nathan Sidwell <nathan@codesourcery.com>
314 * m68k-dis.c (fetch_arg): Add E. Replace length switch with
316 (print_ins_arg): Add j & K operand types.
317 (match_insn_m68k): Check and skip initial '.' arg character.
318 (m68k_scan_mask): Likewise.
319 * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
321 2007-07-02 Alan Modra <amodra@bigpond.net.au>
323 * Makefile.am: Run "make dep-am".
324 * Makefile.in: Regenerate.
325 * aclocal.m4: Regenerate.
326 * config.in: Regenerate.
327 * po/POTFILES.in: Regenerate.
328 * po/opcodes.pot: Regenerate.
330 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
332 * aclocal.m4: Regenerated.
333 * Makefile.in: Likewise.
335 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
337 * i386-reg.tbl: Remove spaces before comments.
339 2007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
341 * cr16-opc.c: New file.
342 * cr16-dis.c: New file.
343 * Makefile.am: Entries for cr16.
344 * Makefile.in: Regenerate.
345 * cofigure.in: Add cr16 target information.
346 * configure : Regenerate.
347 * disassemble.c: Add cr16 target information.
349 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
351 * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
352 (CFILES): Add i386-gen.c.
353 (i386-gen): New rule.
354 (i386-gen.o): Likewise.
355 (i386-tbl.h): Likewise.
357 * Makefile.in: Regenerated.
359 * i386-gen.c: New file.
360 * i386-opc.tbl: Likewise.
361 * i386-reg.tbl: Likewise.
362 * i386-tbl.h: Likewise.
364 * i386-opc.c: Include "i386-tbl.h".
365 (i386_optab): Removed.
366 (i386_regtab): Likewise.
367 (i386_regtab_size): Likewise.
369 2007-06-26 Paul Brook <paul@codesourcery.com>
371 * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
373 2007-06-25 H.J. Lu <hongjiu.lu@intel.com>
375 * i386-opc.h (regKludge): Renamed to ...
378 * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
380 2007-06-23 H.J. Lu <hongjiu.lu@intel.com>
383 * i386-dis.c (EX): Removed.
389 (PREGRP93...PREGRP97): Likewise.
390 (dis386_twobyte): Updated.
391 (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
392 (OP_EX): Remove Intel syntax handling.
394 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
396 * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
398 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
400 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
402 * acinclude.m4: Removed.
404 * Makefile.in: Regenerated.
405 * doc/Makefile.in: Likewise.
406 * aclocal.m4: Likewise.
407 * configure: Likewise.
409 2007-06-05 Paul Brook <paul@codesourcery.com>
411 * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
413 2007-05-24 Steve Ellcey <sje@cup.hp.com>
415 * Makefile.in: Regnerate.
416 * configure: Regenerate.
417 * aclocal.m4: Regenerate.
419 2007-05-18 Alan Modra <amodra@bigpond.net.au>
421 * ppc-dis.c (print_insn_powerpc): Don't skip all operands
422 after setting skip_optional.
424 2007-05-16 Peter Bergner <bergner@vnet.ibm.com>
426 * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
427 (print_insn_powerpc): Use the new operand_value_powerpc and
428 skip_optional_operands functions to omit or print all optional
430 * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
431 (XFL_MASK): Delete L and W bits from the mask.
432 (mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK
433 with XWRA_MASK. Use W.
434 (mtfsf, mtfsf.): Use XFL_L and W.
436 2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
439 * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
441 2007-05-10 H.J. Lu <hongjiu.lu@intel.com>
443 * i386-opc.h (ShortForm): Redefined.
445 (JumpDword): Likewise.
446 (JumpByte): Likewise.
447 (JumpInterSegment): Likewise.
454 (IgnoreSize): Likewise.
455 (DefaultSize): Likewise.
463 (IsString): Likewise.
464 (regKludge): Likewise.
465 (IsPrefix): Likewise.
471 2007-05-07 H.J. Lu <hongjiu.lu@intel.com>
473 * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
474 for some SSE4 instructions.
475 (threebyte_0x3a_uses_DATA_prefix): Likewise.
477 2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
479 * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
481 * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
484 2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
486 * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
487 check data size prefix in 16bit mode.
489 * i386-opc.c (i386_optab): Default crc32 to non-8bit and
492 2007-04-30 Mark Salter <msalter@redhat.com>
494 * frv-desc.c: Regenerate.
495 * frv-desc.h: Regenerate.
497 2007-04-30 Alan Modra <amodra@bigpond.net.au>
500 * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
502 2007-04-27 H.J. Lu <hongjiu.lu@intel.com>
504 * i386-dis.c (modrm): Put reg before rm.
506 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
509 * i386-dis.c (print_displacement): New.
510 (OP_E): Call print_displacement instead of print_operand_value
511 to output displacement when either base or index exist. Print
512 the explicit zero displacement in 16bit mode.
514 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
517 * i386-dis.c (print_insn): Also swap the order of op_riprel
518 when swapping op_index. Break when the RIP relative address
520 (OP_E): Properly handle RIP relative addressing and print the
521 explicit zero displacement for Intel mode.
523 2007-04-27 Alan Modra <amodra@bigpond.net.au>
525 * Makefile.am: Run "make dep-am".
526 * Makefile.in: Regenerate.
527 * ns32k-dis.c: Include sysdep.h first.
529 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
531 * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
533 * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
535 2007-04-24 Nick Clifton <nickc@redhat.com>
537 * arm-dis.c (print_insn): Initialise type.
539 2007-04-24 Alan Modra <amodra@bigpond.net.au>
541 * cgen-types.h: Include bfd_stdint.h, not stdint.h.
542 * Makefile.am: Run "make dep-am".
543 * Makefile.in: Regenerate.
545 2007-04-23 Nathan Sidwell <nathan@codesourcery.com>
547 * m68k-opc.c: Mark mcfisa_c instructions.
549 2007-04-21 Richard Earnshaw <rearnsha@arm.com>
551 * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
552 (thumb_opcodes): Add missing white space in adr.
553 (arm_decode_shift): New parameter, print_shift. Only decode the
554 shift parameter if set. Adjust callers.
555 (print_insn_arm): Support for operand type q with no shift decode.
557 2007-04-21 Alan Modra <amodra@bigpond.net.au>
559 * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
561 (i386_regtab): ..here.
562 * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
564 * ppc-opc.c (powerpc_operands): Delete duplicate entries.
565 (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
566 (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
567 (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
569 2007-04-20 Nathan Sidwell <nathan@codesourcery.com>
571 * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
574 2007-04-20 Alan Modra <amodra@bigpond.net.au>
576 * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
578 * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
579 in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove
580 references to following deleted functions.
581 (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
582 (insert_ds, extract_ds, insert_de, extract_de): Delete.
583 (insert_des, extract_des, insert_li, extract_li): Delete.
584 (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
585 (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
586 (num_powerpc_operands): New constant.
587 (XSPRG_MASK): Remove entire SPRG field.
588 (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
590 2007-04-20 Alan Modra <amodra@bigpond.net.au>
592 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
594 (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
596 2007-04-20 Richard Earnshaw <rearnsha@arm.com>
598 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
601 2007-04-19 Alan Modra <amodra@bigpond.net.au>
603 * Makefile.am: Run "make dep-am".
604 * Makefile.in: Regenerate.
605 * po/POTFILES.in: Regenerate.
607 2007-04-19 Alan Modra <amodra@bigpond.net.au>
609 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
610 db10cyc, db12cyc, db16cyc.
612 2007-04-19 Nathan Froyd <froydnj@codesourcery.com>
614 * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
616 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
618 * i386-dis.c (CRC32_Fixup): New.
619 (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
621 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
622 (threebyte_0x3a_uses_DATA_prefix): Likewise.
623 (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
624 PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
625 (three_byte_table): Likewise.
627 * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
629 * i386-opc.h (CpuSSE4_2): New.
631 (CpuUnknownFlags): Add CpuSSE4_2.
633 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
635 * i386-dis.c (XMM_Fixup): New.
641 (PREGRP39 ... PREGRP85): New.
642 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
643 (threebyte_0x3a_uses_DATA_prefix): Likewise.
644 (prefix_user_table): Add PREGRP39 ... PREGRP85.
645 (three_byte_table): Likewise.
647 (intel_operand_size): Handle dqb_mode, dqd_mode):
651 * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
653 * i386-opc.h (CpuSSE4_1): New.
654 (CpuUnknownFlags): Add CpuSSE4_1.
655 (regKludge): Update comment.
657 2007-04-18 Matthias Klose <doko@ubuntu.com>
659 * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
660 * Makefile.in: Regenerate.
662 2007-04-14 Steve Ellcey <sje@cup.hp.com>
664 * Makefile.am: Add ACLOCAL_AMFLAGS.
665 * Makefile.in: Regenerate.
667 2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
669 * i386-dis.c: Remove trailing white spaces.
670 * i386-opc.c: Likewise.
671 * i386-opc.h: Likewise.
673 2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
676 * i386-dis.c (GRP1a): New.
677 (GRP1b ... GRPPADLCK2): Update index.
678 (dis386): Use GRP1a for entry 0x8f.
679 (mod, rm, reg): Removed. Replaced by ...
683 2007-04-09 Kazu Hirata <kazu@codesourcery.com>
685 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
686 info->print_address_func if longjmp is called.
688 2007-03-29 DJ Delorie <dj@redhat.com>
690 * m32c-desc.c: Regenerate.
691 * m32c-dis.c: Regenerate.
692 * m32c-opc.c: Regenerate.
694 2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
696 * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
697 movq. Remove InvMem from sldt, smsw and str.
699 * i386-opc.h (InvMem): Renamed to ...
700 (RegMem): Update comments.
701 (AnyMem): Remove InvMem.
703 2007-03-27 Paul Brook <paul@codesourcery.com>
705 * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
707 2007-03-24 Paul Brook <paul@codesourcery.com>
709 * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
710 (print_insn_coprocessor): Handle %<bitfield>x.
712 2007-03-24 Paul Brook <paul@codesourcery.com>
713 Mark Shinwell <shinwell@codesourcery.com>
715 * arm-dis.c (arm_opcodes): Print SRS base register.
717 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
719 * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
721 * i386-opc.c (i386_optab): Add rex.wrxb.
723 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
725 * i386-dis.c (REX_MODE64): Remove definition.
726 (REX_EXTX): Likewise.
727 (REX_EXTY): Likewise.
728 (REX_EXTZ): Likewise.
729 (USED_REX): Use REX_OPCODE instead of 0x40.
730 Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
731 REX_R, REX_X and REX_B respectively.
733 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
736 * i386-dis.c (PREGRP38): New.
737 (dis386): Use PREGRP38 for 0x90.
738 (prefix_user_table): Add PREGRP38.
739 (print_insn): Set uses_REPZ_prefix to 1 for pause.
740 (NOP_Fixup1): Properly handle REX bits.
741 (NOP_Fixup2): Likewise.
743 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
744 Allow register with nop.
746 2007-03-20 DJ Delorie <dj@redhat.com>
748 * m32c-asm.c: Regenerate.
749 * m32c-desc.c: Regenerate.
750 * m32c-desc.h: Regenerate.
751 * m32c-dis.h: Regenerate.
752 * m32c-ibld.c: Regenerate.
753 * m32c-opc.c: Regenerate.
754 * m32c-opc.h: Regenerate.
756 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
758 * i386-opc.c: Include "libiberty.h".
759 (i386_regtab): Remove the last entry.
760 (i386_regtab_size): New.
761 (i386_float_regtab_size): Likewise.
763 * i386-opc.h (i386_regtab_size): New.
764 (i386_float_regtab_size): Likewise.
766 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
768 * Makefile.am (CFILES): Add i386-opc.c.
769 (ALL_MACHINES): Add i386-opc.lo.
771 * Makefile.in: Regenerated.
773 * configure.in: Add i386-opc.lo for bfd_i386_arch.
774 * configure: Regenerated.
776 * i386-dis.c: Include "opcode/i386.h".
777 (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
778 (FWAIT_OPCODE): Remove definition.
779 (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
780 (MAX_OPERANDS): Remove definition.
782 * i386-opc.c: New file.
783 * i386-opc.h: Likewise.
785 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
787 * Makefile.in: Regenerated.
789 2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
791 * i386-dis.c (OP_Rd): Renamed to ...
796 2007-03-08 Alan Modra <amodra@bigpond.net.au>
798 * fr30-asm.c: Regenerate.
799 * frv-asm.c: Regenerate.
800 * ip2k-asm.c: Regenerate.
801 * iq2000-asm.c: Regenerate.
802 * m32c-asm.c: Regenerate.
803 * m32r-asm.c: Regenerate.
804 * m32r-dis.c: Regenerate.
805 * mt-asm.c: Regenerate.
806 * mt-ibld.c: Regenerate.
807 * mt-opc.c: Regenerate.
808 * openrisc-asm.c: Regenerate.
809 * xc16x-asm.c: Regenerate.
810 * xstormy16-asm.c: Regenerate.
812 * Makefile.am: Run "make dep-am".
813 * Makefile.in: Regenerate.
814 * po/POTFILES.in: Regenerate.
816 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
818 * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
819 INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
820 instruction formats added.
821 (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
822 MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
824 * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
826 * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
827 (main): z9-ec cpu type option added.
828 * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
830 2007-02-22 DJ Delorie <dj@redhat.com>
832 * s390-opc.c (INSTR_SS_L2RDRD): New.
833 (MASK_SS_L2RDRD): New.
834 * s390-opc.txt (pka): Use it.
836 2007-02-20 Thiemo Seufer <ths@mips.com>
837 Chao-Ying Fu <fu@mips.com>
839 * mips-dis.c (mips_arch_choices): Add DSP R2 support.
840 (print_insn_args): Add support for balign instruction.
841 * mips-opc.c (D33): New shortcut for DSP R2 instructions.
842 (mips_builtin_opcodes): Add DSP R2 instructions.
844 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
846 * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
847 (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
848 * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
849 cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
851 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
853 * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
854 * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
855 (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
858 2007-02-16 Nick Clifton <nickc@redhat.com>
861 * avr-dis.c (comment_start): New variable, contains the prefix to
862 use when printing addresses in comments.
863 (print_insn_avr): Set comment_start to an empty space if there is
864 no symbol table available as the generic address printing code
865 will prefix the numeric value of the address with 0x.
867 2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
869 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
872 2007-02-05 Dave Brolley <brolley@redhat.com>
873 Richard Sandiford <rsandifo@redhat.com>
874 DJ Delorie <dj@redhat.com>
875 Graydon Hoare <graydon@redhat.com>
876 Frank Ch. Eigler <fche@redhat.com>
877 Ben Elliston <bje@redhat.com>
879 * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
880 (CFILES): Add mep-*.c
881 (ALL_MACHINES): Add mep-*.lo.
882 (CLEANFILES): Add stamp-mep.
883 (CGEN_CPUS): Add mep.
884 (MEP_DEPS): New variable.
885 (mep-*): New targets.
886 * configure.in: Handle bfd_mep_arch.
887 * disassemble.c (ARCH_mep): New macro.
888 (disassembler): Handle bfd_arch_mep.
889 (disassemble_init_for_target): Likewise.
890 * mep-*: New files for Toshiba Media Processor (MeP).
891 * Makefile.in: Regenerated.
892 * configure: Regenerated.
894 2007-02-05 H.J. Lu <hongjiu.lu@intel.com>
896 * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
897 wrap around within the same segment in 16bit mode.
899 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
901 * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
904 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
906 * avr-dis.c (avr_operand): Correct PR number in comment.
908 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
910 * disassemble.c (disassembler_usage): Call
911 print_i386_disassembler_options for i386 disassembler.
913 * i386-dis.c (print_i386_disassembler_options): New.
914 (print_insn): Support the new addr64 option.
916 2007-02-02 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
918 * ppc-dis.c (powerpc_dialect): Handle ppc440.
919 * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
922 2007-02-02 Alan Modra <amodra@bigpond.net.au>
924 * ppc-opc.c (insert_bdm): -Many comment.
925 (valid_bo): Add "extract" param. Accept both powerpc and power4
926 BO fields when disassembling with -Many.
927 (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
929 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
931 * m68k-opc.c (m68k_opcodes): Replace cpu32 with
932 cpu32 | fido_a except on tbl instructions.
934 2007-01-04 Paul Brook <paul@codesourcery.com>
936 * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
938 2007-01-04 Andreas Schwab <schwab@suse.de>
940 * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
942 2007-01-04 Julian Brown <julian@codesourcery.com>
944 * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
947 For older changes see ChangeLog-2006
953 version-control: never