This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Out-of-order inlining and --param values
- From: Jan Hubicka <jh at suse dot cz>
- To: Paolo Carlini <pcarlini at unitus dot it>
- Cc: Richard Sandiford <rsandifo at redhat dot com>, gcc-patches at gcc dot gnu dot org,Andreas Jaeger <aj at suse dot de>,Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Date: Sat, 9 Nov 2002 19:16:28 +0100
- Subject: Re: Out-of-order inlining and --param values
- References: <wvnisz97dcd.fsf@talisman.cambridge.redhat.com> <3DCD4C96.8070007@unitus.it>
> 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.