[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] Re: recent commit

From: Erik Andersson
Subject: [Gcl-devel] Re: recent commit
Date: Thu, 21 Aug 2003 12:33:33 +0200 (MEST)

On Thu, 21 Aug 2003, Camm Maguire wrote:

> O6->O3 -- I did some brief benchmarking -- O3 seems a bit larger and
> slightly faster than O2.  I'm open to reconsidering and changing O3 ->
> O2 if someone can provide meaningful benchmarks to demonstrate an
> improvement.

According to the GCC manual the only difference between O2 and O3 is
-frename-registers and -finline-functions. I think that providing
meaningful benchmarks is difficult because different processors react
differently to -finline-functions depending on things like the size of the
instruction cache. Something that you could also try would be Os which use
all O2 optimizations that don't typically increase code size.

/Erik Andersson

reply via email to

[Prev in Thread] Current Thread [Next in Thread]