939544c8a8c16122b542da85d145a6990e9828cf
[external/binutils.git] / cpu / ChangeLog
1 2010-01-24  Doug Evans  <dje@sebabeach.org>
2
3         * frv.cpu (floating-point-conversion): Update call to fp conv op.
4         (floating-point-dual-conversion, ne-floating-point-dual-conversion,
5         conditional-floating-point-conversion, ne-floating-point-conversion,
6         float-parallel-mul-add-double-semantics): Ditto.
7
8 2010-01-05  Doug Evans  <dje@sebabeach.org>
9
10         * m32c.cpu (f-dsp-32-u24): Fix mode of extract handler.
11         (f-dsp-40-u20, f-dsp-40-u24): Ditto.
12
13 2010-01-02  Doug Evans  <dje@sebabeach.org>
14
15         * m32c.opc (parse_signed16): Fix typo.
16
17 2009-12-11  Nick Clifton  <nickc@redhat.com>
18
19         * frv.opc: Fix shadowed variable warnings.
20         * m32c.opc: Fix shadowed variable warnings.
21
22 2009-11-14  Doug Evans  <dje@sebabeach.org>
23
24         Must use VOID expression in VOID context.
25         * xc16x.cpu (mov4): Fix mode of `sequence'.
26         (mov9, mov10): Ditto.
27         (movbsrr, moveb1, jmprel, jmpseg, jmps): Fix mode of `if'.
28         (callr, callseg, calls, trap, rets, reti): Ditto.
29         (jb, jbc, jnb, jnbs): Fix mode of `if'.  Comment out no-op `sll'.
30         (atomic, extr, extp, extp1, extpg1, extpr, extpr1): Fix mode of `cond'.
31         (exts, exts1, extsr, extsr1, prior): Ditto.
32
33 2009-10-23  Doug Evans  <dje@sebabeach.org>
34
35         * m32c.opc (opc.h): cgen-types.h -> cgen/basic-modes.h.
36         cgen-ops.h -> cgen/basic-ops.h.
37
38 2009-09-25  Alan Modra  <amodra@bigpond.net.au>
39
40         * m32r.cpu (stb-plus): Typo fix.
41
42 2009-09-23  Doug Evans  <dje@sebabeach.org>
43
44         * m32r.cpu (sth-plus): Fix address mode and calculation.
45         (stb-plus): Ditto.
46         (clrpsw): Fix mask calculation.
47         (bset, bclr, btst): Make mode in bit calculation match expression.
48
49         * xc16x.cpu (rtl-version): Set to 0.8.
50         (gr-names, ext-names,psw-names): Update, print-name -> enum-prefix,
51         make uppercase.  Remove unnecessary name-prefix spec.
52         (grb-names, conditioncode-names, extconditioncode-names): Ditto.
53         (grb8-names, r8-names, regmem8-names, regdiv8-names): Ditto.
54         (reg0-name, reg0-name1, regbmem8-names, memgr8-names): Ditto.
55         (h-cr): New hardware.
56         (muls): Comment out parts that won't compile, add fixme.
57         (mulu, divl, divlu, jmpabs, jmpa-, jmprel, jbc, jnbs, callr): Ditto.
58         (scxti, scxtmg, scxtm, bclear, bclr18, bset19, bitset, bmov): Ditto.
59         (bmovn, band, bor, bxor, bcmp, bfldl, bfldh): Ditto.
60
61 2009-07-16  Doug Evans  <dje@sebabeach.org>
62
63         * cpu/simplify.inc (*): One line doc strings don't need \n.
64         (df): Invoke define-full-ifield instead of claiming it's an alias.
65         (dno): Define.
66         (dnop): Mark as deprecated.
67
68 2009-06-22  Alan Modra  <amodra@bigpond.net.au>
69
70         * m32c.opc (parse_lab_5_3): Use correct enum.
71
72 2009-01-07  Hans-Peter Nilsson  <hp@axis.com>
73
74         * frv.cpu (mabshs): Explicitly sign-extend arguments of abs to DI.
75         (DI-ext-HI, DI-ext-UHI, DI-ext-DI): New pmacros.
76         (media-arith-sat-semantics): Explicitly sign- or zero-extend
77         arguments of "operation" to DI using "mode" and the new pmacros.
78
79 2009-01-03  Hans-Peter Nilsson  <hp@axis.com>
80
81         * cris.cpu (cris-implemented-writable-specregs-v32): Correct size
82         of number 2, PID.
83
84 2008-12-23  Jon Beniston <jon@beniston.com>
85
86         * lm32.cpu: New file.
87         * lm32.opc: New file.
88
89 2008-01-29  Alan Modra  <amodra@bigpond.net.au>
90
91         * mt.opc (parse_imm16): Apply 2007-09-26 opcodes/mt-asm.c change
92         to source.
93
94 2007-10-22  Hans-Peter Nilsson  <hp@axis.com>
95
96         * cris.cpu (movs, movu): Use result of extension operation when
97         updating flags.
98
99 2007-07-04  Nick Clifton  <nickc@redhat.com>
100
101         * cris.cpu: Update copyright notice to refer to GPLv3.
102         * frv.cpu, frv.opc, iq10.cpu, iq2000m.cpu, iq2000.opc, m32c.cpu,
103         m32c.opc, m32r.cpu, m32r.opc, mt.cpu, mt.opc, sh64-compact.cpu,
104         sh64-media.cpu, sh.cpu, sh.opc, simplify.inc, xc16x.cpu,
105         xc16x.opc: Likewise.
106         * iq2000.cpu: Fix copyright notice to refer to FSF.
107
108 2007-04-30  Mark Salter  <msalter@sadr.localdomain>
109
110         * frv.cpu (spr-names): Support new coprocessor SPR registers.
111
112 2007-04-20  Nick Clifton  <nickc@redhat.com>
113
114         * xc16x.cpu: Restore after accidentally overwriting this file with
115         xc16x.opc.
116
117 2007-03-29  DJ Delorie  <dj@redhat.com>
118
119         * m32c.cpu (Imm-8-s4n): Fix print hook.
120         (Lab-24-8, Lab-32-8, Lab-40-8): Fix.
121         (arith-jnz-imm4-dst-defn): Make relaxable.
122         (arith-jnz16-imm4-dst-defn): Fix encodings.
123
124 2007-03-20  DJ Delorie  <dj@redhat.com>
125
126         * m32c.cpu (f-dsp-40-u20, f-dsp-48-u20, Dsp-40-u20, Dsp-40-u20,
127         mem20): New.
128         (src16-16-20-An-relative-*): New.
129         (dst16-*-20-An-relative-*): New.
130         (dst16-16-16sa-*): New
131         (dst16-16-16ar-*): New
132         (dst32-16-16sa-Unprefixed-*): New
133         (jsri): Fix operands.
134         (setzx): Fix encoding.
135         
136 2007-03-08  Alan Modra  <amodra@bigpond.net.au>
137
138         * m32r.opc: Formatting.
139
140 2006-05-22  Nick Clifton  <nickc@redhat.com>
141
142         * iq2000.cpu: Fix include paths for iq2000m.cpu and iq10.cpu.
143
144 2006-04-10  DJ Delorie  <dj@redhat.com>
145
146         * m32c.opc (parse_unsigned_bitbase): Take a new parameter which
147         decides if this function accepts symbolic constants or not.
148         (parse_signed_bitbase): Likewise.
149         (parse_unsigned_bitbase8): Pass the new parameter.
150         (parse_unsigned_bitbase11): Likewise.
151         (parse_unsigned_bitbase16): Likewise.
152         (parse_unsigned_bitbase19): Likewise.
153         (parse_unsigned_bitbase27): Likewise.
154         (parse_signed_bitbase8): Likewise.
155         (parse_signed_bitbase11): Likewise.
156         (parse_signed_bitbase19): Likewise.
157         
158 2006-03-13  DJ Delorie  <dj@redhat.com>
159
160         * m32c.cpu (Bit3-S): New.
161         (btst:s): New.
162         * m32c.opc (parse_bit3_S): New.
163
164         * m32c.cpu (decimal-subtraction16-insn): Add second operand.
165         (btst): Add optional :G suffix for MACH32.
166         (or.b:S): New.
167         (pop.w:G): Add optional :G suffix for MACH16.
168         (push.b.imm): Fix syntax.
169
170 2006-03-10  DJ Delorie  <dj@redhat.com>
171
172         * m32c.cpu (mul.l): New.
173         (mulu.l): New.
174
175 2006-03-03 Shrirang Khisti <shrirangk@kpitcummins.com)
176
177         * xc16x.opc (parse_hash): Return NULL if the input was parsed or
178         an error message otherwise.
179         (parse_dot, parse_pof, parse_pag, parse_sof, parse_seg): Likewise.
180         Fix up comments to correctly describe the functions.
181
182 2006-02-24  DJ Delorie  <dj@redhat.com>
183
184         * m32c.cpu (RL_TYPE): New attribute, with macros.
185         (Lab-8-24): Add RELAX.
186         (unary-insn-defn-g, binary-arith-imm-dst-defn,
187         binary-arith-imm4-dst-defn): Add 1ADDR attribute.
188         (binary-arith-src-dst-defn): Add 2ADDR attribute.
189         (jcnd16-5, jcnd16, jcnd32, jmp16.s, jmp16.b, jmp16.w, jmp16.a,
190         jmp32.s, jmp32.b, jmp32.w, jmp32.a, jsr16.w, jsr16.a): Add JUMP
191         attribute.
192         (jsri16, jsri32): Add 1ADDR attribute.
193         (jsr32.w, jsr32.a): Add JUMP attribute.
194         
195 2006-02-17  Shrirang Khisti  <shrirangk@kpitcummins.com>
196             Anil Paranjape   <anilp1@kpitcummins.com>
197             Shilin Shakti    <shilins@kpitcummins.com>
198
199         * xc16x.cpu: New file containing complete CGEN specific XC16X CPU
200         description.
201         * xc16x.opc: New file containing supporting XC16C routines.
202
203 2006-02-10  Nick Clifton  <nickc@redhat.com>
204
205         * iq2000.opc (parse_hi16): Truncate shifted values to 16 bits.
206
207 2006-01-06  DJ Delorie  <dj@redhat.com>
208
209         * m32c.cpu (mov.w:q): Fix mode.
210         (push32.b.imm): Likewise, for the comment.
211
212 2005-12-16  Nathan Sidwell  <nathan@codesourcery.com>
213
214         Second part of ms1 to mt renaming.
215         * mt.cpu (define-arch, define-isa): Set name to mt.
216         (define-mach): Adjust.
217         * mt.opc (CGEN_ASM_HASH): Update.
218         (mt_asm_hash, mt_cgen_insn_supported): Renamed.
219         (parse_loopsize, parse_imm16): Adjust.
220
221 2005-12-13  DJ Delorie  <dj@redhat.com>
222
223         * m32c.cpu (jsri): Fix order so register names aren't treated as
224         symbols.
225         (indexb, indexbd, indexbs, indexl, indexld, indexls, indexw,
226         indexwd, indexws): Fix encodings.
227
228 2005-12-12  Nathan Sidwell  <nathan@codesourcery.com>
229
230         * mt.cpu: Rename from ms1.cpu.
231         * mt.opc: Rename from ms1.opc.
232
233 2005-12-06  Hans-Peter Nilsson  <hp@axis.com>
234
235         * cris.cpu (simplecris-common-writable-specregs)
236         (simplecris-common-readable-specregs): Split from
237         simplecris-common-specregs.  All users changed.
238         (cris-implemented-writable-specregs-v0)
239         (cris-implemented-readable-specregs-v0): Similar from
240         cris-implemented-specregs-v0.
241         (cris-implemented-writable-specregs-v3)
242         (cris-implemented-readable-specregs-v3)
243         (cris-implemented-writable-specregs-v8)
244         (cris-implemented-readable-specregs-v8)
245         (cris-implemented-writable-specregs-v10)
246         (cris-implemented-readable-specregs-v10)
247         (cris-implemented-writable-specregs-v32)
248         (cris-implemented-readable-specregs-v32): Similar.
249         (bdap-32-pc, move-m-pcplus-p0, move-m-spplus-p8): New
250         insns and specializations.
251
252 2005-11-08  Nathan Sidwell  <nathan@codesourcery.com>
253
254         Add ms2
255         * ms1.cpu (ms2, ms2bf): New architecture variant, cpu, machine and
256         model.
257         (f-uu8, f-uu1, f-imm16l, f-loopo, f-cb1sel, f-cb2sel, f-cb1incr,
258         f-cb2incr, f-rc3): New fields.
259         (LOOP): New instruction.
260         (JAL-HAZARD): New hazard.
261         (imm16o, loopsize, imm16l, rc3, cb1sel, cb2sel, cb1incr, cb2incr):
262         New operands.
263         (mul, muli, dbnz, iflush): Enable for ms2
264         (jal, reti): Has JAL-HAZARD.
265         (ldctxt, ldfb, stfb): Only ms1.
266         (fbcb): Only ms1,ms1-003.
267         (wfbinc, mefbinc, wfbincr, mwfbincr, fbcbincs, mfbcbincs,
268         fbcbincrs, mfbcbincrs): Enable for ms2.
269         (loop, loopu, dfbc, dwfb, fbwfb, dfbr): New ms2 insns.
270         * ms1.opc (parse_loopsize): New.
271         (parse_imm16): hi16/lo16 relocs are applicable to IMM16L.
272         (print_pcrel): New.
273
274 2005-10-28  Dave Brolley  <brolley@redhat.com>
275
276         Contribute the following change:
277         2003-09-24  Dave Brolley  <brolley@redhat.com>
278
279         * frv.opc: Use CGEN_ATTR_VALUE_ENUM_TYPE in place of
280         CGEN_ATTR_VALUE_TYPE.
281         * m32c.opc (m32c_cgen_insn_supported): Use CGEN_INSN_BITSET_ATTR_VALUE.
282         Use cgen_bitset_intersect_p.
283
284 2005-10-27  DJ Delorie  <dj@redhat.com>
285
286         * m32c.cpu (Imm-8-s4n, Imm-12-s4n): New.
287         (arith-jnz16-imm4-dst-defn, arith-jnz32-imm4-dst-defn,
288         arith-jnz-imm4-dst-mach, arith-jnz-imm4-dst): Keep track of which
289         imm operand is needed.
290         (adjnz, sbjnz): Pass the right operands.
291         (unary-insn-defn, unary16-defn, unary32-defn, unary-insn-mach,
292         unary-insn): Add -g variants for opcodes that need to support :G.
293         (not.BW:G, push.BW:G): Call it.
294         (stzx16-imm8-imm8-dsp8sb, stzx16-imm8-imm8-dsp8fb,
295         stzx16-imm8-imm8-abs16): Fix operand typos.
296         * m32c.opc (m32c_asm_hash): Support bnCND.
297         (parse_signed4n, print_signed4n): New.
298         
299 2005-10-26  DJ Delorie  <dj@redhat.com>
300
301         * m32c.cpu (f-dsp-8-s24, Dsp-8-s24): New.
302         (mov-dspsp-dst-defn, mov-src-dspsp-defn, mov16-dspsp-dst-defn,
303         mov16-src-dspsp-defn, mov32-dspsp-dst-defn, mov32-src-dspsp-defn):
304         dsp8[sp] is signed.
305         (mov.WL:S #imm,A0/A1): dsp24 is signed (i.e. -0x800000..0xffffff).
306         (mov.BW:S r0,r1): Fix typo r1l->r1.
307         (tst): Allow :G suffix.
308         * m32c.opc (parse_signed24): New, for -0x800000..0xffffff.
309
310 2005-10-26  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
311
312         * m32r.opc (parse_hi16): Do not assume a 32-bit host word size.
313
314 2005-10-25  DJ Delorie  <dj@redhat.com>
315
316         * m32c.cpu (add16-bQ-sp,add16-wQ-sp): Fix to allow either width by
317         making one a macro of the other.
318
319 2005-10-21  DJ Delorie  <dj@redhat.com>
320
321         * m32c.cpu (lde, ste): Add dsp[a0] and [a1a] addressing.
322         (indexb, indexbd, indexbs, indexw, indexwd, indexws, indexl,
323         indexld, indexls): .w variants have `1' bit.
324         (rot32.b): QI, not SI.
325         (rot32.w): HI, not SI.
326         (xchg16): HI for .w variant.
327
328 2005-10-19  Nick Clifton  <nickc@redhat.com>
329
330         * m32r.opc (parse_slo16): Fix bad application of previous patch.
331
332 2005-10-18  Andreas Schwab  <schwab@suse.de>
333
334         * m32r.opc (parse_slo16): Better version of previous patch.
335
336 2005-10-14  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
337
338         * cpu/m32r.opc (parse_slo16): Do not assume a 32-bit host word
339         size.
340
341 2005-07-25  DJ Delorie  <dj@redhat.com>
342
343         * m32c.opc (parse_unsigned8): Add %dsp8().
344         (parse_signed8): Add %hi8().
345         (parse_unsigned16): Add %dsp16().
346         (parse_signed16): Add %lo16() and %hi16().
347         (parse_lab_5_3): Make valuep a bfd_vma *.
348
349 2005-07-18  Nick Clifton  <nickc@redhat.com>
350
351         * m32c.cpu (f-16-8, f-24-8, f-32-16, f-dsp-8-u24): New opcode
352         components.
353         (f-lab32-jmp-s): Fix insertion sequence.
354         (Dsp-8-u24, Lab-5-3, Lab32-jmp-s): New operands.
355         (Dsp-40-s8): Make parameter be signed.
356         (Dsp-40-s16): Likewise.
357         (Dsp-48-s8): Likewise.
358         (Dsp-48-s16): Likewise.
359         (Imm-13-u3): Likewise. (Despite its name!)
360         (BitBase16-16-s8): Make the parameter be unsigned.
361         (BitBase16-8-u11-S): Likewise.
362         (Lab-8-8, Lab-8-16, Lab-16-8, jcnd16-5, jcnd16, jcnd32, jmp16.s,
363         jmp16.b, jmp16.w, jmp32.s, jmp32.b, jmp32.w, jsp16.w, jsr32.w): Allow
364         relaxation.
365
366         * m32c.opc: Fix formatting.
367         Use safe-ctype.h instead of ctype.h
368         Move duplicated code sequences into a macro.
369         Fix compile time warnings about signedness mismatches.
370         Remove dead code.
371         (parse_lab_5_3): New parser function.
372         
373 2005-07-16  Jim Blandy  <jimb@redhat.com>
374
375         * m32c.opc (m32c_cgen_insn_supported): Use int, not CGEN_BITSET,
376         to represent isa sets.
377
378 2005-07-15  Jim Blandy  <jimb@redhat.com>
379
380         * m32c.cpu, m32c.opc: Fix copyright.
381
382 2005-07-14  Jim Blandy  <jimb@redhat.com>
383
384         * m32c.cpu, m32c.opc: Machine description for the Renesas M32C.
385
386 2005-07-14  Alan Modra  <amodra@bigpond.net.au>
387
388         * ms1.opc (print_dollarhex): Correct format string.
389
390 2005-07-06  Alan Modra  <amodra@bigpond.net.au>
391
392         * iq2000.cpu: Include from binutils cpu dir.
393
394 2005-07-05  Nick Clifton  <nickc@redhat.com>
395
396         * iq2000.opc (parse_lo16, parse_mlo16): Make value parameter
397         unsigned in order to avoid compile time warnings about sign
398         conflicts.
399
400         * ms1.opc (parse_*): Likewise.
401         (parse_imm16): Use a "void *" as it is passed both signed and
402         unsigned arguments.
403
404 2005-07-01  Nick Clifton  <nickc@redhat.com>
405
406         * frv.opc: Update to ISO C90 function declaration style.
407         * iq2000.opc: Likewise.
408         * m32r.opc: Likewise.
409         * sh.opc: Likewise.
410
411 2005-06-15  Dave Brolley  <brolley@redhat.com>
412
413         Contributed by Red Hat.
414         * ms1.cpu: New file.  Written by Nick Clifton, Stan Cox.
415         * ms1.opc: New file.  Written by Stan Cox.
416
417 2005-05-10  Nick Clifton  <nickc@redhat.com>
418
419         * Update the address and phone number of the FSF organization in
420         the GPL notices in the following files:
421         cris.cpu, frv.cpu, frv.opc, iq10.cpu, iq2000.opc, iq2000m.cpu,
422         m32r.cpu, m32r.opc, sh.cpu, sh.opc, sh64-compact.cpu,
423         sh64-media.cpu, simplify.inc
424
425 2005-02-24  Alan Modra  <amodra@bigpond.net.au>
426
427         * frv.opc (parse_A): Warning fix.
428
429 2005-02-23  Nick Clifton  <nickc@redhat.com>
430
431         * frv.opc: Fixed compile time warnings about differing signed'ness
432         of pointers passed to functions.
433         * m32r.opc: Likewise.
434
435 2005-02-11  Nick Clifton  <nickc@redhat.com>
436
437         * iq2000.opc (parse_jtargq10): Change type of valuep argument to
438         'bfd_vma *' in order avoid compile time warning message.
439
440 2005-01-28  Hans-Peter Nilsson  <hp@axis.com>
441
442         * cris.cpu (mstep): Add missing insn.
443
444 2005-01-25  Alexandre Oliva  <aoliva@redhat.com>
445
446         2004-11-10  Alexandre Oliva  <aoliva@redhat.com>
447         * frv.cpu: Add support for TLS annotations in loads and calll.
448         * frv.opc (parse_symbolic_address): New.
449         (parse_ldd_annotation): New.
450         (parse_call_annotation): New.
451         (parse_ld_annotation): New.
452         (parse_ulo16, parse_uslo16): Use parse_symbolic_address.
453         Introduce TLS relocations.
454         (parse_d12, parse_s12, parse_u12): Likewise.
455         (parse_uhi16): Likewise.  Fix constant checking on 64-bit host.
456         (parse_call_label, print_at): New.
457
458 2004-12-21  Mikael Starvik  <starvik@axis.com>
459
460         * cris.cpu (cris-set-mem): Correct integral write semantics.
461
462 2004-11-29  Hans-Peter Nilsson  <hp@axis.com>
463
464         * cris.cpu: New file.
465
466 2004-11-15  Michael K. Lechner <mike.lechner@gmail.com>
467
468         * iq2000.cpu: Added quotes around macro arguments so that they
469         will work with newer versions of guile.
470
471 2004-10-27  Nick Clifton  <nickc@redhat.com>
472
473         * iq2000m.cpu (pkrlr1, pkrlr30, rbr1, rbr30, rxr1, rxr30, wbr1,
474         wbr1u, wbr30, wbr30u, wxr1, wxr1u, wxr30, wxr30u): Add an index
475         operand.
476         * iq2000.cpu (dnop index): Rename to _index to avoid complications
477         with guile.
478
479 2004-08-27  Richard Sandiford  <rsandifo@redhat.com>
480
481         * frv.cpu (cfmovs): Change UNIT attribute to FMALL.
482
483 2004-05-15  Nick Clifton  <nickc@redhat.com>
484
485         * iq2000.opc (iq2000_cgen_insn_supported): Make 'insn' argument const.
486
487 2004-03-30  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
488
489         * m32r.opc (parse_hi16): Fixed shigh(0xffff8000) bug.
490
491 2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
492
493         * frv.cpu (define-arch frv): Add fr450 mach.
494         (define-mach fr450): New.
495         (define-model fr450): New.  Add profile units to every fr450 insn.
496         (define-attr UNIT): Add MDCUTSSI.
497         (define-attr FR450-MAJOR): New enum.  Add to every fr450 insn.
498         (define-attr AUDIO): New boolean.
499         (f-LRAE, f-LRAD, f-LRAS, f-TLBPRopx, f-TLBPRL)
500         (f-LRA-null, f-TLBPR-null): New fields.
501         (scr0, scr1, scr2, scr3, imavr1, damvr1, cxnr, ttbr)
502         (tplr, tppr, tpxr, timerh, timerl, timerd, btbr): New SPRs.
503         (LRAE, LRAD, LRAS, TLBPRopx, TLBPRL): New operands.
504         (LRA-null, TLBPR-null): New macros.
505         (iacc-multiply-r-r, slass, scutss, int-arith-ss-r-r): Add AUDIO attr.
506         (load-real-address): New macro.
507         (lrai, lrad, tlbpr): New instructions.
508         (media-cut-acc, media-cut-acc-ss): Add fr450-major argument.
509         (mcut, mcuti, mcutss, mcutssi): Adjust accordingly.
510         (mdcutssi): Change UNIT attribute to MDCUTSSI.
511         (media-low-clear-semantics, media-scope-limit-semantics)
512         (media-quad-limit, media-quad-shift): New macros.
513         (mqlclrhs, mqlmths, mqsllhi, mqsrahi): New instructions.
514         * frv.opc (frv_is_branch_major, frv_is_float_major, frv_is_media_major)
515         (frv_is_branch_insn, frv_is_float_insn, frv_is_media_insn)
516         (frv_vliw_reset, frv_vliw_add_insn): Handle bfd_mach_fr450.
517         (fr450_unit_mapping): New array.
518         (fr400_unit_mapping, fr500_unit_mapping, fr550_unit_mapping): Add entry
519         for new MDCUTSSI unit.
520         (fr450_check_insn_major_constraints): New function.
521         (check_insn_major_constraints): Use it.
522
523 2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
524
525         * frv.cpu (nsdiv, nudiv, nsdivi, nudivi): Remove fr400 profiling unit.
526         (scutss): Change unit to I0.
527         (calll, callil, ccalll): Add missing FR550-MAJOR and profile unit.
528         (mqsaths): Fix FR400-MAJOR categorization.
529         (media-quad-multiply-cross-acc, media-quad-cross-multiply-cross-acc)
530         (media-quad-cross-multiply-acc): Change unit from MDUALACC to FMALL.
531         * frv.opc (fr400_check_insn_major_constraints): Check for (M-2,M-1)
532         combinations.
533
534 2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
535
536         * frv.cpu (r-store, r-store-dual, r-store-quad): Delete.
537         (rstb, rsth, rst, rstd, rstq): Delete.
538         (rstbf, rsthf, rstf, rstdf, rstqf): Delete.
539
540 2004-02-23  Nick Clifton  <nickc@redhat.com>
541
542         * Apply these patches from Renesas:
543
544         2004-02-10  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
545
546         * cpu/m32r.opc (my_print_insn): Fixed incorrect output when
547         disassembling codes for 0x*2 addresses.
548
549         2003-12-15  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
550
551         * cpu/m32r.cpu: Add PIPE_O attribute to "pop" instruction.
552
553         2003-12-03  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
554
555         * cpu/m32r.cpu : Add new model m32r2.
556         Add new instructions.
557         Replace occurrances of 'Mitsubishi' with 'Renesas'.
558         Changed PIPE attr of push from O to OS.
559         Care for Little-endian of M32R.
560         * cpu/m32r.opc (CGEN_DIS_HASH, my_print_insn):
561         Care for Little-endian of M32R.
562         (parse_slo16): signed extension for value.
563
564 2004-02-20  Andrew Cagney  <cagney@redhat.com>
565
566         * m32r.opc, m32r.cpu: New files.  Written by , Doug Evans, Nick
567         Clifton, Ben Elliston, Matthew Green, and Andrew Haley.
568
569         * sh.cpu, sh.opc, sh64-compact.cpu, sh64-media.cpu: New files, all
570         written by Ben Elliston.
571
572 2004-01-14  Richard Sandiford  <rsandifo@redhat.com>
573
574         * frv.cpu (UNIT): Add IACC.
575         (iacc-multiply-r-r): Use it.
576         * frv.opc (fr400_unit_mapping): Add entry for IACC.
577         (fr500_unit_mapping, fr550_unit_mapping): Likewise.
578
579 2004-01-06  Alexandre Oliva  <aoliva@redhat.com>
580
581         2003-12-19  Alexandre Oliva  <aoliva@redhat.com>
582         * frv.opc (parse_ulo16, parse_uhi16, parse_d12): Fix some
583         cut&paste errors in shifting/truncating numerical operands.
584         2003-08-08  Alexandre Oliva  <aoliva@redhat.com>
585         * frv.opc (parse_ulo16): Parse gotofflo and gotofffuncdesclo.
586         (parse_uslo16): Likewise.
587         (parse_uhi16): Parse gotoffhi and gotofffuncdeschi.
588         (parse_d12): Parse gotoff12 and gotofffuncdesc12.
589         (parse_s12): Likewise.
590         2003-08-04  Alexandre Oliva  <aoliva@redhat.com>
591         * frv.opc (parse_ulo16): Parse gotlo and gotfuncdesclo.
592         (parse_uslo16): Likewise.
593         (parse_uhi16): Parse gothi and gotfuncdeschi.
594         (parse_d12): Parse got12 and gotfuncdesc12.
595         (parse_s12): Likewise.
596
597 2003-10-10  Dave Brolley  <brolley@redhat.com>
598
599         * frv.cpu (dnpmop): New p-macro.
600         (GRdoublek): Use dnpmop.
601         (CPRdoublek, FRdoublei, FRdoublej, FRdoublek): Ditto.
602         (store-double-r-r): Use (.sym regtype doublek).
603         (r-store-double): Ditto.
604         (store-double-r-r-u): Ditto.
605         (conditional-store-double): Ditto.
606         (conditional-store-double-u): Ditto.
607         (store-double-r-simm): Ditto.
608         (fmovs): Assign to UNIT FMALL.
609
610 2003-10-06  Dave Brolley  <brolley@redhat.com>
611
612         * frv.cpu, frv.opc: Add support for fr550.
613
614 2003-09-24  Dave Brolley  <brolley@redhat.com>
615
616         * frv.cpu (u-commit): New modelling unit for fr500.
617         (mwtaccg): Use frv_ref_SI to reference ACC40Sk as an input operand.
618         (commit-r): Use u-commit model for fr500.
619         (commit): Ditto.
620         (conditional-float-binary-op): Take profiling data as an argument.
621         Update callers.
622         (ne-float-binary-op): Ditto.
623
624 2003-09-19  Michael Snyder  <msnyder@redhat.com>
625
626         * frv.cpu (nldqi): Delete unimplemented instruction.
627
628 2003-09-12  Dave Brolley  <brolley@redhat.com>
629
630         * frv.cpu (u-clrgr, u-clrfr): New units of model fr500.
631         (clear-ne-flag-r): Pass insn profiling in as an argument. Call
632         frv_ref_SI to get input register referenced for profiling.
633         (clear-ne-flag-all): Pass insn profiling in as an argument.
634         (clrgr,clrfr,clrga,clrfa): Add profiling information.
635
636 2003-09-11  Michael Snyder  <msnyder@redhat.com>
637
638         * frv.cpu: Typographical corrections.
639
640 2003-09-09  Dave Brolley  <brolley@redhat.com>
641
642         * frv.cpu (media-dual-complex): Change UNIT to FMALL.
643         (conditional-media-dual-complex, media-quad-complex): Likewise.
644
645 2003-09-04  Dave Brolley  <brolley@redhat.com>
646
647         * frv.cpu (register-transfer): Pass in all attributes in on argument.
648         Update all callers.
649         (conditional-register-transfer): Ditto.
650         (cache-preload): Ditto.
651         (floating-point-conversion): Ditto.
652         (floating-point-neg): Ditto.
653         (float-abs): Ditto.
654         (float-binary-op-s): Ditto.
655         (conditional-float-binary-op): Ditto.
656         (ne-float-binary-op): Ditto.
657         (float-dual-arith): Ditto.
658         (ne-float-dual-arith): Ditto.
659
660 2003-09-03  Dave Brolley  <brolley@redhat.com>
661
662         * frv.opc (parse_A, parse_A0, parse_A1): New parse handlers.
663         * frv.cpu (UNIT): Add IALL, FMALL, FMLOW, STORE, SCAN, DCPL, MDUALACC,
664         MCLRACC-1.
665         (A): Removed operand.
666         (A0,A1): New operands replace operand A.
667         (mnop): Now a real insn
668         (mclracc): Removed insn.
669         (mclracc-0, mclracc-1): New insns replace mclracc.
670         (all insns): Use new UNIT attributes.
671
672 2003-08-21  Nick Clifton  <nickc@redhat.com>
673
674         * frv.cpu (mbtoh): Replace input parameter to u-media-dual-expand
675         and u-media-dual-btoh with output parameter.
676         (cmbtoh): Add profiling hack.
677
678 2003-08-19  Michael Snyder  <msnyder@redhat.com>
679
680         * frv.cpu: Fix typo, Frintkeven -> FRintkeven
681
682 2003-06-10  Doug Evans  <dje@sebabeach.org>
683
684         * frv.cpu: Add IDOC attribute.
685
686 2003-06-06  Andrew Cagney  <cagney@redhat.com>
687
688         Contributed by Red Hat.
689         * iq2000.cpu: New file.  Written by Ben Elliston, Jeff Johnston,
690         Stan Cox, and Frank Ch. Eigler.
691         * iq2000.opc: New file.  Written by Ben Elliston, Frank
692         Ch. Eigler, Chris Moller, Jeff Johnston, and Stan Cox.
693         * iq2000m.cpu: New file.  Written by Jeff Johnston.
694         * iq10.cpu: New file.  Written by Jeff Johnston.
695
696 2003-06-05  Nick Clifton  <nickc@redhat.com>
697
698         * frv.cpu (FRintieven): New operand.  An even-numbered only
699         version of the FRinti operand.
700         (FRintjeven): Likewise for FRintj.
701         (FRintkeven): Likewise for FRintk.
702         (mdcutssi, media-dual-word-rotate-r-r, mqsaths,
703         media-quad-arith-sat-semantics, media-quad-arith-sat,
704         conditional-media-quad-arith-sat, mdunpackh,
705         media-quad-multiply-semantics, media-quad-multiply,
706         conditional-media-quad-multiply, media-quad-complex-i,
707         media-quad-multiply-acc-semantics, media-quad-multiply-acc,
708         conditional-media-quad-multiply-acc, munpackh,
709         media-quad-multiply-cross-acc-semantics, mdpackh,
710         media-quad-multiply-cross-acc, mbtoh-semantics,
711         media-quad-cross-multiply-cross-acc-semantics,
712         media-quad-cross-multiply-cross-acc, mbtoh, mhtob-semantics,
713         media-quad-cross-multiply-acc-semantics, cmbtoh,
714         media-quad-cross-multiply-acc, media-quad-complex, mhtob,
715         media-expand-halfword-to-double-semantics, mexpdhd, cmexpdhd,
716         cmhtob): Use new operands.
717         * frv.opc (CGEN_VERBOSE_ASSEMBLER_ERRORS): Define.
718         (parse_even_register): New function.
719
720 2003-06-03  Nick Clifton  <nickc@redhat.com>
721
722         * frv.cpu (media-dual-word-rotate-r-r): Use a signed 6-bit
723         immediate value not unsigned.
724
725 2003-06-03  Andrew Cagney  <cagney@redhat.com>
726
727         Contributed by Red Hat.
728         * frv.cpu: New file.  Written by Dave Brolley, Catherine Moore,
729         and Eric Christopher.
730         * frv.opc: New file.  Written by Catherine Moore, and Dave
731         Brolley.
732         * simplify.inc: New file.  Written by Doug Evans.
733
734 2003-05-02  Andrew Cagney  <cagney@redhat.com>
735
736         * New file.
737
738 \f
739 Local Variables:
740 mode: change-log
741 left-margin: 8
742 fill-column: 74
743 version-control: never
744 End: