On 24 Nov, Yosi wrote:
> Hi Craig,
> 
> These are the flags I use when compiling lame. I also use gcc3 which give a
> signficant speed improvement over gcc-2.95.
> Just do something like this:
> 
> CFLAGS="-O6 -fomit-frame-pointer -mcpu=athlon -march=athlon
>         -malign-functions=4 -funroll-loops -fexpensive-optimizations
>         -malign-double -fschedule-insns2" CC=gcc3 ./configure

Looking at the source of gcc (toplev.c):
 -fexpensive-optimizations is activated with -O2 or higher,
 -fschedule-insns2 might be also activated with -O2 or higher (I think
  it is),
 -O6 didn't exist (3 is the highest value for gcc).

You might also try if adding "-fmove-all-movables -freduce-all-givs
-fsched-interblock -fbranch-count-reg -fforce-addr" does something valuable.

Bye,
Alexander.

-- 
            Yes, I've heard of "decaf." What's your point?

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7

_______________________________________________
mp3encoder mailing list
[EMAIL PROTECTED]
http://minnie.tuhs.org/mailman/listinfo/mp3encoder

Reply via email to