m32r.opc (parse_slo16): Better version of previous patch.
[external/binutils.git] / cpu / ChangeLog
1 2005-10-18  Andreas Schwab  <schwab@suse.de>
2
3         * m32r.opc (parse_slo16): Better version of previous patch.
4
5 2005-10-14  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
6
7         * cpu/m32r.opc (parse_slo16): Do not assume a 32-bit host word
8         size.
9
10 2005-07-25  DJ Delorie  <dj@redhat.com>
11
12         * m32c.opc (parse_unsigned8): Add %dsp8().
13         (parse_signed8): Add %hi8().
14         (parse_unsigned16): Add %dsp16().
15         (parse_signed16): Add %lo16() and %hi16().
16         (parse_lab_5_3): Make valuep a bfd_vma *.
17
18 2005-07-18  Nick Clifton  <nickc@redhat.com>
19
20         * m32c.cpu (f-16-8, f-24-8, f-32-16, f-dsp-8-u24): New opcode
21         components.
22         (f-lab32-jmp-s): Fix insertion sequence.
23         (Dsp-8-u24, Lab-5-3, Lab32-jmp-s): New operands.
24         (Dsp-40-s8): Make parameter be signed.
25         (Dsp-40-s16): Likewise.
26         (Dsp-48-s8): Likewise.
27         (Dsp-48-s16): Likewise.
28         (Imm-13-u3): Likewise. (Despite its name!)
29         (BitBase16-16-s8): Make the parameter be unsigned.
30         (BitBase16-8-u11-S): Likewise.
31         (Lab-8-8, Lab-8-16, Lab-16-8, jcnd16-5, jcnd16, jcnd32, jmp16.s,
32         jmp16.b, jmp16.w, jmp32.s, jmp32.b, jmp32.w, jsp16.w, jsr32.w): Allow
33         relaxation.
34
35         * m32c.opc: Fix formatting.
36         Use safe-ctype.h instead of ctype.h
37         Move duplicated code sequences into a macro.
38         Fix compile time warnings about signedness mismatches.
39         Remove dead code.
40         (parse_lab_5_3): New parser function.
41         
42 2005-07-16  Jim Blandy  <jimb@redhat.com>
43
44         * m32c.opc (m32c_cgen_insn_supported): Use int, not CGEN_BITSET,
45         to represent isa sets.
46
47 2005-07-15  Jim Blandy  <jimb@redhat.com>
48
49         * m32c.cpu, m32c.opc: Fix copyright.
50
51 2005-07-14  Jim Blandy  <jimb@redhat.com>
52
53         * m32c.cpu, m32c.opc: Machine description for the Renesas M32C.
54
55 2005-07-14  Alan Modra  <amodra@bigpond.net.au>
56
57         * ms1.opc (print_dollarhex): Correct format string.
58
59 2005-07-06  Alan Modra  <amodra@bigpond.net.au>
60
61         * iq2000.cpu: Include from binutils cpu dir.
62
63 2005-07-05  Nick Clifton  <nickc@redhat.com>
64
65         * iq2000.opc (parse_lo16, parse_mlo16): Make value parameter
66         unsigned in order to avoid compile time warnings about sign
67         conflicts.
68
69         * ms1.opc (parse_*): Likewise.
70         (parse_imm16): Use a "void *" as it is passed both signed and
71         unsigned arguments.
72
73 2005-07-01  Nick Clifton  <nickc@redhat.com>
74
75         * frv.opc: Update to ISO C90 function declaration style.
76         * iq2000.opc: Likewise.
77         * m32r.opc: Likewise.
78         * sh.opc: Likewise.
79
80 2005-06-15  Dave Brolley  <brolley@redhat.com>
81
82         Contributed by Red Hat.
83         * ms1.cpu: New file.  Written by Nick Clifton, Stan Cox.
84         * ms1.opc: New file.  Written by Stan Cox.
85
86 2005-05-10  Nick Clifton  <nickc@redhat.com>
87
88         * Update the address and phone number of the FSF organization in
89         the GPL notices in the following files:
90         cris.cpu, frv.cpu, frv.opc, iq10.cpu, iq2000.opc, iq2000m.cpu,
91         m32r.cpu, m32r.opc, sh.cpu, sh.opc, sh64-compact.cpu,
92         sh64-media.cpu, simplify.inc
93
94 2005-02-24  Alan Modra  <amodra@bigpond.net.au>
95
96         * frv.opc (parse_A): Warning fix.
97
98 2005-02-23  Nick Clifton  <nickc@redhat.com>
99
100         * frv.opc: Fixed compile time warnings about differing signed'ness
101         of pointers passed to functions.
102         * m32r.opc: Likewise.
103
104 2005-02-11  Nick Clifton  <nickc@redhat.com>
105
106         * iq2000.opc (parse_jtargq10): Change type of valuep argument to
107         'bfd_vma *' in order avoid compile time warning message.
108
109 2005-01-28  Hans-Peter Nilsson  <hp@axis.com>
110
111         * cris.cpu (mstep): Add missing insn.
112
113 2005-01-25  Alexandre Oliva  <aoliva@redhat.com>
114
115         2004-11-10  Alexandre Oliva  <aoliva@redhat.com>
116         * frv.cpu: Add support for TLS annotations in loads and calll.
117         * frv.opc (parse_symbolic_address): New.
118         (parse_ldd_annotation): New.
119         (parse_call_annotation): New.
120         (parse_ld_annotation): New.
121         (parse_ulo16, parse_uslo16): Use parse_symbolic_address.
122         Introduce TLS relocations.
123         (parse_d12, parse_s12, parse_u12): Likewise.
124         (parse_uhi16): Likewise.  Fix constant checking on 64-bit host.
125         (parse_call_label, print_at): New.
126
127 2004-12-21  Mikael Starvik  <starvik@axis.com>
128
129         * cris.cpu (cris-set-mem): Correct integral write semantics.
130
131 2004-11-29  Hans-Peter Nilsson  <hp@axis.com>
132
133         * cris.cpu: New file.
134
135 2004-11-15  Michael K. Lechner <mike.lechner@gmail.com>
136
137         * iq2000.cpu: Added quotes around macro arguments so that they
138         will work with newer versions of guile.
139
140 2004-10-27  Nick Clifton  <nickc@redhat.com>
141
142         * iq2000m.cpu (pkrlr1, pkrlr30, rbr1, rbr30, rxr1, rxr30, wbr1,
143         wbr1u, wbr30, wbr30u, wxr1, wxr1u, wxr30, wxr30u): Add an index
144         operand.
145         * iq2000.cpu (dnop index): Rename to _index to avoid complications
146         with guile.
147
148 2004-08-27  Richard Sandiford  <rsandifo@redhat.com>
149
150         * frv.cpu (cfmovs): Change UNIT attribute to FMALL.
151
152 2004-05-15  Nick Clifton  <nickc@redhat.com>
153
154         * iq2000.opc (iq2000_cgen_insn_supported): Make 'insn' argument const.
155
156 2004-03-30  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
157
158         * m32r.opc (parse_hi16): Fixed shigh(0xffff8000) bug.
159
160 2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
161
162         * frv.cpu (define-arch frv): Add fr450 mach.
163         (define-mach fr450): New.
164         (define-model fr450): New.  Add profile units to every fr450 insn.
165         (define-attr UNIT): Add MDCUTSSI.
166         (define-attr FR450-MAJOR): New enum.  Add to every fr450 insn.
167         (define-attr AUDIO): New boolean.
168         (f-LRAE, f-LRAD, f-LRAS, f-TLBPRopx, f-TLBPRL)
169         (f-LRA-null, f-TLBPR-null): New fields.
170         (scr0, scr1, scr2, scr3, imavr1, damvr1, cxnr, ttbr)
171         (tplr, tppr, tpxr, timerh, timerl, timerd, btbr): New SPRs.
172         (LRAE, LRAD, LRAS, TLBPRopx, TLBPRL): New operands.
173         (LRA-null, TLBPR-null): New macros.
174         (iacc-multiply-r-r, slass, scutss, int-arith-ss-r-r): Add AUDIO attr.
175         (load-real-address): New macro.
176         (lrai, lrad, tlbpr): New instructions.
177         (media-cut-acc, media-cut-acc-ss): Add fr450-major argument.
178         (mcut, mcuti, mcutss, mcutssi): Adjust accordingly.
179         (mdcutssi): Change UNIT attribute to MDCUTSSI.
180         (media-low-clear-semantics, media-scope-limit-semantics)
181         (media-quad-limit, media-quad-shift): New macros.
182         (mqlclrhs, mqlmths, mqsllhi, mqsrahi): New instructions.
183         * frv.opc (frv_is_branch_major, frv_is_float_major, frv_is_media_major)
184         (frv_is_branch_insn, frv_is_float_insn, frv_is_media_insn)
185         (frv_vliw_reset, frv_vliw_add_insn): Handle bfd_mach_fr450.
186         (fr450_unit_mapping): New array.
187         (fr400_unit_mapping, fr500_unit_mapping, fr550_unit_mapping): Add entry
188         for new MDCUTSSI unit.
189         (fr450_check_insn_major_constraints): New function.
190         (check_insn_major_constraints): Use it.
191
192 2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
193
194         * frv.cpu (nsdiv, nudiv, nsdivi, nudivi): Remove fr400 profiling unit.
195         (scutss): Change unit to I0.
196         (calll, callil, ccalll): Add missing FR550-MAJOR and profile unit.
197         (mqsaths): Fix FR400-MAJOR categorization.
198         (media-quad-multiply-cross-acc, media-quad-cross-multiply-cross-acc)
199         (media-quad-cross-multiply-acc): Change unit from MDUALACC to FMALL.
200         * frv.opc (fr400_check_insn_major_constraints): Check for (M-2,M-1)
201         combinations.
202
203 2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
204
205         * frv.cpu (r-store, r-store-dual, r-store-quad): Delete.
206         (rstb, rsth, rst, rstd, rstq): Delete.
207         (rstbf, rsthf, rstf, rstdf, rstqf): Delete.
208
209 2004-02-23  Nick Clifton  <nickc@redhat.com>
210
211         * Apply these patches from Renesas:
212
213         2004-02-10  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
214
215         * cpu/m32r.opc (my_print_insn): Fixed incorrect output when
216         disassembling codes for 0x*2 addresses.
217
218         2003-12-15  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
219
220         * cpu/m32r.cpu: Add PIPE_O attribute to "pop" instruction.
221
222         2003-12-03  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
223
224         * cpu/m32r.cpu : Add new model m32r2.
225         Add new instructions.
226         Replace occurrances of 'Mitsubishi' with 'Renesas'.
227         Changed PIPE attr of push from O to OS.
228         Care for Little-endian of M32R.
229         * cpu/m32r.opc (CGEN_DIS_HASH, my_print_insn):
230         Care for Little-endian of M32R.
231         (parse_slo16): signed extension for value.
232
233 2004-02-20  Andrew Cagney  <cagney@redhat.com>
234
235         * m32r.opc, m32r.cpu: New files.  Written by , Doug Evans, Nick
236         Clifton, Ben Elliston, Matthew Green, and Andrew Haley.
237
238         * sh.cpu, sh.opc, sh64-compact.cpu, sh64-media.cpu: New files, all
239         written by Ben Elliston.
240
241 2004-01-14  Richard Sandiford  <rsandifo@redhat.com>
242
243         * frv.cpu (UNIT): Add IACC.
244         (iacc-multiply-r-r): Use it.
245         * frv.opc (fr400_unit_mapping): Add entry for IACC.
246         (fr500_unit_mapping, fr550_unit_mapping): Likewise.
247
248 2004-01-06  Alexandre Oliva  <aoliva@redhat.com>
249
250         2003-12-19  Alexandre Oliva  <aoliva@redhat.com>
251         * frv.opc (parse_ulo16, parse_uhi16, parse_d12): Fix some
252         cut&paste errors in shifting/truncating numerical operands.
253         2003-08-08  Alexandre Oliva  <aoliva@redhat.com>
254         * frv.opc (parse_ulo16): Parse gotofflo and gotofffuncdesclo.
255         (parse_uslo16): Likewise.
256         (parse_uhi16): Parse gotoffhi and gotofffuncdeschi.
257         (parse_d12): Parse gotoff12 and gotofffuncdesc12.
258         (parse_s12): Likewise.
259         2003-08-04  Alexandre Oliva  <aoliva@redhat.com>
260         * frv.opc (parse_ulo16): Parse gotlo and gotfuncdesclo.
261         (parse_uslo16): Likewise.
262         (parse_uhi16): Parse gothi and gotfuncdeschi.
263         (parse_d12): Parse got12 and gotfuncdesc12.
264         (parse_s12): Likewise.
265
266 2003-10-10  Dave Brolley  <brolley@redhat.com>
267
268         * frv.cpu (dnpmop): New p-macro.
269         (GRdoublek): Use dnpmop.
270         (CPRdoublek, FRdoublei, FRdoublej, FRdoublek): Ditto.
271         (store-double-r-r): Use (.sym regtype doublek).
272         (r-store-double): Ditto.
273         (store-double-r-r-u): Ditto.
274         (conditional-store-double): Ditto.
275         (conditional-store-double-u): Ditto.
276         (store-double-r-simm): Ditto.
277         (fmovs): Assign to UNIT FMALL.
278
279 2003-10-06  Dave Brolley  <brolley@redhat.com>
280
281         * frv.cpu, frv.opc: Add support for fr550.
282
283 2003-09-24  Dave Brolley  <brolley@redhat.com>
284
285         * frv.cpu (u-commit): New modelling unit for fr500.
286         (mwtaccg): Use frv_ref_SI to reference ACC40Sk as an input operand.
287         (commit-r): Use u-commit model for fr500.
288         (commit): Ditto.
289         (conditional-float-binary-op): Take profiling data as an argument.
290         Update callers.
291         (ne-float-binary-op): Ditto.
292
293 2003-09-19  Michael Snyder  <msnyder@redhat.com>
294
295         * frv.cpu (nldqi): Delete unimplemented instruction.
296
297 2003-09-12  Dave Brolley  <brolley@redhat.com>
298
299         * frv.cpu (u-clrgr, u-clrfr): New units of model fr500.
300         (clear-ne-flag-r): Pass insn profiling in as an argument. Call
301         frv_ref_SI to get input register referenced for profiling.
302         (clear-ne-flag-all): Pass insn profiling in as an argument.
303         (clrgr,clrfr,clrga,clrfa): Add profiling information.
304
305 2003-09-11  Michael Snyder  <msnyder@redhat.com>
306
307         * frv.cpu: Typographical corrections.
308
309 2003-09-09  Dave Brolley  <brolley@redhat.com>
310
311         * frv.cpu (media-dual-complex): Change UNIT to FMALL.
312         (conditional-media-dual-complex, media-quad-complex): Likewise.
313
314 2003-09-04  Dave Brolley  <brolley@redhat.com>
315
316         * frv.cpu (register-transfer): Pass in all attributes in on argument.
317         Update all callers.
318         (conditional-register-transfer): Ditto.
319         (cache-preload): Ditto.
320         (floating-point-conversion): Ditto.
321         (floating-point-neg): Ditto.
322         (float-abs): Ditto.
323         (float-binary-op-s): Ditto.
324         (conditional-float-binary-op): Ditto.
325         (ne-float-binary-op): Ditto.
326         (float-dual-arith): Ditto.
327         (ne-float-dual-arith): Ditto.
328
329 2003-09-03  Dave Brolley  <brolley@redhat.com>
330
331         * frv.opc (parse_A, parse_A0, parse_A1): New parse handlers.
332         * frv.cpu (UNIT): Add IALL, FMALL, FMLOW, STORE, SCAN, DCPL, MDUALACC,
333         MCLRACC-1.
334         (A): Removed operand.
335         (A0,A1): New operands replace operand A.
336         (mnop): Now a real insn
337         (mclracc): Removed insn.
338         (mclracc-0, mclracc-1): New insns replace mclracc.
339         (all insns): Use new UNIT attributes.
340
341 2003-08-21  Nick Clifton  <nickc@redhat.com>
342
343         * frv.cpu (mbtoh): Replace input parameter to u-media-dual-expand
344         and u-media-dual-btoh with output parameter.
345         (cmbtoh): Add profiling hack.
346
347 2003-08-19  Michael Snyder  <msnyder@redhat.com>
348
349         * frv.cpu: Fix typo, Frintkeven -> FRintkeven
350
351 2003-06-10  Doug Evans  <dje@sebabeach.org>
352
353         * frv.cpu: Add IDOC attribute.
354
355 2003-06-06  Andrew Cagney  <cagney@redhat.com>
356
357         Contributed by Red Hat.
358         * iq2000.cpu: New file.  Written by Ben Elliston, Jeff Johnston,
359         Stan Cox, and Frank Ch. Eigler.
360         * iq2000.opc: New file.  Written by Ben Elliston, Frank
361         Ch. Eigler, Chris Moller, Jeff Johnston, and Stan Cox.
362         * iq2000m.cpu: New file.  Written by Jeff Johnston.
363         * iq10.cpu: New file.  Written by Jeff Johnston.
364
365 2003-06-05  Nick Clifton  <nickc@redhat.com>
366
367         * frv.cpu (FRintieven): New operand.  An even-numbered only
368         version of the FRinti operand.
369         (FRintjeven): Likewise for FRintj.
370         (FRintkeven): Likewise for FRintk.
371         (mdcutssi, media-dual-word-rotate-r-r, mqsaths,
372         media-quad-arith-sat-semantics, media-quad-arith-sat,
373         conditional-media-quad-arith-sat, mdunpackh,
374         media-quad-multiply-semantics, media-quad-multiply,
375         conditional-media-quad-multiply, media-quad-complex-i,
376         media-quad-multiply-acc-semantics, media-quad-multiply-acc,
377         conditional-media-quad-multiply-acc, munpackh,
378         media-quad-multiply-cross-acc-semantics, mdpackh,
379         media-quad-multiply-cross-acc, mbtoh-semantics,
380         media-quad-cross-multiply-cross-acc-semantics,
381         media-quad-cross-multiply-cross-acc, mbtoh, mhtob-semantics,
382         media-quad-cross-multiply-acc-semantics, cmbtoh,
383         media-quad-cross-multiply-acc, media-quad-complex, mhtob,
384         media-expand-halfword-to-double-semantics, mexpdhd, cmexpdhd,
385         cmhtob): Use new operands.
386         * frv.opc (CGEN_VERBOSE_ASSEMBLER_ERRORS): Define.
387         (parse_even_register): New function.
388
389 2003-06-03  Nick Clifton  <nickc@redhat.com>
390
391         * frv.cpu (media-dual-word-rotate-r-r): Use a signed 6-bit
392         immediate value not unsigned.
393
394 2003-06-03  Andrew Cagney  <cagney@redhat.com>
395
396         Contributed by Red Hat.
397         * frv.cpu: New file.  Written by Dave Brolley, Catherine Moore,
398         and Eric Christopher.
399         * frv.opc: New file.  Written by Catherine Moore, and Dave
400         Brolley.
401         * simplify.inc: New file.  Written by Doug Evans.
402
403 2003-05-02  Andrew Cagney  <cagney@redhat.com>
404
405         * New file.
406
407 \f
408 Local Variables:
409 mode: change-log
410 left-margin: 8
411 fill-column: 74
412 version-control: never
413 End: