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