public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
* new do-count rtl
@ 2009-08-26 16:45 Doug Evans
  2009-08-27 21:35 ` Doug Evans
  0 siblings, 1 reply; 5+ messages in thread
From: Doug Evans @ 2009-08-26 16:45 UTC (permalink / raw)
  To: cgen

Hi.

What do folks think of adding a new rtl for iterating a specified number 
of times.

Something like

(do-count nr-times iter-var expr1 [expr2 ...])

For now the result would always be void, and iter-var would always have 
mode INT.
The set of expressions is performed nr-times times and iter-var has 
values 0 ... nr-times - 1.

?

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

end of thread, other threads:[~2009-08-28  6:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-26 16:45 new do-count rtl Doug Evans
2009-08-27 21:35 ` Doug Evans
2009-08-28  1:59   ` Dave Korn
2009-08-28  2:37     ` Doug Evans
2009-08-28  6:31   ` 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).