On Mon, 5 Apr 1999, Matthew Dillon wrote:
> There is nothing beyond -O2. Well, there's -O3, which tries to
> inline static functions, but that typically isn't beneficial because
> it really bloats up the code and subroutine calls on intel cpus are
> very fast.
When I tested this last year, -O3 on egcs produced a 10-15% slowdown for
things like 'gzip'. OTOH, gcc's -O3 produced slightly faster code (as
I recall).
I /do/ however see noticeable (10-20%) speed improvements using
-O2 -mpentium -march=pentium compared to -O2 -mno-486 on gcc.
Kris
-----
The Feynman problem-solving algorithm: 1. Write down the problem
2. Think real hard
3. Write down the solution
To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-current" in the body of the message