This is the mail archive of the
cgen@sourceware.org
mailing list for the CGEN project.
m32r cgen errors
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: cgen at sourceware dot org
- Date: Fri, 25 Sep 2009 11:39:24 +0930
- Subject: m32r cgen errors
Fixes the following error. OK to apply?
cgen -s /src/binutils-current/opcodes/../cgen/cgen-opc.scm -s /src/binutils-current/opcodes/../cgen -v -f opinst -m all -a /src/binutils-current/opcodes/../cpu/m32r.cpu -OPC /src/binutils-current/opcodes/../cpu/m32r.opc -H tmp-26602-desc.h1 -C tmp-26602-desc.c1 -O tmp-26602-opc.h1 -P tmp-26602-opc.c1 -L tmp-26602-ibld.in1 -A tmp-26602-asm.in1 -D tmp-26602-dis.in1 -Q tmp-26602-opinst.c1
Setting option `opinst' to "".
Loading cpu description /src/binutils-current/opcodes/../cpu/m32r.cpu ...
machs: all
isas: all
options: opinst
trace:
diags:
Including file /src/binutils-current/opcodes/../cpu/simplify.inc ...
ERROR: In procedure list:
ERROR: end of file in /src/binutils-current/opcodes/../cpu/m32r.cpu
make[5]: *** [run-cgen] Error 1
* m32r.cpu (stb-plus): Typo fix.
Index: cpu/m32r.cpu
===================================================================
RCS file: /cvs/src/src/cpu/m32r.cpu,v
retrieving revision 1.6
diff -u -p -r1.6 m32r.cpu
--- cpu/m32r.cpu 23 Sep 2009 22:30:55 -0000 1.6
+++ cpu/m32r.cpu 25 Sep 2009 02:06:11 -0000
@@ -2108,7 +2108,7 @@
(sequence ((WI new-src2))
(set new-src2 src2)
(set (mem QI new-src2) src1)
- (set src2 (add new-src2 (const 1)))
+ (set src2 (add new-src2 (const 1))))
((m32rx (unit u-store)
(unit u-exec (in dr src2) (out dr src2) (cycles 0)))
(m32r2 (unit u-store)
--
Alan Modra
Australia Development Lab, IBM