This is the mail archive of the cgen@sourceware.org mailing list for the CGEN project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Doug Evans wrote:
Doug Evans wrote:
Hi.Checked in.
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.
?
I don't speak scheme or guile, but I'm learning, so forgive me in advance if this is a dumb question: Does this differ from using a .map on an .iota when generating a parameter to an rtl s-expr?
cheers, DaveK
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |