------- Comment #43 from hubicka at ucw dot cz 2008-02-01 22:45 ------- Subject: Re: [4.0/4.1/4.2/4.3 Regression] performance loss (not inlining as much??)
> TER will not replace any load into an expression if there is more than one use > of the load. Your sample shows multiple uses of each load. If it did this > substitution, it could be introducing worse code, it doesn't know. (TER is > also strictly a single block replacement as well). I noticed that now too. The code after reordering by TER simply need even more registers alive by changling how the temporaries overlap. There is probably no simple heuristics to control this... Honza -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17863