Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] -march=native
Date: Wed, 30 Jun 2010 14:26:44
Message-Id: AANLkTinxvXJUX4cbJRUKMGjmR9-UTd4oQY9EjvX42K76@mail.gmail.com
In Reply to: Re: [gentoo-user] -march=native by Albert Hopkins
1 On Tue, Jun 29, 2010 at 8:54 PM, Albert Hopkins <marduk@×××××××××××.org> wrote:
2 > On Wed, 2010-06-30 at 11:09 +1000, Beau Henderson wrote:
3 >> On 06/30/10 08:07, Paul Hartman wrote:
4 > [...]
5 >> > You can see which options -march=native would use by running this command:
6 >> >
7 >> > gcc -Q --help=target -march=native
8 >> >
9 >> > (thanks to Daniel Iliev for the tip)
10 >> >
11 >>
12 >> Perhaps I'm missing something but running the above gives me the impression that -march=native
13 >> actually only configures the bare minimal install. I'm not seeing -mmmx or -msse3 enabled on my
14 >> k8-sse3 for instance ( amongst much else ).
15 >>
16 >
17 > -march sometimes implies a some things. E.g., anything above a pentium2
18 > implies MMX. My hunch is that k8-sse3 implies... sse3.
19
20 See this page of the GCC documentation for some info about what is
21 enabled in the different arches:
22
23 http://gcc.gnu.org/onlinedocs/gcc-4.4.3/gcc/i386-and-x86_002d64-Options.html