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