[RFA:] Fix breakage of manually building SID CPU

Hans-Peter Nilsson hans-peter.nilsson@axis.com
Tue Mar 14 17:03:00 GMT 2006


> 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



More information about the Cgen mailing list