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