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