Petr Janda wrote:
I'm wondering if its good o set CPUTYPE for extra optimization, or if
its ok to set any other extra compiler optimizations other than the
default.
don't set -march/-mtune + -O2/-Os with gcc3.4 and stack protector, it produces
bad code. normal -O is fine, though.
cheers
s
Petr Janda wrote:
Hey everyone,
I'm wondering if its good o set CPUTYPE for extra optimization, or if
its ok to set any other extra compiler optimizations other than the
default.
Thanks,
Petr
good page! http://gentoo-wiki.com/Safe_Cflags
best regards, Alexander
It depends whether it appears to speed up the code you are compiling
up or not! And the only way you will know this is if you try it.
Although benchmarks tend to lie anyway and "magic bullets" not exist.
The best way of doing this, at least for packages, would be to port
/usr/pkgsrc/devel/cpufl
Hey everyone,
I'm wondering if its good o set CPUTYPE for extra optimization, or if
its ok to set any other extra compiler optimizations other than the
default.
Thanks,
Petr