public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
* m32r cgen errors
@ 2009-09-25  2:09 Alan Modra
  2009-09-25 15:27 ` Doug Evans
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Modra @ 2009-09-25  2:09 UTC (permalink / raw)
  To: cgen

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: m32r cgen errors
  2009-09-25  2:09 m32r cgen errors Alan Modra
@ 2009-09-25 15:27 ` Doug Evans
  0 siblings, 0 replies; 2+ messages in thread
From: Doug Evans @ 2009-09-25 15:27 UTC (permalink / raw)
  To: Alan Modra; +Cc: cgen

Alan Modra wrote:
> 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)
>
>   

Thanks!  And sorry!
[given all the testing I did, I don't know how this got missed, blech]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-25 15:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-25  2:09 m32r cgen errors Alan Modra
2009-09-25 15:27 ` Doug Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).