Add an index operand to some of the iq2000 co-processor instructions
[platform/upstream/binutils.git] / cpu / ChangeLog
1 2004-10-27  Nick Clifton  <nickc@redhat.com>
2
3         * iq2000m.cpu (pkrlr1, pkrlr30, rbr1, rbr30, rxr1, rxr30, wbr1,
4         wbr1u, wbr30, wbr30u, wxr1, wxr1u, wxr30, wxr30u): Add an index
5         operand.
6         * iq2000.cpu (dnop index): Rename to _index to avoid complications
7         with guile.
8
9 2004-08-27  Richard Sandiford  <rsandifo@redhat.com>
10
11         * frv.cpu (cfmovs): Change UNIT attribute to FMALL.
12
13 2004-05-15  Nick Clifton  <nickc@redhat.com>
14
15         * iq2000.opc (iq2000_cgen_insn_supported): Make 'insn' argument const.
16
17 2004-03-30  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
18
19         * m32r.opc (parse_hi16): Fixed shigh(0xffff8000) bug.
20
21 2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
22
23         * frv.cpu (define-arch frv): Add fr450 mach.
24         (define-mach fr450): New.
25         (define-model fr450): New.  Add profile units to every fr450 insn.
26         (define-attr UNIT): Add MDCUTSSI.
27         (define-attr FR450-MAJOR): New enum.  Add to every fr450 insn.
28         (define-attr AUDIO): New boolean.
29         (f-LRAE, f-LRAD, f-LRAS, f-TLBPRopx, f-TLBPRL)
30         (f-LRA-null, f-TLBPR-null): New fields.
31         (scr0, scr1, scr2, scr3, imavr1, damvr1, cxnr, ttbr)
32         (tplr, tppr, tpxr, timerh, timerl, timerd, btbr): New SPRs.
33         (LRAE, LRAD, LRAS, TLBPRopx, TLBPRL): New operands.
34         (LRA-null, TLBPR-null): New macros.
35         (iacc-multiply-r-r, slass, scutss, int-arith-ss-r-r): Add AUDIO attr.
36         (load-real-address): New macro.
37         (lrai, lrad, tlbpr): New instructions.
38         (media-cut-acc, media-cut-acc-ss): Add fr450-major argument.
39         (mcut, mcuti, mcutss, mcutssi): Adjust accordingly.
40         (mdcutssi): Change UNIT attribute to MDCUTSSI.
41         (media-low-clear-semantics, media-scope-limit-semantics)
42         (media-quad-limit, media-quad-shift): New macros.
43         (mqlclrhs, mqlmths, mqsllhi, mqsrahi): New instructions.
44         * frv.opc (frv_is_branch_major, frv_is_float_major, frv_is_media_major)
45         (frv_is_branch_insn, frv_is_float_insn, frv_is_media_insn)
46         (frv_vliw_reset, frv_vliw_add_insn): Handle bfd_mach_fr450.
47         (fr450_unit_mapping): New array.
48         (fr400_unit_mapping, fr500_unit_mapping, fr550_unit_mapping): Add entry
49         for new MDCUTSSI unit.
50         (fr450_check_insn_major_constraints): New function.
51         (check_insn_major_constraints): Use it.
52
53 2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
54
55         * frv.cpu (nsdiv, nudiv, nsdivi, nudivi): Remove fr400 profiling unit.
56         (scutss): Change unit to I0.
57         (calll, callil, ccalll): Add missing FR550-MAJOR and profile unit.
58         (mqsaths): Fix FR400-MAJOR categorization.
59         (media-quad-multiply-cross-acc, media-quad-cross-multiply-cross-acc)
60         (media-quad-cross-multiply-acc): Change unit from MDUALACC to FMALL.
61         * frv.opc (fr400_check_insn_major_constraints): Check for (M-2,M-1)
62         combinations.
63
64 2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
65
66         * frv.cpu (r-store, r-store-dual, r-store-quad): Delete.
67         (rstb, rsth, rst, rstd, rstq): Delete.
68         (rstbf, rsthf, rstf, rstdf, rstqf): Delete.
69
70 2004-02-23  Nick Clifton  <nickc@redhat.com>
71
72         * Apply these patches from Renesas:
73
74         2004-02-10  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
75
76         * cpu/m32r.opc (my_print_insn): Fixed incorrect output when
77         disassembling codes for 0x*2 addresses.
78
79         2003-12-15  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
80
81         * cpu/m32r.cpu: Add PIPE_O attribute to "pop" instruction.
82
83         2003-12-03  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
84
85         * cpu/m32r.cpu : Add new model m32r2.
86         Add new instructions.
87         Replace occurrances of 'Mitsubishi' with 'Renesas'.
88         Changed PIPE attr of push from O to OS.
89         Care for Little-endian of M32R.
90         * cpu/m32r.opc (CGEN_DIS_HASH, my_print_insn):
91         Care for Little-endian of M32R.
92         (parse_slo16): signed extension for value.
93
94 2004-02-20  Andrew Cagney  <cagney@redhat.com>
95
96         * m32r.opc, m32r.cpu: New files.  Written by , Doug Evans, Nick
97         Clifton, Ben Elliston, Matthew Green, and Andrew Haley.
98
99         * sh.cpu, sh.opc, sh64-compact.cpu, sh64-media.cpu: New files, all
100         written by Ben Elliston.
101
102 2004-01-14  Richard Sandiford  <rsandifo@redhat.com>
103
104         * frv.cpu (UNIT): Add IACC.
105         (iacc-multiply-r-r): Use it.
106         * frv.opc (fr400_unit_mapping): Add entry for IACC.
107         (fr500_unit_mapping, fr550_unit_mapping): Likewise.
108
109 2004-01-06  Alexandre Oliva  <aoliva@redhat.com>
110
111         2003-12-19  Alexandre Oliva  <aoliva@redhat.com>
112         * frv.opc (parse_ulo16, parse_uhi16, parse_d12): Fix some
113         cut&paste errors in shifting/truncating numerical operands.
114         2003-08-08  Alexandre Oliva  <aoliva@redhat.com>
115         * frv.opc (parse_ulo16): Parse gotofflo and gotofffuncdesclo.
116         (parse_uslo16): Likewise.
117         (parse_uhi16): Parse gotoffhi and gotofffuncdeschi.
118         (parse_d12): Parse gotoff12 and gotofffuncdesc12.
119         (parse_s12): Likewise.
120         2003-08-04  Alexandre Oliva  <aoliva@redhat.com>
121         * frv.opc (parse_ulo16): Parse gotlo and gotfuncdesclo.
122         (parse_uslo16): Likewise.
123         (parse_uhi16): Parse gothi and gotfuncdeschi.
124         (parse_d12): Parse got12 and gotfuncdesc12.
125         (parse_s12): Likewise.
126
127 2003-10-10  Dave Brolley  <brolley@redhat.com>
128
129         * frv.cpu (dnpmop): New p-macro.
130         (GRdoublek): Use dnpmop.
131         (CPRdoublek, FRdoublei, FRdoublej, FRdoublek): Ditto.
132         (store-double-r-r): Use (.sym regtype doublek).
133         (r-store-double): Ditto.
134         (store-double-r-r-u): Ditto.
135         (conditional-store-double): Ditto.
136         (conditional-store-double-u): Ditto.
137         (store-double-r-simm): Ditto.
138         (fmovs): Assign to UNIT FMALL.
139
140 2003-10-06  Dave Brolley  <brolley@redhat.com>
141
142         * frv.cpu, frv.opc: Add support for fr550.
143
144 2003-09-24  Dave Brolley  <brolley@redhat.com>
145
146         * frv.cpu (u-commit): New modelling unit for fr500.
147         (mwtaccg): Use frv_ref_SI to reference ACC40Sk as an input operand.
148         (commit-r): Use u-commit model for fr500.
149         (commit): Ditto.
150         (conditional-float-binary-op): Take profiling data as an argument.
151         Update callers.
152         (ne-float-binary-op): Ditto.
153
154 2003-09-19  Michael Snyder  <msnyder@redhat.com>
155
156         * frv.cpu (nldqi): Delete unimplemented instruction.
157
158 2003-09-12  Dave Brolley  <brolley@redhat.com>
159
160         * frv.cpu (u-clrgr, u-clrfr): New units of model fr500.
161         (clear-ne-flag-r): Pass insn profiling in as an argument. Call
162         frv_ref_SI to get input register referenced for profiling.
163         (clear-ne-flag-all): Pass insn profiling in as an argument.
164         (clrgr,clrfr,clrga,clrfa): Add profiling information.
165
166 2003-09-11  Michael Snyder  <msnyder@redhat.com>
167
168         * frv.cpu: Typographical corrections.
169
170 2003-09-09  Dave Brolley  <brolley@redhat.com>
171
172         * frv.cpu (media-dual-complex): Change UNIT to FMALL.
173         (conditional-media-dual-complex, media-quad-complex): Likewise.
174
175 2003-09-04  Dave Brolley  <brolley@redhat.com>
176
177         * frv.cpu (register-transfer): Pass in all attributes in on argument.
178         Update all callers.
179         (conditional-register-transfer): Ditto.
180         (cache-preload): Ditto.
181         (floating-point-conversion): Ditto.
182         (floating-point-neg): Ditto.
183         (float-abs): Ditto.
184         (float-binary-op-s): Ditto.
185         (conditional-float-binary-op): Ditto.
186         (ne-float-binary-op): Ditto.
187         (float-dual-arith): Ditto.
188         (ne-float-dual-arith): Ditto.
189
190 2003-09-03  Dave Brolley  <brolley@redhat.com>
191
192         * frv.opc (parse_A, parse_A0, parse_A1): New parse handlers.
193         * frv.cpu (UNIT): Add IALL, FMALL, FMLOW, STORE, SCAN, DCPL, MDUALACC,
194         MCLRACC-1.
195         (A): Removed operand.
196         (A0,A1): New operands replace operand A.
197         (mnop): Now a real insn
198         (mclracc): Removed insn.
199         (mclracc-0, mclracc-1): New insns replace mclracc.
200         (all insns): Use new UNIT attributes.
201
202 2003-08-21  Nick Clifton  <nickc@redhat.com>
203
204         * frv.cpu (mbtoh): Replace input parameter to u-media-dual-expand
205         and u-media-dual-btoh with output parameter.
206         (cmbtoh): Add profiling hack.
207
208 2003-08-19  Michael Snyder  <msnyder@redhat.com>
209
210         * frv.cpu: Fix typo, Frintkeven -> FRintkeven
211
212 2003-06-10  Doug Evans  <dje@sebabeach.org>
213
214         * frv.cpu: Add IDOC attribute.
215
216 2003-06-06  Andrew Cagney  <cagney@redhat.com>
217
218         Contributed by Red Hat.
219         * iq2000.cpu: New file.  Written by Ben Elliston, Jeff Johnston,
220         Stan Cox, and Frank Ch. Eigler.
221         * iq2000.opc: New file.  Written by Ben Elliston, Frank
222         Ch. Eigler, Chris Moller, Jeff Johnston, and Stan Cox.
223         * iq2000m.cpu: New file.  Written by Jeff Johnston.
224         * iq10.cpu: New file.  Written by Jeff Johnston.
225
226 2003-06-05  Nick Clifton  <nickc@redhat.com>
227
228         * frv.cpu (FRintieven): New operand.  An even-numbered only
229         version of the FRinti operand.
230         (FRintjeven): Likewise for FRintj.
231         (FRintkeven): Likewise for FRintk.
232         (mdcutssi, media-dual-word-rotate-r-r, mqsaths,
233         media-quad-arith-sat-semantics, media-quad-arith-sat,
234         conditional-media-quad-arith-sat, mdunpackh,
235         media-quad-multiply-semantics, media-quad-multiply,
236         conditional-media-quad-multiply, media-quad-complex-i,
237         media-quad-multiply-acc-semantics, media-quad-multiply-acc,
238         conditional-media-quad-multiply-acc, munpackh,
239         media-quad-multiply-cross-acc-semantics, mdpackh,
240         media-quad-multiply-cross-acc, mbtoh-semantics,
241         media-quad-cross-multiply-cross-acc-semantics,
242         media-quad-cross-multiply-cross-acc, mbtoh, mhtob-semantics,
243         media-quad-cross-multiply-acc-semantics, cmbtoh,
244         media-quad-cross-multiply-acc, media-quad-complex, mhtob,
245         media-expand-halfword-to-double-semantics, mexpdhd, cmexpdhd,
246         cmhtob): Use new operands.
247         * frv.opc (CGEN_VERBOSE_ASSEMBLER_ERRORS): Define.
248         (parse_even_register): New function.
249
250 2003-06-03  Nick Clifton  <nickc@redhat.com>
251
252         * frv.cpu (media-dual-word-rotate-r-r): Use a signed 6-bit
253         immediate value not unsigned.
254
255 2003-06-03  Andrew Cagney  <cagney@redhat.com>
256
257         Contributed by Red Hat.
258         * frv.cpu: New file.  Written by Dave Brolley, Catherine Moore,
259         and Eric Christopher.
260         * frv.opc: New file.  Written by Catherine Moore, and Dave
261         Brolley.
262         * simplify.inc: New file.  Written by Doug Evans.
263
264 2003-05-02  Andrew Cagney  <cagney@redhat.com>
265
266         * New file.
267
268 \f
269 Local Variables:
270 mode: change-log
271 left-margin: 8
272 fill-column: 74
273 version-control: never
274 End: