This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/31360] [4.3 Regression] rtl loop invariant is broken



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]