This is the mail archive of the gcc@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: Please try out new inlining heuristics


> 
> Okay, the following is for current mainline versus Jan's patch with
>   --param max-inline-insns-auto=600
>   --param max-inline-insns-single=600
>   --param inline-abstraction-penalty=40 and 50, respectively.
> 
> Build times and sizes are along what we would have expected:
> 
>             Build time	size	stripped size
>   mainline  5:16	2347068	1076480
>   +600/40   4:47        2671331 1096288
>   +600/50   4:53        2698503 1125824
> 
> However, my benchmarks seem _completely_ backwards.  Either I made some
> very silly operator error when building (but then, build times and sizes
> seem okay), or the two options interact very unexpectedly?

OK, I found problem.  During synchronizing with the mainline, one hunk
got lost that caused template instantiations to be marked as
uninlinable.
Never mind, at least I convenienced myself to implement the other
algorithms and see how they work.  I now also have new # of instructions
approximation scheme, so hope to get scores better now.

Just to keep you informed :)

Honza


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