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