loop optimizations
Richard Henderson
rth@redhat.com
Fri Jan 25 18:25:00 GMT 2002
On Sat, Jan 26, 2002 at 12:31:09AM +0100, Jan Hubicka wrote:
> Not exactly. Gcc is able to do loop reversal that would do the trick you
> suggest, but only when the induction variable (i) is used only as the
> iteration counter, not for something else. (or gcc figures out way how to
> replace that uses by different construct, such as autoincrement addressing).
We'll do this when generating decrement-and-branch instructions.
r~
More information about the Gcc
mailing list