This is the mail archive of the
cgen@sourceware.org
mailing list for the CGEN project.
new do-count rtl
- From: Doug Evans <dje at sebabeach dot org>
- To: cgen at sourceware dot org
- Date: Wed, 26 Aug 2009 09:45:15 -0700
- Subject: new do-count rtl
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.
?