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