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