[Nottingham] Compiler optimisation flags (gcc, g++)

Roger Light Roger.Light at nottingham.ac.uk
Mon Nov 3 16:37:53 GMT 2003


Hi Martin,

>Any pitfalls with using the following compiler optimisations for an 
>Athlon Palomino cpu system?
>
>
>echo $CFLAGS
>-march=athlon-xp -O3 -fexpensive-optimizations -funroll-loops 
>-fomit-frame-pointer -fschedule-insns2 -minline-all-stringops 
>-mfancy-math-387 -mfp-ret-in-387 -m3dnow -msse -mfpmath=sse -mmmx 
>-malign-double -falign-functions=4 -preferred-stack-boundary=4 
>-fforce-addr -pipe
>
>and CXXFLAGS=CFLAGS

I can't offer any personal experience, but I bet a reasonable place to look would be the gentoo forums/lists/irc channels. There is bound to be people who have optimised to the point of breakage.

Where did you find all of those anyway?

Cheers,

Roger




More information about the Nottingham mailing list