not hoisting loads/stores
Jeffrey A Law
law@cygnus.com
Thu Dec 16 01:11:00 GMT 1999
In message < 199912041331.aa15618@gremlin-relay.ics.uci.edu >you write:
> Hi!
>
> Here is a simple example where gcc does not hoist loads/stores out of
> a loop.
>
> I don't see any reason why it shouldn't do it...
Because those instructions are created long after the loop optimizer has
run and thus the compiler never has a chance to hoist those memory refereces
out of the loop.
jeff
More information about the Gcc
mailing list