opcodes/
[binutils.git] / opcodes / ChangeLog
blobc07eaba7f70fe85e09c7405882d8f918642e382e
1 2004-09-09  Segher Boessenkool  <segher@kernel.crashing.org>
3         * ppc-opc.c (L): Make this field not optional.
5 2004-09-03  Tomer Levi  <Tomer.Levi@nsc.com>
7         * opc-crx.c: Rename 'popma' to 'popa', remove 'pushma'.
8         Fix parameter to 'm[t|f]csr' insns.
10 2004-08-30  Nathanael Nerode  <neroden@gcc.gnu.org>
12         * configure.in: Autoupdate to autoconf 2.59.
13         * aclocal.m4: Rebuild with aclocal 1.4p6.
14         * configure: Rebuild with autoconf 2.59.
15         * Makefile.in: Rebuild with automake 1.4p6 (picking up
16         bfd changes for autoconf 2.59 on the way).
17         * config.in: Rebuild with autoheader 2.59.
19 2004-08-27  Richard Sandiford  <rsandifo@redhat.com>
21         * frv-desc.[ch], frv-opc.[ch]: Regenerated.
23 2004-07-30  Michal Ludvig  <mludvig@suse.cz>
25         * i386-dis.c (GRPPADLCK): Renamed to GRPPADLCK1
26         (GRPPADLCK2): New define.
27         (twobyte_has_modrm): True for 0xA6.
28         (grps): GRPPADLCK2 for opcode 0xA6.
30 2004-07-29  Alexandre Oliva  <aoliva@redhat.com>
32         Introduce SH2a support.
33         * sh-opc.h (arch_sh2a_base): Renumber.
34         (arch_sh2a_nofpu_base): Remove.
35         (arch_sh_base_mask): Adjust.
36         (arch_opann_mask): New.
37         (arch_sh2a, arch_sh2a_nofpu): Adjust.
38         (arch_sh2a_up, arch_sh2a_nofpu_up): Likewise.
39         (sh_table): Adjust whitespace.
40         2004-02-24  Corinna Vinschen  <vinschen@redhat.com>
41         * sh-opc.h (arch_sh2a_nofpu_up): New.  Use instead of arch_sh2a_up in
42         instruction list throughout.
43         (arch_sh2a_up): Redefine to include fpu instruction set.  Use instead
44         of arch_sh2a in instruction list throughout.
45         (arch_sh2e_up): Accomodate above changes.
46         (arch_sh2_up): Ditto.
47         2004-02-20  Corinna Vinschen  <vinschen@redhat.com>
48         * sh-opc.h: Add arch_sh2a_nofpu to arch_sh2_up.
49         2004-02-18  Corinna Vinschen  <vinschen@redhat.com>
50         * sh-dis.c (print_insn_sh): Add bfd_mach_sh2a_nofpu handling.
51         * sh-opc.h (arch_sh2a_nofpu): New.
52         (arch_sh2a_up): New, defines sh2a and sh2a_nofpu.
53         (sh_table): Change all arch_sh2a to arch_sh2a_up unless FPU
54         instruction.
55         2004-01-20  DJ Delorie  <dj@redhat.com>
56         * sh-dis.c (print_insn_sh): SH2A does not have 'X' fp regs.
57         2003-12-29  DJ Delorie  <dj@redhat.com>
58         * sh-opc.c (sh_nibble_type, sh_arg_type, arch_2a, arch_2e_up,
59         sh_opcode_info, sh_table): Add sh2a support.
60         (arch_op32): New, to tag 32-bit opcodes.
61         * sh-dis.c (print_insn_sh): Support sh2a opcodes.
62         2003-12-02  Michael Snyder  <msnyder@redhat.com>
63         * sh-opc.h (arch_sh2a): Add.
64         * sh-dis.c (arch_sh2a): Handle.
65         * sh-opc.h (arch_sh2_up): Fix up to include arch_sh2a.
67 2004-07-27  Tomer Levi  <Tomer.Levi@nsc.com>
69         * crx-opc.c: Add popx,pushx insns. Indent code, fix comments.
71 2004-07-22  Nick Clifton  <nickc@redhat.com>
73         PR/280
74         * h8300-dis.c (bfd_h8_disassemble): Do not dump raw bytes for the
75         insns - this is done by objdump itself.
76         * h8500-dis.c (print_insn_h8500): Likewise.
78 2004-07-21  Jan Beulich <jbeulich@novell.com>
80         * i386-dis.c (OP_E): Show rip-relative addressing in 64-bit mode
81         regardless of address size prefix in effect.
82         (ptr_reg): Size or address registers does not depend on rex64, but
83         on the presence of an address size override.
84         (OP_MMX): Use rex.x only for xmm registers.
85         (OP_EM): Use rex.z only for xmm registers.
87 2004-07-20  Maciej W. Rozycki  <macro@linux-mips.org>
89         * mips-opc.c (mips_builtin_opcodes): Move coprocessor 2
90         move/branch operations to the bottom so that VR5400 multimedia
91         instructions take precedence in disassembly.
93 2004-07-20  Maciej W. Rozycki  <macro@linux-mips.org>
95         * mips-opc.c (mips_builtin_opcodes): Remove the MIPS32
96         ISA-specific "break" encoding.
98 2004-07-13  Elvis Chiang  <elvisfb@gmail.com>
100         * arm-opc.h: Fix typo in comment.
102 2004-07-11  Andreas Schwab  <schwab@suse.de>
104         * m68k-dis.c (m68k_valid_ea): Fix typos in last change.
106 2004-07-09  Andreas Schwab  <schwab@suse.de>
108         * m68k-dis.c (m68k_valid_ea): Check validity of all codes.
110 2004-07-07  Tomer Levi  <Tomer.Levi@nsc.com>
112         * Makefile.am (CFILES): Add crx-dis.c, crx-opc.c.
113         (ALL_MACHINES): Add crx-dis.lo, crx-opc.lo.
114         (crx-dis.lo): New target.
115         (crx-opc.lo): Likewise.
116         * Makefile.in: Regenerate.
117         * configure.in: Handle bfd_crx_arch.
118         * configure: Regenerate.
119         * crx-dis.c: New file.
120         * crx-opc.c: New file.
121         * disassemble.c (ARCH_crx): Define.
122         (disassembler): Handle ARCH_crx.
124 2004-06-29  James E Wilson  <wilson@specifixinc.com>
126         * ia64-opc-a.c (ia64_opcodes_a): Delete mov immediate pseudo for adds.
127         * ia64-asmtab.c: Regnerate.
129 2004-06-28  Alan Modra  <amodra@bigpond.net.au>
131         * ppc-opc.c (insert_fxm): Handle mfocrf and mtocrf.
132         (extract_fxm): Don't test dialect.
133         (XFXFXM_MASK): Include the power4 bit.
134         (XFXM): Add p4 param.
135         (powerpc_opcodes): Add mfocrf and mtocrf.  Adjust mtcr.
137 2004-06-27  Alexandre Oliva  <aoliva@redhat.com>
139         2003-07-21  Richard Sandiford  <rsandifo@redhat.com>
140         * disassemble.c (disassembler): Handle bfd_mach_h8300sxn.
142 2004-06-26  Alan Modra  <amodra@bigpond.net.au>
144         * ppc-opc.c (BH, XLBH_MASK): Define.
145         (powerpc_opcodes): Allow BH field on bclr, bclrl, bcctr, bcctrl.
147 2004-06-24  Alan Modra  <amodra@bigpond.net.au>
149         * i386-dis.c (x_mode): Comment.
150         (two_source_ops): File scope.
151         (float_mem): Correct fisttpll and fistpll.
152         (float_mem_mode): New table.
153         (dofloat): Use it.
154         (OP_E): Correct intel mode PTR output.
155         (ptr_reg): Use open_char and close_char.
156         (PNI_Fixup): Handle possible suffix on sidt.  Use op1out etc. for
157         operands.  Set two_source_ops.
159 2004-06-15  Alan Modra  <amodra@bigpond.net.au>
161         * arc-ext.c (build_ARC_extmap): Use bfd_get_section_size
162         instead of _raw_size.
164 2004-06-08  Jakub Jelinek  <jakub@redhat.com>
166         * ia64-gen.c (in_iclass): Handle more postinc st
167         and ld variants.
168         * ia64-asmtab.c: Rebuilt.
170 2004-06-01  Martin Schwidefsky  <schwidefsky@de.ibm.com>
172         * s390-opc.txt: Correct architecture mask for some opcodes.
173         lrv, lrvh, strv, ml, dl, alc, slb rll and mvclu are available
174         in the esa mode as well.
176 2004-05-28  Andrew Stubbs <andrew.stubbs@superh.com>
178         * sh-dis.c (target_arch): Make unsigned.
179         (print_insn_sh): Replace (most of) switch with a call to
180         sh_get_arch_from_bfd_mach(). Also use new architecture flags system.
181         * sh-opc.h: Redefine architecture flags values.
182         Add sh3-nommu architecture.
183         Reorganise <arch>_up macros so they make more visual sense.
184         (SH_MERGE_ARCH_SET): Define new macro.
185         (SH_VALID_BASE_ARCH_SET): Likewise.
186         (SH_VALID_MMU_ARCH_SET): Likewise.
187         (SH_VALID_CO_ARCH_SET): Likewise.
188         (SH_VALID_ARCH_SET): Likewise.
189         (SH_MERGE_ARCH_SET_VALID): Likewise.
190         (SH_ARCH_SET_HAS_FPU): Likewise.
191         (SH_ARCH_SET_HAS_DSP): Likewise.
192         (SH_ARCH_UNKNOWN_ARCH): Likewise.
193         (sh_get_arch_from_bfd_mach): Add prototype.
194         (sh_get_arch_up_from_bfd_mach): Likewise.
195         (sh_get_bfd_mach_from_arch_set): Likewise.
196         (sh_merge_bfd_arc): Likewise.
198 2004-05-24  Peter Barada  <peter@the-baradas.com>
200         * m68k-dis.c(print_insn_m68k): Strip body of diassembly out
201         into new match_insn_m68k function.  Loop over canidate
202         matches and select first that completely matches.
203         * m68k-dis.c(print_insn_arg): Fix 'g' case to only extract 1 bit.
204         * m68k-dis.c(print_insn_arg): Call new function m68k_valid_ea
205         to verify addressing for MAC/EMAC. 
206         * m68k-dis.c(print_insn_arg): Use reg_half_names for MAC/EMAC
207         reigster halves since 'fpu' and 'spl' look misleading.
208         * m68k-dis.c(fetch_arg): Fix 'G', 'H', 'I', 'f', 'M', 'N' cases.
209         * m68k-opc.c: Rearragne mac/emac cases to use longest for
210         first, tighten up match masks.
211         * m68k-opc.c: Add 'size' field to struct m68k_opcode.  Produce
212         'size' from special case code in print_insn_m68k to
213         determine decode size of insns.
215 2004-05-19  Alan Modra  <amodra@bigpond.net.au>
217         * ppc-opc.c (insert_fxm): Enable two operand mfcr when -many as
218         well as when -mpower4.
220 2004-05-13  Nick Clifton  <nickc@redhat.com>
222         * po/fr.po: Updated French translation.
224 2004-05-05  Peter Barada  <peter@the-baradas.com>
226         * m68k-dis.c(print_insn_m68k): Add new chips, use core
227         variants in arch_mask.  Only set m68881/68851 for 68k chips.
228         * m68k-op.c: Switch from ColdFire chips to core variants.
230 2004-05-05  Alan Modra  <amodra@bigpond.net.au>
232         PR 147.
233         * ppc-opc.c (PPCVEC): Remove PPC_OPCODE_PPC.
235 2004-04-29  Ben Elliston  <bje@au.ibm.com>
237         * ppc-opc.c (XCMPL): Renmame to XOPL. Update users.
238         (powerpc_opcodes): Add "dbczl" instruction for PPC970.
240 2004-04-22  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
242         * sh-dis.c (print_insn_sh): Print the value in constant pool
243         as a symbol if it looks like a symbol.
245 2004-04-22  Peter Barada <peter@the-baradas.com>
247         * m68k-dis.c(print_insn_m68k): Set mfcmac/mcfemac on
248         appropriate ColdFire architectures.
249         (print_insn_m68k): Handle EMAC, MAC/EMAC scalefactor, and MAC/EMAC
250         mask addressing.
251         Add EMAC instructions, fix MAC instructions. Remove
252         macmw/macml/msacmw/msacml instructions since mask addressing now
253         supported.
255 2004-04-20  Jakub Jelinek  <jakub@redhat.com>
257         * sparc-opc.c (fmoviccx, fmovfccx, fmovccx): Define.
258         (fmovicc, fmovfcc, fmovcc): Remove fpsize argument, change opcode to
259         suffix.  Use fmov*x macros, create all 3 fpsize variants in one
260         macro.  Adjust all users.
262 2004-04-15  Anil Paranjpe  <anilp1@kpitcummins.com>
263         
264         * h8300-dis.c (bfd_h8_disassemble) : Treat "adds" & "subs"
265         separately.
267 2004-03-30  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
269         * m32r-asm.c: Regenerate.
271 2004-03-29  Stan Shebs  <shebs@apple.com>
273         * mpw-config.in, mpw-make.sed: Remove MPW support files, no longer
274         used.
276 2004-03-19  Alan Modra  <amodra@bigpond.net.au>
278         * aclocal.m4: Regenerate.
279         * config.in: Regenerate.
280         * configure: Regenerate.
281         * po/POTFILES.in: Regenerate.
282         * po/opcodes.pot: Regenerate.
284 2004-03-16  Alan Modra  <amodra@bigpond.net.au>
286         * ppc-dis.c (print_insn_powerpc): Don't print tabs.  Handle
287         PPC_OPERANDS_GPR_0.
288         * ppc-opc.c (RA0): Define.
289         (RAQ, RAL, RAM, RAS, RSQ, RTQ, RSO): Use PPC_OPERAND_GPR_0.
290         (RAOPT): Rename from RAO.  Update all uses.
291         (powerpc_opcodes): Use RA0 as appropriate.
293 2004-03-15  Aldy Hernandez  <aldyh@redhat.com>
295         * ppc-opc.c (powerpc_opcodes): Add BOOKE versions of mfsprg.
297 2004-03-15  Alan Modra  <amodra@bigpond.net.au>
299         * sparc-dis.c (print_insn_sparc): Update getword prototype.
301 2004-03-12  Michal Ludvig  <mludvig@suse.cz>
303         * i386-dis.c (GRPPLOCK): Delete.
304         (grps): Delete GRPPLOCK entry.
306 2004-03-12  Alan Modra  <amodra@bigpond.net.au>
308         * i386-dis.c (OP_M, OP_0f0e, OP_0fae, NOP_Fixup): New functions.
309         (M, Mp): Use OP_M.
310         (None, PADLOCK_SPECIAL, PADLOCK_0): Delete.
311         (GRPPADLCK): Define.
312         (dis386): Use NOP_Fixup on "nop".
313         (dis386_twobyte): Use GRPPADLCK on opcode 0xa7.
314         (twobyte_has_modrm): Set for 0xa7.
315         (padlock_table): Delete.  Move to..
316         (grps): ..here, using OP_0f07.  Use OP_Ofae on lfence, mfence
317         and clflush.
318         (print_insn): Revert PADLOCK_SPECIAL code.
319         (OP_E): Delete sfence, lfence, mfence checks.
321 2004-03-12  Jakub Jelinek  <jakub@redhat.com>
323         * i386-dis.c (grps): Use INVLPG_Fixup instead of OP_E for invlpg.
324         (INVLPG_Fixup): New function.
325         (PNI_Fixup): Remove ATTRIBUTE_UNUSED from sizeflag.
327 2004-03-12  Michal Ludvig  <mludvig@suse.cz>
329         * i386-dis.c (PADLOCK_SPECIAL, PADLOCK_0): New defines.
330         (dis386_twobyte): Opcode 0xa7 is PADLOCK_0.
331         (padlock_table): New struct with PadLock instructions.
332         (print_insn): Handle PADLOCK_SPECIAL.
334 2004-03-12  Alan Modra  <amodra@bigpond.net.au>
336         * i386-dis.c (grps): Use clflush by default for 0x0fae/7.
337         (OP_E): Twiddle clflush to sfence here.
339 2004-03-08  Nick Clifton  <nickc@redhat.com>
341         * po/de.po: Updated German translation.
343 2003-03-03  Andrew Stubbs  <andrew.stubbs@superh.com>
345         * sh-dis.c (print_insn_sh): Don't disassemble fp instructions in
346         nofpu mode.  Add BFD type bfd_mach_sh4_nommu_nofpu.
347         * sh-opc.h: Add sh4_nommu_nofpu architecture and adjust instructions
348         accordingly.
350 2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
352         * frv-asm.c: Regenerate.
353         * frv-desc.c: Regenerate.
354         * frv-desc.h: Regenerate.
355         * frv-dis.c: Regenerate.
356         * frv-ibld.c: Regenerate.
357         * frv-opc.c: Regenerate.
358         * frv-opc.h: Regenerate.
360 2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
362         * frv-desc.c, frv-opc.c: Regenerate.
364 2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
366         * frv-desc.c, frv-opc.c, frv-opc.h: Regenerate.
368 2004-02-26  Andrew Stubbs  <andrew.stubbs@superh.com>
370         * sh-opc.h: Move fsca and fsrra instructions from sh4a to sh4.
371         Also correct mistake in the comment.
373 2004-02-26  Andrew Stubbs <andrew.stubbs@superh.com>
375         * sh-dis.c (print_insn_sh): Add REG_N_D nibble type to
376         ensure that double registers have even numbers.
377         Add REG_N_B01 for nn01 (binary 01) nibble to ensure
378         that reserved instruction 0xfffd does not decode the same
379         as 0xfdfd (ftrv).
380         * sh-opc.h: Add REG_N_D nibble type and use it whereever
381         REG_N refers to a double register.
382         Add REG_N_B01 nibble type and use it instead of REG_NM
383         in ftrv.
384         Adjust the bit patterns in a few comments.
386 2004-02-25  Aldy Hernandez  <aldyh@redhat.com>
388         * ppc-opc.c (powerpc_opcodes): Change mask for dcbt and dcbtst.
390 2004-02-20  Aldy Hernandez  <aldyh@redhat.com>
392         * ppc-opc.c (powerpc_opcodes): Move mfmcsrr0 before mfdc_dat.
394 2004-02-20  Aldy Hernandez  <aldyh@redhat.com>
396         * ppc-opc.c (powerpc_opcodes): Add m*ivor35.
398 2004-02-20  Aldy Hernandez  <aldyh@redhat.com>
400         * ppc-opc.c (powerpc_opcodes): Add mfivor32, mfivor33, mfivor34,
401         mtivor32, mtivor33, mtivor34.
403 2004-02-19  Aldy Hernandez  <aldyh@redhat.com>
405         * ppc-opc.c (powerpc_opcodes): Add mfmcar.
407 2004-02-10  Petko Manolov  <petkan@nucleusys.com>
409         * arm-opc.h Maverick accumulator register opcode fixes.
411 2004-02-13  Ben Elliston  <bje@wasabisystems.com>
413         * m32r-dis.c: Regenerate.
415 2004-01-27  Michael Snyder  <msnyder@redhat.com>
417         * sh-opc.h (sh_table): "fsrra", not "fssra".
419 2004-01-23  Andrew Over <andrew.over@cs.anu.edu.au>
421         * sparc-opc.c (fdtox, fstox, fqtox, fxtod, fxtos, fxtoq): Tighten
422         contraints.
424 2004-01-19  Andrew Over  <andrew.over@cs.anu.edu.au>
426         * sparc-opc.c (sparc_opcodes) <f[dsq]tox, fxto[dsq]>: Fix args.
428 2004-01-19  Alan Modra  <amodra@bigpond.net.au>
430         * i386-dis.c (OP_E): Print scale factor on intel mode sib when not
431         1.  Don't print scale factor on AT&T mode when index missing.
433 2004-01-16  Alexandre Oliva  <aoliva@redhat.com>
435         * m10300-opc.c (mov): 8- and 24-bit immediates are zero-extended
436         when loaded into XR registers.
438 2004-01-14  Richard Sandiford  <rsandifo@redhat.com>
440         * frv-desc.h: Regenerate.
441         * frv-desc.c: Regenerate.
442         * frv-opc.c: Regenerate.
444 2004-01-13  Michael Snyder  <msnyder@redhat.com>
446         * sh-dis.c (print_insn_sh): Allocate 4 bytes for insn.
448 2004-01-09  Paul Brook  <paul@codesourcery.com>
450         * arm-opc.h (arm_opcodes): Move generic mcrr after known
451         specific opcodes.
453 2004-01-07  Daniel Jacobowitz  <drow@mvista.com>
455         * Makefile.am (libopcodes_la_DEPENDENCIES)
456         (libopcodes_la_LIBADD): Revert 2003-05-17 change.  Add explanatory
457         comment about the problem.
458         * Makefile.in: Regenerate.
460 2004-01-06  Alexandre Oliva  <aoliva@redhat.com>
462         2003-12-19  Alexandre Oliva  <aoliva@redhat.com>
463         * frv-asm.c (parse_ulo16, parse_uhi16, parse_d12): Fix some
464         cut&paste errors in shifting/truncating numerical operands.
465         2003-08-04  Alexandre Oliva  <aoliva@redhat.com>
466         * frv-asm.c (parse_ulo16): Parse gotofflo and gotofffuncdesclo.
467         (parse_uslo16): Likewise.
468         (parse_uhi16): Parse gotoffhi and gotofffuncdeschi.
469         (parse_d12): Parse gotoff12 and gotofffuncdesc12.
470         (parse_s12): Likewise.
471         2003-08-04  Alexandre Oliva  <aoliva@redhat.com>
472         * frv-asm.c (parse_ulo16): Parse gotlo and gotfuncdesclo.
473         (parse_uslo16): Likewise.
474         (parse_uhi16): Parse gothi and gotfuncdeschi.
475         (parse_d12): Parse got12 and gotfuncdesc12.
476         (parse_s12): Likewise.
478 2004-01-02  Albert Bartoszko  <albar@nt.kegel.com.pl>
480         * msp430-dis.c (msp430_doubleoperand): Check for an 'add'
481         instruction which looks similar to an 'rla' instruction.
483 For older changes see ChangeLog-0203
485 Local Variables:
486 mode: change-log
487 left-margin: 8
488 fill-column: 74
489 version-control: never
490 End: