This is the mail archive of the
cgen@sourceware.org
mailing list for the CGEN project.
Re: [RFA:] Fix breakage of manually building SID CPU
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: brolley at redhat dot com
- Cc: hans-peter dot nilsson at axis dot com, cgen at sourceware dot org
- Date: Tue, 14 Mar 2006 18:02:46 +0100
- Subject: Re: [RFA:] Fix breakage of manually building SID CPU
> Date: Tue, 14 Mar 2006 11:46:45 -0500
> From: Dave Brolley <brolley@redhat.com>
> However, It seems that CGEN generating SID expects a different syntax
> for delay than CGEN generating SIM.
>
> CGEN generating sid expects
>
> (set (delay 1 pc) retaddr)
>
> while CGEN generating SIM expects
>
> (delay 1 (set pc retaddr))
>
> I do recall the new syntax being introduced some time ago, however, I
> don't recall that the old syntax was depricated. Does anyone know if
> both are still supposed to work?
FWIW, the "new syntax" didn't catch my eye as I saw only
src/cpu/mt.cpu using it; none in src/cgen/cpu. Maybe some wart
was introduced in whatever compatibility there is.
brgds, H-P