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