On Sun, May 26, 2002 at 10:58:13AM -0400, Albert D. Cahalan wrote:
> Michel =?ISO-8859- writes:
> > On Sun, 2002-05-26 at 10:54, Rog?rio Brito wrote:
> 
> > * Anything more than -O3 seems to be useless, I think Albert even
> >   suggested trying with only -O2
> 
> I suggest trying -Os as well. Sometimes it runs fastest,
> because smaller code fits in the instruction cache better.

Since this was on linux-kernel recently, it's worth noting that:
* -Os turns on -O2

* -Os sometimes makes larger code than just -O2

So you can't just except -Os to be smaller, but it is some times (but
you need to check that it is..)

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to