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