This is the mail archive of the gcc-patches@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]

Re: [PATCH] Fix leslie3d performance regression with -flto/-fwhole-program


On Thu, 9 Jun 2011, Tobias Burnus wrote:

> Richard Guenther wrote:
> > leslie3d terminates itself with STOP which translates to a noreturn
> > function.  This causes our edge hot/cold prediction machinery to not
> > apply any predictions based on paths to noreturn functions
> 
> > Bootstrapped and tested on x86_64-unknown-linux-gnu.
> > Ok for trunk?
> 
> OK. Thanks for tracing this down and for the patch.
> I think it is rather obvious.
> 
> (I only wonder a bit why that's a regression.)

It's a "regression" in that, leslie3d runs slower with -fwhole-program
than without.

Richard.


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