29-06-2010 22:03, Bill Longman yazmış:
On 06/29/2010 05:54 PM, Hasan SAHIN wrote:
Hello all,

I am using Athlon64 X2 processor with the
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer" option.

Can I use the -march=native option instead of that?
Sorry, Hasan, I dropped my "3"s.

-msse3 and -march=k8-sse3
Hi Bill,

I have read the safe flags document and it says that :

/GCC 4.2 introduces a new -march option, -march=*native*, which automatically detects the features your CPU supports and sets the options appropriately. If you have an Intel or AMD CPU and are using >=sys-devel/gcc-4.2.3, using -march=native is recommended. Do *not* use -march=native if you use distcc on nodes with different architectures as this may produce unusable code. /

which I understood, I can use the -march=native option instead of

CFLAGS="-march=k8-msse3 -O2 -pipe -fomit-frame-pointer"

is it true?

Regards,
Hasan.

Reply via email to