OSDN Git Service

Reorganise m68k instruction decoding and improve handling of MAC/EMAC
[pf3gnuchains/pf3gnuchains4x.git] / opcodes / ChangeLog
1 2004-05-24  Peter Barada  <peter@the-baradas.com>
2
3         * m68k-dis.c(print_insn_m68k): Strip body of diassembly out
4         into new match_insn_m68k function.  Loop over canidate
5         matches and select first that completely matches.
6         * m68k-dis.c(print_insn_arg): Fix 'g' case to only extract 1 bit.
7         * m68k-dis.c(print_insn_arg): Call new function m68k_valid_ea
8         to verify addressing for MAC/EMAC. 
9         * m68k-dis.c(print_insn_arg): Use reg_half_names for MAC/EMAC
10         reigster halves since 'fpu' and 'spl' look misleading.
11         * m68k-dis.c(fetch_arg): Fix 'G', 'H', 'I', 'f', 'M', 'N' cases.
12         * m68k-opc.c: Rearragne mac/emac cases to use longest for
13         first, tighten up match masks.
14         * m68k-opc.c: Add 'size' field to struct m68k_opcode.  Produce
15         'size' from special case code in print_insn_m68k to
16         determine decode size of insns.
17
18 2004-05-19  Alan Modra  <amodra@bigpond.net.au>
19
20         * ppc-opc.c (insert_fxm): Enable two operand mfcr when -many as
21         well as when -mpower4.
22
23 2004-05-13  Nick Clifton  <nickc@redhat.com>
24
25         * po/fr.po: Updated French translation.
26
27 2004-05-05  Peter Barada  <peter@the-baradas.com>
28
29         * m68k-dis.c(print_insn_m68k): Add new chips, use core
30         variants in arch_mask.  Only set m68881/68851 for 68k chips.
31         * m68k-op.c: Switch from ColdFire chips to core variants.
32
33 2004-05-05  Alan Modra  <amodra@bigpond.net.au>
34
35         PR 147.
36         * ppc-opc.c (PPCVEC): Remove PPC_OPCODE_PPC.
37
38 2004-04-29  Ben Elliston  <bje@au.ibm.com>
39
40         * ppc-opc.c (XCMPL): Renmame to XOPL. Update users.
41         (powerpc_opcodes): Add "dbczl" instruction for PPC970.
42
43 2004-04-22  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44
45         * sh-dis.c (print_insn_sh): Print the value in constant pool
46         as a symbol if it looks like a symbol.
47
48 2004-04-22  Peter Barada <peter@the-baradas.com>
49
50         * m68k-dis.c(print_insn_m68k): Set mfcmac/mcfemac on
51         appropriate ColdFire architectures.
52         (print_insn_m68k): Handle EMAC, MAC/EMAC scalefactor, and MAC/EMAC
53         mask addressing.
54         Add EMAC instructions, fix MAC instructions. Remove
55         macmw/macml/msacmw/msacml instructions since mask addressing now
56         supported.
57
58 2004-04-20  Jakub Jelinek  <jakub@redhat.com>
59
60         * sparc-opc.c (fmoviccx, fmovfccx, fmovccx): Define.
61         (fmovicc, fmovfcc, fmovcc): Remove fpsize argument, change opcode to
62         suffix.  Use fmov*x macros, create all 3 fpsize variants in one
63         macro.  Adjust all users.
64
65 2004-04-15  Anil Paranjpe  <anilp1@kpitcummins.com>
66         
67         * h8300-dis.c (bfd_h8_disassemble) : Treat "adds" & "subs"
68         separately.
69
70 2004-03-30  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
71
72         * m32r-asm.c: Regenerate.
73
74 2004-03-29  Stan Shebs  <shebs@apple.com>
75
76         * mpw-config.in, mpw-make.sed: Remove MPW support files, no longer
77         used.
78
79 2004-03-19  Alan Modra  <amodra@bigpond.net.au>
80
81         * aclocal.m4: Regenerate.
82         * config.in: Regenerate.
83         * configure: Regenerate.
84         * po/POTFILES.in: Regenerate.
85         * po/opcodes.pot: Regenerate.
86
87 2004-03-16  Alan Modra  <amodra@bigpond.net.au>
88
89         * ppc-dis.c (print_insn_powerpc): Don't print tabs.  Handle
90         PPC_OPERANDS_GPR_0.
91         * ppc-opc.c (RA0): Define.
92         (RAQ, RAL, RAM, RAS, RSQ, RTQ, RSO): Use PPC_OPERAND_GPR_0.
93         (RAOPT): Rename from RAO.  Update all uses.
94         (powerpc_opcodes): Use RA0 as appropriate.
95
96 2004-03-15  Aldy Hernandez  <aldyh@redhat.com>
97
98         * ppc-opc.c (powerpc_opcodes): Add BOOKE versions of mfsprg.
99
100 2004-03-15  Alan Modra  <amodra@bigpond.net.au>
101
102         * sparc-dis.c (print_insn_sparc): Update getword prototype.
103
104 2004-03-12  Michal Ludvig  <mludvig@suse.cz>
105
106         * i386-dis.c (GRPPLOCK): Delete.
107         (grps): Delete GRPPLOCK entry.
108
109 2004-03-12  Alan Modra  <amodra@bigpond.net.au>
110
111         * i386-dis.c (OP_M, OP_0f0e, OP_0fae, NOP_Fixup): New functions.
112         (M, Mp): Use OP_M.
113         (None, PADLOCK_SPECIAL, PADLOCK_0): Delete.
114         (GRPPADLCK): Define.
115         (dis386): Use NOP_Fixup on "nop".
116         (dis386_twobyte): Use GRPPADLCK on opcode 0xa7.
117         (twobyte_has_modrm): Set for 0xa7.
118         (padlock_table): Delete.  Move to..
119         (grps): ..here, using OP_0f07.  Use OP_Ofae on lfence, mfence
120         and clflush.
121         (print_insn): Revert PADLOCK_SPECIAL code.
122         (OP_E): Delete sfence, lfence, mfence checks.
123
124 2004-03-12  Jakub Jelinek  <jakub@redhat.com>
125
126         * i386-dis.c (grps): Use INVLPG_Fixup instead of OP_E for invlpg.
127         (INVLPG_Fixup): New function.
128         (PNI_Fixup): Remove ATTRIBUTE_UNUSED from sizeflag.
129
130 2004-03-12  Michal Ludvig  <mludvig@suse.cz>
131
132         * i386-dis.c (PADLOCK_SPECIAL, PADLOCK_0): New defines.
133         (dis386_twobyte): Opcode 0xa7 is PADLOCK_0.
134         (padlock_table): New struct with PadLock instructions.
135         (print_insn): Handle PADLOCK_SPECIAL.
136
137 2004-03-12  Alan Modra  <amodra@bigpond.net.au>
138
139         * i386-dis.c (grps): Use clflush by default for 0x0fae/7.
140         (OP_E): Twiddle clflush to sfence here.
141
142 2004-03-08  Nick Clifton  <nickc@redhat.com>
143
144         * po/de.po: Updated German translation.
145
146 2003-03-03  Andrew Stubbs  <andrew.stubbs@superh.com>
147
148         * sh-dis.c (print_insn_sh): Don't disassemble fp instructions in
149         nofpu mode.  Add BFD type bfd_mach_sh4_nommu_nofpu.
150         * sh-opc.h: Add sh4_nommu_nofpu architecture and adjust instructions
151         accordingly.
152
153 2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
154
155         * frv-asm.c: Regenerate.
156         * frv-desc.c: Regenerate.
157         * frv-desc.h: Regenerate.
158         * frv-dis.c: Regenerate.
159         * frv-ibld.c: Regenerate.
160         * frv-opc.c: Regenerate.
161         * frv-opc.h: Regenerate.
162
163 2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
164
165         * frv-desc.c, frv-opc.c: Regenerate.
166
167 2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
168
169         * frv-desc.c, frv-opc.c, frv-opc.h: Regenerate.
170
171 2004-02-26  Andrew Stubbs  <andrew.stubbs@superh.com>
172
173         * sh-opc.h: Move fsca and fsrra instructions from sh4a to sh4.
174         Also correct mistake in the comment.
175
176 2004-02-26  Andrew Stubbs <andrew.stubbs@superh.com>
177
178         * sh-dis.c (print_insn_sh): Add REG_N_D nibble type to
179         ensure that double registers have even numbers.
180         Add REG_N_B01 for nn01 (binary 01) nibble to ensure
181         that reserved instruction 0xfffd does not decode the same
182         as 0xfdfd (ftrv).
183         * sh-opc.h: Add REG_N_D nibble type and use it whereever
184         REG_N refers to a double register.
185         Add REG_N_B01 nibble type and use it instead of REG_NM
186         in ftrv.
187         Adjust the bit patterns in a few comments.
188
189 2004-02-25  Aldy Hernandez  <aldyh@redhat.com>
190
191         * ppc-opc.c (powerpc_opcodes): Change mask for dcbt and dcbtst.
192
193 2004-02-20  Aldy Hernandez  <aldyh@redhat.com>
194
195         * ppc-opc.c (powerpc_opcodes): Move mfmcsrr0 before mfdc_dat.
196
197 2004-02-20  Aldy Hernandez  <aldyh@redhat.com>
198
199         * ppc-opc.c (powerpc_opcodes): Add m*ivor35.
200
201 2004-02-20  Aldy Hernandez  <aldyh@redhat.com>
202
203         * ppc-opc.c (powerpc_opcodes): Add mfivor32, mfivor33, mfivor34,
204         mtivor32, mtivor33, mtivor34.
205
206 2004-02-19  Aldy Hernandez  <aldyh@redhat.com>
207
208         * ppc-opc.c (powerpc_opcodes): Add mfmcar.
209
210 2004-02-10  Petko Manolov  <petkan@nucleusys.com>
211
212         * arm-opc.h Maverick accumulator register opcode fixes.
213
214 2004-02-13  Ben Elliston  <bje@wasabisystems.com>
215
216         * m32r-dis.c: Regenerate.
217
218 2004-01-27  Michael Snyder  <msnyder@redhat.com>
219
220         * sh-opc.h (sh_table): "fsrra", not "fssra".
221
222 2004-01-23  Andrew Over <andrew.over@cs.anu.edu.au>
223
224         * sparc-opc.c (fdtox, fstox, fqtox, fxtod, fxtos, fxtoq): Tighten
225         contraints.
226
227 2004-01-19  Andrew Over  <andrew.over@cs.anu.edu.au>
228
229         * sparc-opc.c (sparc_opcodes) <f[dsq]tox, fxto[dsq]>: Fix args.
230
231 2004-01-19  Alan Modra  <amodra@bigpond.net.au>
232
233         * i386-dis.c (OP_E): Print scale factor on intel mode sib when not
234         1.  Don't print scale factor on AT&T mode when index missing.
235
236 2004-01-16  Alexandre Oliva  <aoliva@redhat.com>
237
238         * m10300-opc.c (mov): 8- and 24-bit immediates are zero-extended
239         when loaded into XR registers.
240
241 2004-01-14  Richard Sandiford  <rsandifo@redhat.com>
242
243         * frv-desc.h: Regenerate.
244         * frv-desc.c: Regenerate.
245         * frv-opc.c: Regenerate.
246
247 2004-01-13  Michael Snyder  <msnyder@redhat.com>
248
249         * sh-dis.c (print_insn_sh): Allocate 4 bytes for insn.
250
251 2004-01-09  Paul Brook  <paul@codesourcery.com>
252
253         * arm-opc.h (arm_opcodes): Move generic mcrr after known
254         specific opcodes.
255
256 2004-01-07  Daniel Jacobowitz  <drow@mvista.com>
257
258         * Makefile.am (libopcodes_la_DEPENDENCIES)
259         (libopcodes_la_LIBADD): Revert 2003-05-17 change.  Add explanatory
260         comment about the problem.
261         * Makefile.in: Regenerate.
262
263 2004-01-06  Alexandre Oliva  <aoliva@redhat.com>
264
265         2003-12-19  Alexandre Oliva  <aoliva@redhat.com>
266         * frv-asm.c (parse_ulo16, parse_uhi16, parse_d12): Fix some
267         cut&paste errors in shifting/truncating numerical operands.
268         2003-08-04  Alexandre Oliva  <aoliva@redhat.com>
269         * frv-asm.c (parse_ulo16): Parse gotofflo and gotofffuncdesclo.
270         (parse_uslo16): Likewise.
271         (parse_uhi16): Parse gotoffhi and gotofffuncdeschi.
272         (parse_d12): Parse gotoff12 and gotofffuncdesc12.
273         (parse_s12): Likewise.
274         2003-08-04  Alexandre Oliva  <aoliva@redhat.com>
275         * frv-asm.c (parse_ulo16): Parse gotlo and gotfuncdesclo.
276         (parse_uslo16): Likewise.
277         (parse_uhi16): Parse gothi and gotfuncdeschi.
278         (parse_d12): Parse got12 and gotfuncdesc12.
279         (parse_s12): Likewise.
280
281 2004-01-02  Albert Bartoszko  <albar@nt.kegel.com.pl>
282
283         * msp430-dis.c (msp430_doubleoperand): Check for an 'add'
284         instruction which looks similar to an 'rla' instruction.
285
286 For older changes see ChangeLog-0203
287 \f
288 Local Variables:
289 mode: change-log
290 left-margin: 8
291 fill-column: 74
292 version-control: never
293 End: