lkml.org 
[lkml]   [2002]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Compiling 2.2.19 with -O3 flag
On Fri, May 24, 2002 at 09:54:04AM -0700, Robert Love wrote:
> On Fri, 2002-05-24 at 09:45, Marcus Meissner wrote:
>
> > > Heh, now that is interesting.
> >
> > Not really, -Os implies -O2, cf gcc/toplev.c:
>
> Well, according to Alan -Os outperforms -O2. So either the code is
> smaller _and_ faster - and that is surely interesting - or the code is
> _not_ smaller and -Os is a misnomer. Seems interesting to me.

-Os implies -O2 + additional size-reducing features:

[hch@sb hch]$ grep -r optimize_size /work/people/hch/gcc/gcc | wc -l
250
[hch@sb hch]$
A bunch of matches are in ChangeLog and most are target-specific,
but I guess you got the point..

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:22    [W:0.080 / U:0.564 seconds]
©2003-2014 Jasper Spaans. Advertise on this site