This is the mail archive of the
cgen@sourceware.org
mailing list for the CGEN project.
Re: Delayed Memory Writes
Frank Ch. Eigler wrote:
>
>
> It nests the other way:
>
> (delay 1 (set FOO BAR))
>
> - FChE
>
>
When nested this way I get the error
"ERROR: In procedure string-append:
ERROR: Wrong type argument (expecting STRINGP): set"
The code
(set (delay 2 (reg SI h-gr r)) a)
works fine, as do delayed sets of hardware other than memory. The error
only appears when I try to do a delayed memory set. The mt port uses delays
nested in this manner, and the sh port uses delays nested in the manner you
suggested. I'm a little confused. Are they both valid? Perhaps I'm using
an old version?
Thanks
Joseph
--
View this message in context: http://www.nabble.com/Delayed-Memory-Writes-tp24813100p24814271.html
Sent from the Sourceware - cgen list mailing list archive at Nabble.com.