2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
[binutils.git] / opcodes / ChangeLog
blob86a079e663c08bb705a736019fb2e66d568eefb2
1 2007-09-06  H.J. Lu  <hongjiu.lu@intel.com>
3         * i386-gen.c (next_field): Updated to take a separator.
4         (process_i386_opcodes): Updated.
5         (process_i386_registers): Likewise.
7 2007-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9         * i386-gen.c (table): Moved ...
10         (main): Here.  Call process_copyright to output copyright.
11         (process_copyright): New.
12         (process_i386_opcodes): Take FILE *table.
13         (process_i386_registers): Likewise.
15 2007-09-06  H.J. Lu  <hongjiu.lu@intel.com>
17         * i386-gen.c (table): New.
18         (process_i386_opcodes): Report errno when faied to open
19         i386-opc.tbl.  Output opcodes to table.  Close i386-opc.tbl
20         before return.
21         (process_i386_registers): Report errno when faied to open
22         i386-reg.tbl.  Output opcodes to table.  Close i386-reg.tbl
23         before return.
24         (main): Open i386-tbl.h for output.
26         * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@".
27         * Makefile.in: Regenerated.
29 2007-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31         * i386-opc.tbl: Correct SVME instructions to allow 32bit register
32         operand in 64bit mode.
33         * i386-tbl.h: Regenerated.
35 2007-08-31  H.J. Lu  <hongjiu.lu@intel.com>
37         * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
38         (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
39         (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
41 2007-08-31  H.J. Lu  <hongjiu.lu@intel.com>
43         * i386-dis.c (SVME_Fixup): Removed.
44         (OPC_EXT_39): New.
45         (OPC_EXT_RM_6): Likewise.
46         (grps): Use OPC_EXT_39.
47         (opc_ext_table): Add OPC_EXT_39.
48         (opc_ext_rm_table): Add OPC_EXT_RM_6.
50         * i386-opc.tbl: Correct SVME instructions to take register
51         operand only.
52         * i386-tbl.h: Regenerated.
54 2007-08-31  H.J. Lu  <hongjiu.lu@intel.com>
56         * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
57         * Makefile.in: Regenerated.
59         * configure.in (AC_GNU_SOURCE): Added.
60         (AC_PROG_CC): Moved before AC_GNU_SOURCE.
61         (AC_CHECK_DECLS): Add stpcpy.
62         * configure: Regenerated.
63         * config.in: Likewise.
65         * i386-dis.c: Include "sysdep.h" before "dis-asm.h".
67         * sysdep.h (stpcpy): New.
69 2007-08-30  H.J. Lu  <hongjiu.lu@intel.com>
71         * i386-dis.c (INVLPG_Fixup): Removed.
72         (OPC_EXT_38): New.
73         (OPC_EXT_RM_5): Likewise.
74         (grps): Use OPC_EXT_38.
75         (opc_ext_table): Add OPC_EXT_38.
76         (opc_ext_rm_table): Add OPC_EXT_RM_5.
78 2007-08-29  H.J. Lu  <hongjiu.lu@intel.com>
80         * i386-dis.c (SIMD_Fixup): Removed.
81         (OPC_EXT_34...OPC_EXT_37): New.
82         (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
83         (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
84         (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
86 2007-08-29  H.J. Lu  <hongjiu.lu@intel.com>
88         * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
89         (dis386): Use OPC_EXT_0...OPC_EXT_2.
90         (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
91         (grps): Updated to use OPC_EXT_6...OPC_EXT_31.
92         (prefix_user_table): Use OPC_EXT_32.
93         (x86_64_table): Use OPC_EXT_33.
94         (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
96 2007-08-29  H.J. Lu  <hongjiu.lu@intel.com>
98         * i386-dis.c (prefix_user_table): Fix comment.
100 2007-08-29  H.J. Lu  <hongjiu.lu@intel.com>
102         * i386-dis.c (OP_Skip_MODRM): New.
103         (OP_Monitor): Likewise.
104         (OP_Mwait): Likewise.
105         (Mb): Likewise.
106         (Skip_MODRM): Likewise.
107         (USE_OPC_EXT_TABLE): Likewise.
108         (USE_OPC_EXT_RM_TABLE): Likewise.
109         (PREGRP98...PREGRP100): Likewise.
110         (OPC_EXT_0...OPC_EXT_24): Likewise.
111         (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
112         (lock_prefix): Likewise.
113         (data_prefix): Likewise.
114         (addr_prefix): Likewise.
115         (repz_prefix): Likewise.
116         (repnz_prefix): Likewise.
117         (opc_ext_table): Likewise.
118         (opc_ext_rm_table): Likewise.
119         (get_valid_dis386): Likewise.
120         (OP_VMX): Removed.
121         (OP_0fae): Likewise.
122         (PNI_Fixup): Likewise.
123         (VMX_Fixup): Likewise.
124         (VM): Likewise.
125         (twobyte_uses_DATA_prefix): Likewise.
126         (twobyte_uses_REPNZ_prefix): Likewise.
127         (twobyte_uses_REPZ_prefix): Likewise.
128         (threebyte_0x38_uses_DATA_prefix): Likewise.
129         (threebyte_0x38_uses_REPNZ_prefix): Likewise.
130         (threebyte_0x38_uses_REPZ_prefix): Likewise.
131         (threebyte_0x3a_uses_DATA_prefix): Likewise.
132         (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
133         (threebyte_0x3a_uses_REPZ_prefix): Likewise.
134         (grps): Use OPC_EXT_0...OPC_EXT_24.
135         (prefix_user_table): Add PREGRP98...PREGRP100.
136         (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
137         uses_REPNZ_prefix and uses_REPZ_prefix.  Initialize
138         repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
139         data_prefix based on prefixes.  Call get_valid_dis386 to
140         get a pointer to the valid dis386.  Print out prefixes if
141         they aren't NULL.
142         (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
143         (REP_Fixup): Set repz_prefix to "rep " when seeing
144         PREFIX_REPZ.
146 2007-08-28  Daniel Jacobowitz  <dan@codesourcery.com>
148         * po/nl.po: Updated translation.
150 2007-08-28  H.J. Lu  <hongjiu.lu@intel.com>
152         * i386-dis.c (Md): New.
153         (grps): Use 0 on invlpg.  Use M on fxsave and fxrstor.  Use
154         Md on ldmxcsr and stmxcsr.  Use b_mode on clflush.
155         (OP_0fae): Clear bytemode for sfence.
157 2007-08-22  Ben Elliston  <bje@au.ibm.com>
159         * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
160         (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
161         (PPCPS): Likewise.
162         (powerpc_opcodes): Add all pair singles instructions.
163         * ppc-dis.c (powerpc_dialect): Handle "ppcps".
164         (print_ppc_disassembler_options): Document -Mppcps.
166 2007-08-21  Andreas Krebbel  <krebbel1@de.ibm.com>
168         * s390-mkopc.c (struct s390_cond_ext_format): New global struct.
169         (s390_cond_ext_format): New global variable.
170         (expandConditionalJump): New function.
171         (main): Invoke expandConditionalJump for mnemonics containing '*'.      
172         * s390-opc.txt: Replace mnemonics with conditional
173         mask extensions with instructions using the newly introduced '*' tag.
175 2007-08-17  Alan Modra  <amodra@bigpond.net.au>
177         * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
179 2007-08-10  Nick Clifton  <nickc@redhat.com>
181         * po/fi.po: Updated Finnish translation.
182         * po/ga.po: Updated Irish translation.
183         * po/vi.po: Updated Vietnamese translation.
185 2007-08-09  H.J. Lu  <hongjiu.lu@intel.com>
187         * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
188         pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
189         * i386-tbl.h: Regenerated.
191 2007-08-03  James E. Wilson  <wilson@specifix.com>
193         * ia64-gen.c: (main): Add missing newline to copyright message.
194         * ia64-ic.tbl (fp-non-arith): Add xmpy.
195         * ia64-asmtab.c: Regenerate.
196         
197 2007-08-01  Michael Snyder  <msnyder@access-company.com>
199         * i386-dis.c (print_insn): Guard against NULL.
201 2007-07-29  H.J. Lu  <hongjiu.lu@intel.com>
203         PR binutils/4834
204         * i386-dis.c (EXw): New.
205         (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
206         instructions when appropriated.
208 2007-07-28  H.J. Lu  <hongjiu.lu@intel.com>
210         PR binutils/4834
211         * i386-dis.c (Eq): New.
212         (EMC): Renamed to ...
213         (EMCq): This.  Use q_mode instead of v_mode.
214         (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
215         when appropriated.
217 2007-07-28  H.J. Lu  <hongjiu.lu@intel.com>
219         * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
220         (prefix_user_table): Likewise.  Use EXq instead of EXx on
221         "movq".
223 2007-07-27  Nathan Sidwell  <nathan@codesourcery.com>
225         * ppc-opc (PPC7450): New.
226         (powerpc_opcodes): Use it in dcba.
228 2007-07-24  H.J. Lu  <hongjiu.lu@intel.com>
230         * i386-gen.c (main): Print a newline after copyright notice.
232 2007-07-19  Nick Clifton  <nickc@redhat.com>
234         PR binutils/4801
235         * maxq-dis.c (get_reg_name): Fix the scan of the
236         mem_access_syntax_table.
238 2007-07-16  H.J. Lu  <hongjiu.lu@intel.com>
240         * i386-dis.c (EMq): Removed.
241         (EMx): New.
242         (prefix_user_table): Replace EMq with EMx.
244 2007-07-16  Nick Clifton  <nickc@redhat.com>
246         * po/nl.po: Updated translation.
248 2007-07-12  Nick Clifton  <nickc@redhat.com>
250         * po/vi.po: Updated translation.
251         * po/nl.po: Updated translation.
253 2007-07-06  Mark Kettenis  <kettenis@gnu.org>
254             H.J. Lu  <hongjiu.lu@intel.com>
256         * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
257         (ia64-asmtab.c): Likewise.
258         * Makefile.in: Regenerate.
260 2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
262         * aclocal.m4: Regenerated.
264 2007-07-04  Nick Clifton  <nickc@redhat.com>
266         * alpha-dis.c: Update copyright notice to refer to GPLv3.
267         * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h,
268         arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c,
269         cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in,
270         cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c,
271         cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c,
272         d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c,
273         dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c,
274         h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c,
275         i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c,
276         ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c,
277         ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c,
278         ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c,
279         m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c,
280         m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c,
281         mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c,
282         mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c,
283         or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c,
284         ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c,
285         score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h,
286         sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c,
287         spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c,
288         tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c,
289         vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c,
290         z8k-dis.c, z8kgen.c: Likewise.
291         * i386-opc.tbl, i386-reg.tbl: Add copyright notice.
292         * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h,
293         fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c,
294         frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c,
295         frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c,
296         ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h,
297         iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c,
298         iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c,
299         m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c,
300         m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
301         m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c,
302         mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c,
303         mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c,
304         mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c,
305         openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c,
306         openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h,
307         xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h,
308         xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h,
309         xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c,
310         xstormy16-opc.h, z8k-opc.h: Regenerated
312 2007-07-04  M R Swami Reddy  <MR.Swami.Reddy@nsc.com>
314         * cr16-dis.c (getcinvstring): Add const qualifier to char *
315         parameter.
316         (print_insn_cr16): Remove cast to char *.
318 2007-07-03  Nathan Sidwell  <nathan@codesourcery.com>
320         * m68k-dis.c (fetch_arg): Add E.  Replace length switch with
321         direct masking.
322         (print_ins_arg): Add j & K operand types.
323         (match_insn_m68k): Check and skip initial '.' arg character.
324         (m68k_scan_mask): Likewise.
325         * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
327 2007-07-02  Alan Modra  <amodra@bigpond.net.au>
329         * Makefile.am: Run "make dep-am".
330         * Makefile.in: Regenerate.
331         * aclocal.m4: Regenerate.
332         * config.in: Regenerate.
333         * po/POTFILES.in: Regenerate.
334         * po/opcodes.pot: Regenerate.
336 2007-06-30  H.J. Lu  <hongjiu.lu@intel.com>
338         * aclocal.m4: Regenerated.
339         * Makefile.in: Likewise.
341 2007-06-29  H.J. Lu  <hongjiu.lu@intel.com>
343         * i386-reg.tbl: Remove spaces before comments.
345 2007-06-29  M R Swami Reddy  <MR.Swami.Reddy@nsc.com>
347         * cr16-opc.c: New file.
348         * cr16-dis.c: New file.
349         * Makefile.am: Entries for cr16.
350         * Makefile.in: Regenerate.
351         * cofigure.in: Add cr16 target information.
352         * configure  : Regenerate.
353         * disassemble.c: Add cr16 target information.
355 2007-06-28  H.J. Lu  <hongjiu.lu@intel.com>
357         * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
358         (CFILES): Add i386-gen.c.
359         (i386-gen): New rule.
360         (i386-gen.o): Likewise.
361         (i386-tbl.h): Likewise.
362         Run "make dep-am".
363         * Makefile.in: Regenerated.
365         * i386-gen.c: New file.
366         * i386-opc.tbl: Likewise.
367         * i386-reg.tbl: Likewise.
368         * i386-tbl.h: Likewise.
370         * i386-opc.c: Include "i386-tbl.h".
371         (i386_optab): Removed.
372         (i386_regtab): Likewise.
373         (i386_regtab_size): Likewise.
375 2007-06-26  Paul Brook  <paul@codesourcery.com>
377         * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
379 2007-06-25  H.J. Lu  <hongjiu.lu@intel.com>
381         * i386-opc.h (regKludge): Renamed to ...
382         (RegKludge): This.
384         * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
386 2007-06-23  H.J. Lu  <hongjiu.lu@intel.com>
388         PR binutils/4667
389         * i386-dis.c (EX): Removed.
390         (EMd): New.
391         (EMq): Likewise.
392         (EXd): Likewise.
393         (EXq): Likewise.
394         (EXx): Likewise.
395         (PREGRP93...PREGRP97): Likewise.
396         (dis386_twobyte): Updated.
397         (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
398         (OP_EX): Remove Intel syntax handling.
400 2007-06-18  Nathan Sidwell  <nathan@codesourcery.com>
402         * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
404 2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>
406         * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
408         * acinclude.m4: Removed.
410         * Makefile.in: Regenerated.
411         * doc/Makefile.in: Likewise.
412         * aclocal.m4: Likewise.
413         * configure: Likewise.
415 2007-06-05  Paul Brook  <paul@codesourcery.com>
417         * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
419 2007-05-24  Steve Ellcey  <sje@cup.hp.com>
421         * Makefile.in: Regnerate.
422         * configure: Regenerate.
423         * aclocal.m4: Regenerate.
425 2007-05-18  Alan Modra  <amodra@bigpond.net.au>
427         * ppc-dis.c (print_insn_powerpc): Don't skip all operands
428         after setting skip_optional.
430 2007-05-16  Peter Bergner  <bergner@vnet.ibm.com>
432         * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
433         (print_insn_powerpc): Use the new operand_value_powerpc and
434         skip_optional_operands functions to omit or print all optional
435         operands as a group.
436         * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
437         (XFL_MASK): Delete L and W bits from the mask.
438         (mtfsfi, mtfsfi.): Replace use of BF with BFF.  Relpace use of XRA_MASK
439         with XWRA_MASK.  Use W.
440         (mtfsf, mtfsf.): Use XFL_L and W.
442 2007-05-14  H.J. Lu  <hongjiu.lu@intel.com>
444         PR binutils/4502
445         * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
447 2007-05-10  H.J. Lu  <hongjiu.lu@intel.com>
449         * i386-opc.h (ShortForm): Redefined.
450         (Jump): Likewise.
451         (JumpDword): Likewise.
452         (JumpByte): Likewise.
453         (JumpInterSegment): Likewise.
454         (FloatMF): Likewise.
455         (FloatR): Likewise.
456         (FloatD): Likewise.
457         (Size16): Likewise.
458         (Size32): Likewise.
459         (Size64): Likewise.
460         (IgnoreSize): Likewise.
461         (DefaultSize): Likewise.
462         (No_bSuf): Likewise.
463         (No_wSuf): Likewise.
464         (No_lSuf): Likewise.
465         (No_sSuf): Likewise.
466         (No_qSuf): Likewise.
467         (No_xSuf): Likewise.
468         (FWait): Likewise.
469         (IsString): Likewise.
470         (regKludge): Likewise.
471         (IsPrefix): Likewise.
472         (ImmExt): Likewise.
473         (NoRex64): Likewise.
474         (Rex64): Likewise.
475         (Ugh): Likewise.
477 2007-05-07  H.J. Lu  <hongjiu.lu@intel.com>
479         * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
480         for some SSE4 instructions.
481         (threebyte_0x3a_uses_DATA_prefix): Likewise.
483 2007-05-03  H.J. Lu  <hongjiu.lu@intel.com>
485         * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
487         * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
488         type for crc32.
490 2007-05-01  H.J. Lu  <hongjiu.lu@intel.com>
492         * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
493         check data size prefix in 16bit mode.
495         * i386-opc.c (i386_optab): Default crc32 to non-8bit and
496         support Intel mode.
498 2007-04-30  Mark Salter  <msalter@redhat.com>
500         * frv-desc.c: Regenerate.
501         * frv-desc.h: Regenerate.
503 2007-04-30  Alan Modra  <amodra@bigpond.net.au>
505         PR 4436
506         * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
508 2007-04-27  H.J. Lu  <hongjiu.lu@intel.com>
510         * i386-dis.c (modrm): Put reg before rm.
512 2007-04-26  H.J. Lu  <hongjiu.lu@intel.com>
514         PR binutils/4430
515         * i386-dis.c (print_displacement): New.
516         (OP_E): Call print_displacement instead of print_operand_value
517         to output displacement when either base or index exist.  Print
518         the explicit zero displacement in 16bit mode.
520 2007-04-26  H.J. Lu  <hongjiu.lu@intel.com>
522         PR binutils/4429
523         * i386-dis.c (print_insn): Also swap the order of op_riprel
524         when swapping op_index.  Break when the RIP relative address
525         is printed.
526         (OP_E): Properly handle RIP relative addressing and print the
527         explicit zero displacement for Intel mode.
529 2007-04-27  Alan Modra  <amodra@bigpond.net.au>
531         * Makefile.am: Run "make dep-am".
532         * Makefile.in: Regenerate.
533         * ns32k-dis.c: Include sysdep.h first.
535 2007-04-24  Andreas Krebbel  <krebbel1@de.ibm.com>
537         * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
538         opcode.
539         * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
541 2007-04-24  Nick Clifton  <nickc@redhat.com>
543         * arm-dis.c (print_insn): Initialise type.
545 2007-04-24  Alan Modra  <amodra@bigpond.net.au>
547         * cgen-types.h: Include bfd_stdint.h, not stdint.h.
548         * Makefile.am: Run "make dep-am".
549         * Makefile.in: Regenerate.
551 2007-04-23  Nathan Sidwell  <nathan@codesourcery.com>
553         * m68k-opc.c: Mark mcfisa_c instructions.
555 2007-04-21  Richard Earnshaw  <rearnsha@arm.com>
557         * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
558         (thumb_opcodes): Add missing white space in adr.
559         (arm_decode_shift): New parameter, print_shift.  Only decode the
560         shift parameter if set.  Adjust callers.
561         (print_insn_arm): Support for operand type q with no shift decode.
563 2007-04-21  Alan Modra  <amodra@bigpond.net.au>
565         * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
566         Move contents to..
567         (i386_regtab): ..here.
568         * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
570         * ppc-opc.c (powerpc_operands): Delete duplicate entries.
571         (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
572         (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
573         (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
575 2007-04-20  Nathan Sidwell  <nathan@codesourcery.com>
577         * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
578         rambar1.
580 2007-04-20  Alan Modra  <amodra@bigpond.net.au>
582         * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
583         change.
584         * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
585         in all entries.  Add PPC_OPERAND_SIGNED to DE entry.  Remove
586         references to following deleted functions.
587         (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
588         (insert_ds, extract_ds, insert_de, extract_de): Delete.
589         (insert_des, extract_des, insert_li, extract_li): Delete.
590         (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
591         (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
592         (num_powerpc_operands): New constant.
593         (XSPRG_MASK): Remove entire SPRG field.
594         (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
596 2007-04-20  Alan Modra  <amodra@bigpond.net.au>
598         * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
599         (Z2_MASK): Define.
600         (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
602 2007-04-20  Richard Earnshaw  <rearnsha@arm.com>
604         * arm-dis.c (print_insn): Only look for a mapping symbol in the section
605         being disassembled.
607 2007-04-19  Alan Modra  <amodra@bigpond.net.au>
609         * Makefile.am: Run "make dep-am".
610         * Makefile.in: Regenerate.
611         * po/POTFILES.in: Regenerate.
613 2007-04-19  Alan Modra  <amodra@bigpond.net.au>
615         * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
616         db10cyc, db12cyc, db16cyc.
618 2007-04-19  Nathan Froyd <froydnj@codesourcery.com>
620         * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
622 2007-04-18  H.J. Lu <hongjiu.lu@intel.com>
624         * i386-dis.c (CRC32_Fixup): New.
625         (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
626          PREGRP91): New.
627         (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
628         (threebyte_0x3a_uses_DATA_prefix): Likewise.
629         (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
630         PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
631         (three_byte_table): Likewise.
633         * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
635         * i386-opc.h (CpuSSE4_2): New.
636         (CpuSSE4): Likewise.
637         (CpuUnknownFlags): Add CpuSSE4_2.
639 2007-04-18  H.J. Lu <hongjiu.lu@intel.com>
641         * i386-dis.c (XMM_Fixup): New.
642         (Edqb): New.
643         (Edqd): New.
644         (XMM0): New.
645         (dqb_mode): New.
646         (dqd_mode): New.
647         (PREGRP39 ... PREGRP85): New.
648         (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
649         (threebyte_0x3a_uses_DATA_prefix): Likewise.
650         (prefix_user_table): Add PREGRP39 ... PREGRP85.
651         (three_byte_table): Likewise.
652         (putop): Handle 'K'.
653         (intel_operand_size): Handle dqb_mode, dqd_mode):
654         (OP_E): Likewise.
655         (OP_G): Likewise.
657         * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
659         * i386-opc.h (CpuSSE4_1): New.
660         (CpuUnknownFlags): Add CpuSSE4_1.
661         (regKludge): Update comment.
663 2007-04-18  Matthias Klose  <doko@ubuntu.com>
665         * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
666         * Makefile.in: Regenerate.
668 2007-04-14  Steve Ellcey  <sje@cup.hp.com>
670         * Makefile.am: Add ACLOCAL_AMFLAGS.
671         * Makefile.in: Regenerate.
673 2007-04-13  H.J. Lu  <hongjiu.lu@intel.com>
675         * i386-dis.c: Remove trailing white spaces.
676         * i386-opc.c: Likewise.
677         * i386-opc.h: Likewise.
679 2007-04-11  H.J. Lu  <hongjiu.lu@intel.com>
681         PR binutils/4333
682         * i386-dis.c (GRP1a): New.
683         (GRP1b ... GRPPADLCK2): Update index.
684         (dis386): Use GRP1a for entry 0x8f.
685         (mod, rm, reg): Removed. Replaced by ...
686         (modrm): This.
687         (grps): Add GRP1a.
689 2007-04-09  Kazu Hirata  <kazu@codesourcery.com>
691         * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
692         info->print_address_func if longjmp is called.
694 2007-03-29  DJ Delorie  <dj@redhat.com>
696         * m32c-desc.c: Regenerate.
697         * m32c-dis.c: Regenerate.
698         * m32c-opc.c: Regenerate.
700 2007-03-28  H.J. Lu  <hongjiu.lu@intel.com>
702         * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
703         movq.  Remove InvMem from sldt, smsw and str.
705         * i386-opc.h (InvMem): Renamed to ...
706         (RegMem): Update comments.
707         (AnyMem): Remove InvMem.
709 2007-03-27  Paul Brook  <paul@codesourcery.com>
711         * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
713 2007-03-24  Paul Brook  <paul@codesourcery.com>
715         * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
716         (print_insn_coprocessor): Handle %<bitfield>x.
718 2007-03-24  Paul Brook  <paul@codesourcery.com>
719             Mark Shinwell  <shinwell@codesourcery.com>
721         * arm-dis.c (arm_opcodes): Print SRS base register.
723 2007-03-23  H.J. Lu  <hongjiu.lu@intel.com>
725         * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
727         * i386-opc.c (i386_optab): Add rex.wrxb.
729 2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
731         * i386-dis.c (REX_MODE64): Remove definition.
732         (REX_EXTX): Likewise.
733         (REX_EXTY): Likewise.
734         (REX_EXTZ): Likewise.
735         (USED_REX): Use REX_OPCODE instead of 0x40.
736         Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
737         REX_R, REX_X and REX_B respectively.
739 2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
741         PR binutils/4218
742         * i386-dis.c (PREGRP38): New.
743         (dis386): Use PREGRP38 for 0x90.
744         (prefix_user_table): Add PREGRP38.
745         (print_insn): Set uses_REPZ_prefix to 1 for pause.
746         (NOP_Fixup1): Properly handle REX bits.
747         (NOP_Fixup2): Likewise.
749         * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
750         Allow register with nop.
752 2007-03-20  DJ Delorie  <dj@redhat.com>
754         * m32c-asm.c: Regenerate.
755         * m32c-desc.c: Regenerate.
756         * m32c-desc.h: Regenerate.
757         * m32c-dis.h: Regenerate.
758         * m32c-ibld.c: Regenerate.
759         * m32c-opc.c: Regenerate.
760         * m32c-opc.h: Regenerate.
762 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
764         * i386-opc.c: Include "libiberty.h".
765         (i386_regtab): Remove the last entry.
766         (i386_regtab_size): New.
767         (i386_float_regtab_size): Likewise.
769         * i386-opc.h (i386_regtab_size): New.
770         (i386_float_regtab_size): Likewise.
772 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
774         * Makefile.am (CFILES): Add i386-opc.c.
775         (ALL_MACHINES): Add i386-opc.lo.
776         Run "make dep-am".
777         * Makefile.in: Regenerated.
779         * configure.in: Add i386-opc.lo for bfd_i386_arch.
780         * configure: Regenerated.
782         * i386-dis.c: Include "opcode/i386.h".
783         (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
784         (FWAIT_OPCODE): Remove definition.
785         (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
786         (MAX_OPERANDS): Remove definition.
788         * i386-opc.c: New file.
789         * i386-opc.h: Likewise.
791 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
793         * Makefile.in: Regenerated.
795 2007-03-09  H.J. Lu  <hongjiu.lu@intel.com>
797         * i386-dis.c (OP_Rd): Renamed to ...
798         (OP_R): This.
799         (Rd): Updated.
800         (Rm): Likewise.
802 2007-03-08  Alan Modra  <amodra@bigpond.net.au>
804         * fr30-asm.c: Regenerate.
805         * frv-asm.c: Regenerate.
806         * ip2k-asm.c: Regenerate.
807         * iq2000-asm.c: Regenerate.
808         * m32c-asm.c: Regenerate.
809         * m32r-asm.c: Regenerate.
810         * m32r-dis.c: Regenerate.
811         * mt-asm.c: Regenerate.
812         * mt-ibld.c: Regenerate.
813         * mt-opc.c: Regenerate.
814         * openrisc-asm.c: Regenerate.
815         * xc16x-asm.c: Regenerate.
816         * xstormy16-asm.c: Regenerate.
818         * Makefile.am: Run "make dep-am".
819         * Makefile.in: Regenerate.
820         * po/POTFILES.in: Regenerate.
822 2007-03-06  Andreas Krebbel  <krebbel1@de.ibm.com>
824         * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
825         INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
826         instruction formats added.
827         (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
828         MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
829         masks added.
830         * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
831         instructions added.
832         * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
833         (main): z9-ec cpu type option added.
834         * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
836 2007-02-22  DJ Delorie  <dj@redhat.com>
838         * s390-opc.c (INSTR_SS_L2RDRD): New.
839         (MASK_SS_L2RDRD): New.
840         * s390-opc.txt (pka): Use it.
842 2007-02-20  Thiemo Seufer  <ths@mips.com>
843             Chao-Ying Fu  <fu@mips.com>
845         * mips-dis.c (mips_arch_choices): Add DSP R2 support.
846         (print_insn_args): Add support for balign instruction.
847         * mips-opc.c (D33): New shortcut for DSP R2 instructions.
848         (mips_builtin_opcodes): Add DSP R2 instructions.
850 2007-02-19  Andreas Krebbel  <krebbel1@de.ibm.com>
852         * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
853         (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
854         * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
855         cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
857 2007-02-19  Andreas Krebbel  <krebbel1@de.ibm.com>
859         * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
860         * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
861         (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
862         and sfpc.
864 2007-02-16  Nick Clifton  <nickc@redhat.com>
866         PR binutils/4045
867         * avr-dis.c (comment_start): New variable, contains the prefix to
868         use when printing addresses in comments.
869         (print_insn_avr): Set comment_start to an empty space if there is
870         no symbol table available as the generic address printing code
871         will prefix the numeric value of the address with 0x.
873 2007-02-13  H.J. Lu  <hongjiu.lu@intel.com>
875          * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
876          in struct dis386.
878 2007-02-05  Dave Brolley  <brolley@redhat.com>
879             Richard Sandiford  <rsandifo@redhat.com>
880             DJ Delorie  <dj@redhat.com>
881             Graydon Hoare  <graydon@redhat.com>
882             Frank Ch. Eigler  <fche@redhat.com>
883             Ben Elliston  <bje@redhat.com>
885         * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
886         (CFILES): Add mep-*.c
887         (ALL_MACHINES): Add mep-*.lo.
888         (CLEANFILES): Add stamp-mep.
889         (CGEN_CPUS): Add mep.
890         (MEP_DEPS): New variable.
891         (mep-*): New targets.
892         * configure.in: Handle bfd_mep_arch.
893         * disassemble.c (ARCH_mep): New macro.
894         (disassembler): Handle bfd_arch_mep.
895         (disassemble_init_for_target): Likewise.
896         * mep-*: New files for Toshiba Media Processor (MeP).
897         * Makefile.in: Regenerated.
898         * configure: Regenerated.
900 2007-02-05  H.J. Lu  <hongjiu.lu@intel.com>
902         * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
903         wrap around within the same segment in 16bit mode.
905 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
907         * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
908         prefix.
910 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
912         * avr-dis.c (avr_operand): Correct PR number in comment.
914 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
916         * disassemble.c (disassembler_usage): Call
917         print_i386_disassembler_options for i386 disassembler.
919         * i386-dis.c (print_i386_disassembler_options): New.
920         (print_insn): Support the new addr64 option.
922 2007-02-02  Hiroki Kaminaga  <kaminaga@sm.sony.co.jp>
924         * ppc-dis.c (powerpc_dialect): Handle ppc440.
925         * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
926         be used.
928 2007-02-02  Alan Modra  <amodra@bigpond.net.au>
930         * ppc-opc.c (insert_bdm): -Many comment.
931         (valid_bo): Add "extract" param.  Accept both powerpc and power4
932         BO fields when disassembling with -Many.
933         (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
935 2007-01-08  Kazu Hirata  <kazu@codesourcery.com>
937         * m68k-opc.c (m68k_opcodes): Replace cpu32 with
938         cpu32 | fido_a except on tbl instructions.
940 2007-01-04  Paul Brook  <paul@codesourcery.com>
942         * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
944 2007-01-04  Andreas Schwab  <schwab@suse.de>
946         * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
948 2007-01-04  Julian Brown  <julian@codesourcery.com>
950         * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
951         vqrshl instructions.
953 For older changes see ChangeLog-2006
955 Local Variables:
956 mode: change-log
957 left-margin: 8
958 fill-column: 74
959 version-control: never
960 End: