From: <sy...@sc...> - 2000-10-20 08:57:07
|
On Thu, 19 Oct 2000, Dieter Nützel wrote: snip... > > I normally use the following compiling flags for my Athlon since I > found out they produce the fastest code. > > -O -mcpu=k6 -mpreferred-stack-boundary=2 -malign-functions=4 > -fschedule-insns2 -fexpensive-optimizations > > Yes, only -O is much better (faster and smaller) then -O2. > Even 'k6' is better than i686 or 'athlon' (gcc-2.96). Interesting. Have you tried -march=x versions and/or -O3? I've been compiling everything with -march=athlon -O3, but I haven't done any benchmarking. I have a Duron so I'd like to know if I should be using some other flags due to the smaller cache. -- Ville Syrjala sy...@sc... http://www.sci.fi/~syrjala/ |