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: Out-of-order inlining and --param values


> Richard Sandiford wrote:
> 
> >I tried running a benchmark that has large main-like functions
> >followed by small inlinable functions, and the smaller functions
> >are now inlined as expected.
> >
> Hi.
> IMHO this is interesting and very clean at the same time.
> 
> It would be nice if Andreas could test the impact of such patch
> on the SPEC figures... Andreas?
I made similar patch, but that also construct callgraph and inlines the
static function called once.  I will try to polish it and push out.  I
made  SPEC benchmarking only with only with the equivalent of RIchard's
patch and it brought about 3 SPEC points speedup.  It brings some
slowdown to compilation time due to larger memory overhead so I think it
should be enabled by separate switch.

Honza
> 
> Thanks, Paolo.


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