Gentoo Archives: gentoo-user

From: Bill Longman <bill.longman@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] -march=native
Date: Tue, 29 Jun 2010 22:01:11
Message-Id: 4C2A6D07.6000104@gmail.com
In Reply to: [gentoo-user] -march=native by Hasan SAHIN
1 On 06/29/2010 05:54 PM, Hasan SAHIN wrote:
2 > Hello all,
3 >
4 > I am using Athlon64 X2 processor with the
5 > CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer" option.
6 >
7 > Can I use the -march=native option instead of that?
8 >
9 > P.S. : I am using x86 stable box.
10
11 Depends more on the version of gcc you're using. And you can also add
12 -msse on the X2. Supposedly there's a -march=k8-sse but in my experience
13 it was not good. Others may have different experience.