On Thursday 06 July 2006 22:02, Curtis Napier wrote:
> Every developer who has ever commented on one of these threads has
> always agreed with that. Put it in USE not CLFAGS.
Well it's not totally right.

Putting them in CFLAGS, when using -march, is redundant, pure and simple.

-march=athlon64 -msse -msse2 -mmmx -m3dnow -m3dnowex
would be equivalent of
-march=athlon64

If you have a new Athlon64 that supports SSE3, using
-march=athlon64 -msse3
is not only legit, but also (in my opinion at least) suggested. GCC can 
improve heavily if it knows what it has to do.

The problem is that people think that using
-march=pentium3 -mmmx
will bring them more acceleration, while this isn't true.

So I would suggest anybody wanting to comment on these issue to know the 
difference of using mmx in useflag and -mmmx in CFLAGS at the moment.
And then evaluate the change in behaviour.


Note: -march=i586 -mmmx for Pentium (classic) MMX is a good idea most of the 
times, as it's not an i686 but at the same time it has MMX support.

-- 
Diego "Flameeyes" Pettenò - http://farragut.flameeyes.is-a-geek.org/
Gentoo/Alt lead, Gentoo/FreeBSD, Video, AMD64, Sound, PAM, KDE

Attachment: pgppXtMqRbnIf.pgp
Description: PGP signature

Reply via email to