gas/testsuite/
[binutils.git] / opcodes / ChangeLog
blob2bb6388be4bef5860332dce1e76765dd0f841038
1 2007-08-31  H.J. Lu  <hongjiu.lu@intel.com>
3         * i386-dis.c (SVME_Fixup): Removed.
4         (OPC_EXT_39): New.
5         (OPC_EXT_RM_6): Likewise.
6         (grps): Use OPC_EXT_39.
7         (opc_ext_table): Add OPC_EXT_39.
8         (opc_ext_rm_table): Add OPC_EXT_RM_6.
10         * i386-opc.tbl: Correct SVME instructions to take register
11         operand only.
12         * i386-tbl.h: Regenerated.
14 2007-08-31  H.J. Lu  <hongjiu.lu@intel.com>
16         * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
17         * Makefile.in: Regenerated.
19         * configure.in (AC_GNU_SOURCE): Added.
20         (AC_PROG_CC): Moved before AC_GNU_SOURCE.
21         (AC_CHECK_DECLS): Add stpcpy.
22         * configure: Regenerated.
23         * config.in: Likewise.
25         * i386-dis.c: Include "sysdep.h" before "dis-asm.h".
27         * sysdep.h (stpcpy): New.
29 2007-08-30  H.J. Lu  <hongjiu.lu@intel.com>
31         * i386-dis.c (INVLPG_Fixup): Removed.
32         (OPC_EXT_38): New.
33         (OPC_EXT_RM_5): Likewise.
34         (grps): Use OPC_EXT_38.
35         (opc_ext_table): Add OPC_EXT_38.
36         (opc_ext_rm_table): Add OPC_EXT_RM_5.
38 2007-08-29  H.J. Lu  <hongjiu.lu@intel.com>
40         * i386-dis.c (SIMD_Fixup): Removed.
41         (OPC_EXT_34...OPC_EXT_37): New.
42         (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
43         (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
44         (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
46 2007-08-29  H.J. Lu  <hongjiu.lu@intel.com>
48         * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
49         (dis386): Use OPC_EXT_0...OPC_EXT_2.
50         (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
51         (grps): Updated to use OPC_EXT_6...OPC_EXT_31.
52         (prefix_user_table): Use OPC_EXT_32.
53         (x86_64_table): Use OPC_EXT_33.
54         (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
56 2007-08-29  H.J. Lu  <hongjiu.lu@intel.com>
58         * i386-dis.c (prefix_user_table): Fix comment.
60 2007-08-29  H.J. Lu  <hongjiu.lu@intel.com>
62         * i386-dis.c (OP_Skip_MODRM): New.
63         (OP_Monitor): Likewise.
64         (OP_Mwait): Likewise.
65         (Mb): Likewise.
66         (Skip_MODRM): Likewise.
67         (USE_OPC_EXT_TABLE): Likewise.
68         (USE_OPC_EXT_RM_TABLE): Likewise.
69         (PREGRP98...PREGRP100): Likewise.
70         (OPC_EXT_0...OPC_EXT_24): Likewise.
71         (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
72         (lock_prefix): Likewise.
73         (data_prefix): Likewise.
74         (addr_prefix): Likewise.
75         (repz_prefix): Likewise.
76         (repnz_prefix): Likewise.
77         (opc_ext_table): Likewise.
78         (opc_ext_rm_table): Likewise.
79         (get_valid_dis386): Likewise.
80         (OP_VMX): Removed.
81         (OP_0fae): Likewise.
82         (PNI_Fixup): Likewise.
83         (VMX_Fixup): Likewise.
84         (VM): Likewise.
85         (twobyte_uses_DATA_prefix): Likewise.
86         (twobyte_uses_REPNZ_prefix): Likewise.
87         (twobyte_uses_REPZ_prefix): Likewise.
88         (threebyte_0x38_uses_DATA_prefix): Likewise.
89         (threebyte_0x38_uses_REPNZ_prefix): Likewise.
90         (threebyte_0x38_uses_REPZ_prefix): Likewise.
91         (threebyte_0x3a_uses_DATA_prefix): Likewise.
92         (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
93         (threebyte_0x3a_uses_REPZ_prefix): Likewise.
94         (grps): Use OPC_EXT_0...OPC_EXT_24.
95         (prefix_user_table): Add PREGRP98...PREGRP100.
96         (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
97         uses_REPNZ_prefix and uses_REPZ_prefix.  Initialize
98         repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
99         data_prefix based on prefixes.  Call get_valid_dis386 to
100         get a pointer to the valid dis386.  Print out prefixes if
101         they aren't NULL.
102         (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
103         (REP_Fixup): Set repz_prefix to "rep " when seeing
104         PREFIX_REPZ.
106 2007-08-28  Daniel Jacobowitz  <dan@codesourcery.com>
108         * po/nl.po: Updated translation.
110 2007-08-28  H.J. Lu  <hongjiu.lu@intel.com>
112         * i386-dis.c (Md): New.
113         (grps): Use 0 on invlpg.  Use M on fxsave and fxrstor.  Use
114         Md on ldmxcsr and stmxcsr.  Use b_mode on clflush.
115         (OP_0fae): Clear bytemode for sfence.
117 2007-08-22  Ben Elliston  <bje@au.ibm.com>
119         * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
120         (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
121         (PPCPS): Likewise.
122         (powerpc_opcodes): Add all pair singles instructions.
123         * ppc-dis.c (powerpc_dialect): Handle "ppcps".
124         (print_ppc_disassembler_options): Document -Mppcps.
126 2007-08-21  Andreas Krebbel  <krebbel1@de.ibm.com>
128         * s390-mkopc.c (struct s390_cond_ext_format): New global struct.
129         (s390_cond_ext_format): New global variable.
130         (expandConditionalJump): New function.
131         (main): Invoke expandConditionalJump for mnemonics containing '*'.      
132         * s390-opc.txt: Replace mnemonics with conditional
133         mask extensions with instructions using the newly introduced '*' tag.
135 2007-08-17  Alan Modra  <amodra@bigpond.net.au>
137         * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
139 2007-08-10  Nick Clifton  <nickc@redhat.com>
141         * po/fi.po: Updated Finnish translation.
142         * po/ga.po: Updated Irish translation.
143         * po/vi.po: Updated Vietnamese translation.
145 2007-08-09  H.J. Lu  <hongjiu.lu@intel.com>
147         * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
148         pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
149         * i386-tbl.h: Regenerated.
151 2007-08-03  James E. Wilson  <wilson@specifix.com>
153         * ia64-gen.c: (main): Add missing newline to copyright message.
154         * ia64-ic.tbl (fp-non-arith): Add xmpy.
155         * ia64-asmtab.c: Regenerate.
156         
157 2007-08-01  Michael Snyder  <msnyder@access-company.com>
159         * i386-dis.c (print_insn): Guard against NULL.
161 2007-07-29  H.J. Lu  <hongjiu.lu@intel.com>
163         PR binutils/4834
164         * i386-dis.c (EXw): New.
165         (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
166         instructions when appropriated.
168 2007-07-28  H.J. Lu  <hongjiu.lu@intel.com>
170         PR binutils/4834
171         * i386-dis.c (Eq): New.
172         (EMC): Renamed to ...
173         (EMCq): This.  Use q_mode instead of v_mode.
174         (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
175         when appropriated.
177 2007-07-28  H.J. Lu  <hongjiu.lu@intel.com>
179         * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
180         (prefix_user_table): Likewise.  Use EXq instead of EXx on
181         "movq".
183 2007-07-27  Nathan Sidwell  <nathan@codesourcery.com>
185         * ppc-opc (PPC7450): New.
186         (powerpc_opcodes): Use it in dcba.
188 2007-07-24  H.J. Lu  <hongjiu.lu@intel.com>
190         * i386-gen.c (main): Print a newline after copyright notice.
192 2007-07-19  Nick Clifton  <nickc@redhat.com>
194         PR binutils/4801
195         * maxq-dis.c (get_reg_name): Fix the scan of the
196         mem_access_syntax_table.
198 2007-07-16  H.J. Lu  <hongjiu.lu@intel.com>
200         * i386-dis.c (EMq): Removed.
201         (EMx): New.
202         (prefix_user_table): Replace EMq with EMx.
204 2007-07-16  Nick Clifton  <nickc@redhat.com>
206         * po/nl.po: Updated translation.
208 2007-07-12  Nick Clifton  <nickc@redhat.com>
210         * po/vi.po: Updated translation.
211         * po/nl.po: Updated translation.
213 2007-07-06  Mark Kettenis  <kettenis@gnu.org>
214             H.J. Lu  <hongjiu.lu@intel.com>
216         * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
217         (ia64-asmtab.c): Likewise.
218         * Makefile.in: Regenerate.
220 2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
222         * aclocal.m4: Regenerated.
224 2007-07-04  Nick Clifton  <nickc@redhat.com>
226         * alpha-dis.c: Update copyright notice to refer to GPLv3.
227         * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h,
228         arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c,
229         cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in,
230         cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c,
231         cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c,
232         d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c,
233         dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c,
234         h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c,
235         i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c,
236         ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c,
237         ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c,
238         ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c,
239         m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c,
240         m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c,
241         mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c,
242         mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c,
243         or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c,
244         ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c,
245         score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h,
246         sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c,
247         spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c,
248         tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c,
249         vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c,
250         z8k-dis.c, z8kgen.c: Likewise.
251         * i386-opc.tbl, i386-reg.tbl: Add copyright notice.
252         * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h,
253         fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c,
254         frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c,
255         frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c,
256         ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h,
257         iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c,
258         iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c,
259         m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c,
260         m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
261         m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c,
262         mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c,
263         mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c,
264         mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c,
265         openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c,
266         openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h,
267         xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h,
268         xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h,
269         xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c,
270         xstormy16-opc.h, z8k-opc.h: Regenerated
272 2007-07-04  M R Swami Reddy  <MR.Swami.Reddy@nsc.com>
274         * cr16-dis.c (getcinvstring): Add const qualifier to char *
275         parameter.
276         (print_insn_cr16): Remove cast to char *.
278 2007-07-03  Nathan Sidwell  <nathan@codesourcery.com>
280         * m68k-dis.c (fetch_arg): Add E.  Replace length switch with
281         direct masking.
282         (print_ins_arg): Add j & K operand types.
283         (match_insn_m68k): Check and skip initial '.' arg character.
284         (m68k_scan_mask): Likewise.
285         * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
287 2007-07-02  Alan Modra  <amodra@bigpond.net.au>
289         * Makefile.am: Run "make dep-am".
290         * Makefile.in: Regenerate.
291         * aclocal.m4: Regenerate.
292         * config.in: Regenerate.
293         * po/POTFILES.in: Regenerate.
294         * po/opcodes.pot: Regenerate.
296 2007-06-30  H.J. Lu  <hongjiu.lu@intel.com>
298         * aclocal.m4: Regenerated.
299         * Makefile.in: Likewise.
301 2007-06-29  H.J. Lu  <hongjiu.lu@intel.com>
303         * i386-reg.tbl: Remove spaces before comments.
305 2007-06-29  M R Swami Reddy  <MR.Swami.Reddy@nsc.com>
307         * cr16-opc.c: New file.
308         * cr16-dis.c: New file.
309         * Makefile.am: Entries for cr16.
310         * Makefile.in: Regenerate.
311         * cofigure.in: Add cr16 target information.
312         * configure  : Regenerate.
313         * disassemble.c: Add cr16 target information.
315 2007-06-28  H.J. Lu  <hongjiu.lu@intel.com>
317         * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
318         (CFILES): Add i386-gen.c.
319         (i386-gen): New rule.
320         (i386-gen.o): Likewise.
321         (i386-tbl.h): Likewise.
322         Run "make dep-am".
323         * Makefile.in: Regenerated.
325         * i386-gen.c: New file.
326         * i386-opc.tbl: Likewise.
327         * i386-reg.tbl: Likewise.
328         * i386-tbl.h: Likewise.
330         * i386-opc.c: Include "i386-tbl.h".
331         (i386_optab): Removed.
332         (i386_regtab): Likewise.
333         (i386_regtab_size): Likewise.
335 2007-06-26  Paul Brook  <paul@codesourcery.com>
337         * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
339 2007-06-25  H.J. Lu  <hongjiu.lu@intel.com>
341         * i386-opc.h (regKludge): Renamed to ...
342         (RegKludge): This.
344         * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
346 2007-06-23  H.J. Lu  <hongjiu.lu@intel.com>
348         PR binutils/4667
349         * i386-dis.c (EX): Removed.
350         (EMd): New.
351         (EMq): Likewise.
352         (EXd): Likewise.
353         (EXq): Likewise.
354         (EXx): Likewise.
355         (PREGRP93...PREGRP97): Likewise.
356         (dis386_twobyte): Updated.
357         (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
358         (OP_EX): Remove Intel syntax handling.
360 2007-06-18  Nathan Sidwell  <nathan@codesourcery.com>
362         * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
364 2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>
366         * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
368         * acinclude.m4: Removed.
370         * Makefile.in: Regenerated.
371         * doc/Makefile.in: Likewise.
372         * aclocal.m4: Likewise.
373         * configure: Likewise.
375 2007-06-05  Paul Brook  <paul@codesourcery.com>
377         * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
379 2007-05-24  Steve Ellcey  <sje@cup.hp.com>
381         * Makefile.in: Regnerate.
382         * configure: Regenerate.
383         * aclocal.m4: Regenerate.
385 2007-05-18  Alan Modra  <amodra@bigpond.net.au>
387         * ppc-dis.c (print_insn_powerpc): Don't skip all operands
388         after setting skip_optional.
390 2007-05-16  Peter Bergner  <bergner@vnet.ibm.com>
392         * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
393         (print_insn_powerpc): Use the new operand_value_powerpc and
394         skip_optional_operands functions to omit or print all optional
395         operands as a group.
396         * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
397         (XFL_MASK): Delete L and W bits from the mask.
398         (mtfsfi, mtfsfi.): Replace use of BF with BFF.  Relpace use of XRA_MASK
399         with XWRA_MASK.  Use W.
400         (mtfsf, mtfsf.): Use XFL_L and W.
402 2007-05-14  H.J. Lu  <hongjiu.lu@intel.com>
404         PR binutils/4502
405         * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
407 2007-05-10  H.J. Lu  <hongjiu.lu@intel.com>
409         * i386-opc.h (ShortForm): Redefined.
410         (Jump): Likewise.
411         (JumpDword): Likewise.
412         (JumpByte): Likewise.
413         (JumpInterSegment): Likewise.
414         (FloatMF): Likewise.
415         (FloatR): Likewise.
416         (FloatD): Likewise.
417         (Size16): Likewise.
418         (Size32): Likewise.
419         (Size64): Likewise.
420         (IgnoreSize): Likewise.
421         (DefaultSize): Likewise.
422         (No_bSuf): Likewise.
423         (No_wSuf): Likewise.
424         (No_lSuf): Likewise.
425         (No_sSuf): Likewise.
426         (No_qSuf): Likewise.
427         (No_xSuf): Likewise.
428         (FWait): Likewise.
429         (IsString): Likewise.
430         (regKludge): Likewise.
431         (IsPrefix): Likewise.
432         (ImmExt): Likewise.
433         (NoRex64): Likewise.
434         (Rex64): Likewise.
435         (Ugh): Likewise.
437 2007-05-07  H.J. Lu  <hongjiu.lu@intel.com>
439         * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
440         for some SSE4 instructions.
441         (threebyte_0x3a_uses_DATA_prefix): Likewise.
443 2007-05-03  H.J. Lu  <hongjiu.lu@intel.com>
445         * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
447         * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
448         type for crc32.
450 2007-05-01  H.J. Lu  <hongjiu.lu@intel.com>
452         * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
453         check data size prefix in 16bit mode.
455         * i386-opc.c (i386_optab): Default crc32 to non-8bit and
456         support Intel mode.
458 2007-04-30  Mark Salter  <msalter@redhat.com>
460         * frv-desc.c: Regenerate.
461         * frv-desc.h: Regenerate.
463 2007-04-30  Alan Modra  <amodra@bigpond.net.au>
465         PR 4436
466         * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
468 2007-04-27  H.J. Lu  <hongjiu.lu@intel.com>
470         * i386-dis.c (modrm): Put reg before rm.
472 2007-04-26  H.J. Lu  <hongjiu.lu@intel.com>
474         PR binutils/4430
475         * i386-dis.c (print_displacement): New.
476         (OP_E): Call print_displacement instead of print_operand_value
477         to output displacement when either base or index exist.  Print
478         the explicit zero displacement in 16bit mode.
480 2007-04-26  H.J. Lu  <hongjiu.lu@intel.com>
482         PR binutils/4429
483         * i386-dis.c (print_insn): Also swap the order of op_riprel
484         when swapping op_index.  Break when the RIP relative address
485         is printed.
486         (OP_E): Properly handle RIP relative addressing and print the
487         explicit zero displacement for Intel mode.
489 2007-04-27  Alan Modra  <amodra@bigpond.net.au>
491         * Makefile.am: Run "make dep-am".
492         * Makefile.in: Regenerate.
493         * ns32k-dis.c: Include sysdep.h first.
495 2007-04-24  Andreas Krebbel  <krebbel1@de.ibm.com>
497         * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
498         opcode.
499         * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
501 2007-04-24  Nick Clifton  <nickc@redhat.com>
503         * arm-dis.c (print_insn): Initialise type.
505 2007-04-24  Alan Modra  <amodra@bigpond.net.au>
507         * cgen-types.h: Include bfd_stdint.h, not stdint.h.
508         * Makefile.am: Run "make dep-am".
509         * Makefile.in: Regenerate.
511 2007-04-23  Nathan Sidwell  <nathan@codesourcery.com>
513         * m68k-opc.c: Mark mcfisa_c instructions.
515 2007-04-21  Richard Earnshaw  <rearnsha@arm.com>
517         * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
518         (thumb_opcodes): Add missing white space in adr.
519         (arm_decode_shift): New parameter, print_shift.  Only decode the
520         shift parameter if set.  Adjust callers.
521         (print_insn_arm): Support for operand type q with no shift decode.
523 2007-04-21  Alan Modra  <amodra@bigpond.net.au>
525         * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
526         Move contents to..
527         (i386_regtab): ..here.
528         * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
530         * ppc-opc.c (powerpc_operands): Delete duplicate entries.
531         (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
532         (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
533         (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
535 2007-04-20  Nathan Sidwell  <nathan@codesourcery.com>
537         * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
538         rambar1.
540 2007-04-20  Alan Modra  <amodra@bigpond.net.au>
542         * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
543         change.
544         * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
545         in all entries.  Add PPC_OPERAND_SIGNED to DE entry.  Remove
546         references to following deleted functions.
547         (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
548         (insert_ds, extract_ds, insert_de, extract_de): Delete.
549         (insert_des, extract_des, insert_li, extract_li): Delete.
550         (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
551         (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
552         (num_powerpc_operands): New constant.
553         (XSPRG_MASK): Remove entire SPRG field.
554         (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
556 2007-04-20  Alan Modra  <amodra@bigpond.net.au>
558         * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
559         (Z2_MASK): Define.
560         (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
562 2007-04-20  Richard Earnshaw  <rearnsha@arm.com>
564         * arm-dis.c (print_insn): Only look for a mapping symbol in the section
565         being disassembled.
567 2007-04-19  Alan Modra  <amodra@bigpond.net.au>
569         * Makefile.am: Run "make dep-am".
570         * Makefile.in: Regenerate.
571         * po/POTFILES.in: Regenerate.
573 2007-04-19  Alan Modra  <amodra@bigpond.net.au>
575         * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
576         db10cyc, db12cyc, db16cyc.
578 2007-04-19  Nathan Froyd <froydnj@codesourcery.com>
580         * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
582 2007-04-18  H.J. Lu <hongjiu.lu@intel.com>
584         * i386-dis.c (CRC32_Fixup): New.
585         (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
586          PREGRP91): New.
587         (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
588         (threebyte_0x3a_uses_DATA_prefix): Likewise.
589         (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
590         PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
591         (three_byte_table): Likewise.
593         * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
595         * i386-opc.h (CpuSSE4_2): New.
596         (CpuSSE4): Likewise.
597         (CpuUnknownFlags): Add CpuSSE4_2.
599 2007-04-18  H.J. Lu <hongjiu.lu@intel.com>
601         * i386-dis.c (XMM_Fixup): New.
602         (Edqb): New.
603         (Edqd): New.
604         (XMM0): New.
605         (dqb_mode): New.
606         (dqd_mode): New.
607         (PREGRP39 ... PREGRP85): New.
608         (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
609         (threebyte_0x3a_uses_DATA_prefix): Likewise.
610         (prefix_user_table): Add PREGRP39 ... PREGRP85.
611         (three_byte_table): Likewise.
612         (putop): Handle 'K'.
613         (intel_operand_size): Handle dqb_mode, dqd_mode):
614         (OP_E): Likewise.
615         (OP_G): Likewise.
617         * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
619         * i386-opc.h (CpuSSE4_1): New.
620         (CpuUnknownFlags): Add CpuSSE4_1.
621         (regKludge): Update comment.
623 2007-04-18  Matthias Klose  <doko@ubuntu.com>
625         * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
626         * Makefile.in: Regenerate.
628 2007-04-14  Steve Ellcey  <sje@cup.hp.com>
630         * Makefile.am: Add ACLOCAL_AMFLAGS.
631         * Makefile.in: Regenerate.
633 2007-04-13  H.J. Lu  <hongjiu.lu@intel.com>
635         * i386-dis.c: Remove trailing white spaces.
636         * i386-opc.c: Likewise.
637         * i386-opc.h: Likewise.
639 2007-04-11  H.J. Lu  <hongjiu.lu@intel.com>
641         PR binutils/4333
642         * i386-dis.c (GRP1a): New.
643         (GRP1b ... GRPPADLCK2): Update index.
644         (dis386): Use GRP1a for entry 0x8f.
645         (mod, rm, reg): Removed. Replaced by ...
646         (modrm): This.
647         (grps): Add GRP1a.
649 2007-04-09  Kazu Hirata  <kazu@codesourcery.com>
651         * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
652         info->print_address_func if longjmp is called.
654 2007-03-29  DJ Delorie  <dj@redhat.com>
656         * m32c-desc.c: Regenerate.
657         * m32c-dis.c: Regenerate.
658         * m32c-opc.c: Regenerate.
660 2007-03-28  H.J. Lu  <hongjiu.lu@intel.com>
662         * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
663         movq.  Remove InvMem from sldt, smsw and str.
665         * i386-opc.h (InvMem): Renamed to ...
666         (RegMem): Update comments.
667         (AnyMem): Remove InvMem.
669 2007-03-27  Paul Brook  <paul@codesourcery.com>
671         * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
673 2007-03-24  Paul Brook  <paul@codesourcery.com>
675         * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
676         (print_insn_coprocessor): Handle %<bitfield>x.
678 2007-03-24  Paul Brook  <paul@codesourcery.com>
679             Mark Shinwell  <shinwell@codesourcery.com>
681         * arm-dis.c (arm_opcodes): Print SRS base register.
683 2007-03-23  H.J. Lu  <hongjiu.lu@intel.com>
685         * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
687         * i386-opc.c (i386_optab): Add rex.wrxb.
689 2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
691         * i386-dis.c (REX_MODE64): Remove definition.
692         (REX_EXTX): Likewise.
693         (REX_EXTY): Likewise.
694         (REX_EXTZ): Likewise.
695         (USED_REX): Use REX_OPCODE instead of 0x40.
696         Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
697         REX_R, REX_X and REX_B respectively.
699 2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
701         PR binutils/4218
702         * i386-dis.c (PREGRP38): New.
703         (dis386): Use PREGRP38 for 0x90.
704         (prefix_user_table): Add PREGRP38.
705         (print_insn): Set uses_REPZ_prefix to 1 for pause.
706         (NOP_Fixup1): Properly handle REX bits.
707         (NOP_Fixup2): Likewise.
709         * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
710         Allow register with nop.
712 2007-03-20  DJ Delorie  <dj@redhat.com>
714         * m32c-asm.c: Regenerate.
715         * m32c-desc.c: Regenerate.
716         * m32c-desc.h: Regenerate.
717         * m32c-dis.h: Regenerate.
718         * m32c-ibld.c: Regenerate.
719         * m32c-opc.c: Regenerate.
720         * m32c-opc.h: Regenerate.
722 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
724         * i386-opc.c: Include "libiberty.h".
725         (i386_regtab): Remove the last entry.
726         (i386_regtab_size): New.
727         (i386_float_regtab_size): Likewise.
729         * i386-opc.h (i386_regtab_size): New.
730         (i386_float_regtab_size): Likewise.
732 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
734         * Makefile.am (CFILES): Add i386-opc.c.
735         (ALL_MACHINES): Add i386-opc.lo.
736         Run "make dep-am".
737         * Makefile.in: Regenerated.
739         * configure.in: Add i386-opc.lo for bfd_i386_arch.
740         * configure: Regenerated.
742         * i386-dis.c: Include "opcode/i386.h".
743         (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
744         (FWAIT_OPCODE): Remove definition.
745         (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
746         (MAX_OPERANDS): Remove definition.
748         * i386-opc.c: New file.
749         * i386-opc.h: Likewise.
751 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
753         * Makefile.in: Regenerated.
755 2007-03-09  H.J. Lu  <hongjiu.lu@intel.com>
757         * i386-dis.c (OP_Rd): Renamed to ...
758         (OP_R): This.
759         (Rd): Updated.
760         (Rm): Likewise.
762 2007-03-08  Alan Modra  <amodra@bigpond.net.au>
764         * fr30-asm.c: Regenerate.
765         * frv-asm.c: Regenerate.
766         * ip2k-asm.c: Regenerate.
767         * iq2000-asm.c: Regenerate.
768         * m32c-asm.c: Regenerate.
769         * m32r-asm.c: Regenerate.
770         * m32r-dis.c: Regenerate.
771         * mt-asm.c: Regenerate.
772         * mt-ibld.c: Regenerate.
773         * mt-opc.c: Regenerate.
774         * openrisc-asm.c: Regenerate.
775         * xc16x-asm.c: Regenerate.
776         * xstormy16-asm.c: Regenerate.
778         * Makefile.am: Run "make dep-am".
779         * Makefile.in: Regenerate.
780         * po/POTFILES.in: Regenerate.
782 2007-03-06  Andreas Krebbel  <krebbel1@de.ibm.com>
784         * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
785         INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
786         instruction formats added.
787         (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
788         MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
789         masks added.
790         * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
791         instructions added.
792         * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
793         (main): z9-ec cpu type option added.
794         * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
796 2007-02-22  DJ Delorie  <dj@redhat.com>
798         * s390-opc.c (INSTR_SS_L2RDRD): New.
799         (MASK_SS_L2RDRD): New.
800         * s390-opc.txt (pka): Use it.
802 2007-02-20  Thiemo Seufer  <ths@mips.com>
803             Chao-Ying Fu  <fu@mips.com>
805         * mips-dis.c (mips_arch_choices): Add DSP R2 support.
806         (print_insn_args): Add support for balign instruction.
807         * mips-opc.c (D33): New shortcut for DSP R2 instructions.
808         (mips_builtin_opcodes): Add DSP R2 instructions.
810 2007-02-19  Andreas Krebbel  <krebbel1@de.ibm.com>
812         * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
813         (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
814         * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
815         cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
817 2007-02-19  Andreas Krebbel  <krebbel1@de.ibm.com>
819         * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
820         * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
821         (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
822         and sfpc.
824 2007-02-16  Nick Clifton  <nickc@redhat.com>
826         PR binutils/4045
827         * avr-dis.c (comment_start): New variable, contains the prefix to
828         use when printing addresses in comments.
829         (print_insn_avr): Set comment_start to an empty space if there is
830         no symbol table available as the generic address printing code
831         will prefix the numeric value of the address with 0x.
833 2007-02-13  H.J. Lu  <hongjiu.lu@intel.com>
835          * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
836          in struct dis386.
838 2007-02-05  Dave Brolley  <brolley@redhat.com>
839             Richard Sandiford  <rsandifo@redhat.com>
840             DJ Delorie  <dj@redhat.com>
841             Graydon Hoare  <graydon@redhat.com>
842             Frank Ch. Eigler  <fche@redhat.com>
843             Ben Elliston  <bje@redhat.com>
845         * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
846         (CFILES): Add mep-*.c
847         (ALL_MACHINES): Add mep-*.lo.
848         (CLEANFILES): Add stamp-mep.
849         (CGEN_CPUS): Add mep.
850         (MEP_DEPS): New variable.
851         (mep-*): New targets.
852         * configure.in: Handle bfd_mep_arch.
853         * disassemble.c (ARCH_mep): New macro.
854         (disassembler): Handle bfd_arch_mep.
855         (disassemble_init_for_target): Likewise.
856         * mep-*: New files for Toshiba Media Processor (MeP).
857         * Makefile.in: Regenerated.
858         * configure: Regenerated.
860 2007-02-05  H.J. Lu  <hongjiu.lu@intel.com>
862         * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
863         wrap around within the same segment in 16bit mode.
865 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
867         * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
868         prefix.
870 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
872         * avr-dis.c (avr_operand): Correct PR number in comment.
874 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
876         * disassemble.c (disassembler_usage): Call
877         print_i386_disassembler_options for i386 disassembler.
879         * i386-dis.c (print_i386_disassembler_options): New.
880         (print_insn): Support the new addr64 option.
882 2007-02-02  Hiroki Kaminaga  <kaminaga@sm.sony.co.jp>
884         * ppc-dis.c (powerpc_dialect): Handle ppc440.
885         * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
886         be used.
888 2007-02-02  Alan Modra  <amodra@bigpond.net.au>
890         * ppc-opc.c (insert_bdm): -Many comment.
891         (valid_bo): Add "extract" param.  Accept both powerpc and power4
892         BO fields when disassembling with -Many.
893         (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
895 2007-01-08  Kazu Hirata  <kazu@codesourcery.com>
897         * m68k-opc.c (m68k_opcodes): Replace cpu32 with
898         cpu32 | fido_a except on tbl instructions.
900 2007-01-04  Paul Brook  <paul@codesourcery.com>
902         * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
904 2007-01-04  Andreas Schwab  <schwab@suse.de>
906         * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
908 2007-01-04  Julian Brown  <julian@codesourcery.com>
910         * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
911         vqrshl instructions.
913 For older changes see ChangeLog-2006
915 Local Variables:
916 mode: change-log
917 left-margin: 8
918 fill-column: 74
919 version-control: never
920 End: