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]

Re: Sigh. Inlining heuristics.




--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


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