OSDN Git Service

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