GCC Induction Variable Terminology
law@redhat.com
law@redhat.com
Wed Sep 10 09:18:00 GMT 2003
In message <Pine.LNX.4.44.0309092310010.1882-100000@nondot.org>, Chris Lattner
writes:
>
>What exactly are a "basic" and "general" induction variables? I see a lot
>of references to them on the list and in the code, but not in any
>literature that I've found. Can someone point me to a description of what
>they are? :)
A basic induction variable is a pseudo register which is set within
a loop only by incrementing or decrementing its value.
A general induction variable is a pseudo register with a value
which is a linear function of a basic induction variable.
Jeff
More information about the Gcc
mailing list