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? > > P.S. : I am using x86 stable box.
Depends more on the version of gcc you're using. And you can also add -msse on the X2. Supposedly there's a -march=k8-sse but in my experience it was not good. Others may have different experience.