------- Comment #3 from pinskia at gcc dot gnu dot org  2007-03-26 16:51 -------
> I guess the cost of loading zero is cheaper then?

Cheaper than loading 0xDEADBEEF but not cheap enough not to pull out of the
loop.  All the "easy" (one instruction) constants are not pulled out.

Really I think rtl loop invariant should pull everything it can pull out of the
loop and then let the RA "fix" up the loop when it runs out of registers.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31360

Reply via email to