This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Sigh. Inlining heuristics.
- To: Alexandre Oliva <aoliva at redhat dot com>
- Subject: Re: Sigh. Inlining heuristics.
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Tue, 10 Jul 2001 13:17:35 -0700
- cc: Linus Torvalds <torvalds at transmeta dot com>, "dan at cgsoftware dot com" <dan at cgsoftware dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
--On Tuesday, July 10, 2001 05:31:52 PM -0300 Alexandre Oliva
<aoliva@redhat.com> wrote:
> On Jul 10, 2001, Mark Mitchell <mark@codesourcery.com> wrote:
>
>> I suggest we drop it to 100 or 1000 instructions by default, and see
>> how that does.
>
> How about defaulting to 10^{1+n} for -On?
Sure. It seems like we all agree the current number is too big; picking
a better one is a matter of experimenting a little bit. Your scheme
seems as good a guess as any, to me. My *guess* it will still actually
pessimize code at -O3, though, just by blowing up the size of the
program, but I don't really have good data. We need to do some
measurements.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com