From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-112253-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1OTyFP-0005F0-Ho
	for garchives@archives.gentoo.org; Wed, 30 Jun 2010 14:26:44 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id C6092E08D2;
	Wed, 30 Jun 2010 14:26:06 +0000 (UTC)
Received: from mail-pw0-f53.google.com (mail-pw0-f53.google.com [209.85.160.53])
	by pigeon.gentoo.org (Postfix) with ESMTP id 96DF3E08D2
	for <gentoo-user@lists.gentoo.org>; Wed, 30 Jun 2010 14:26:06 +0000 (UTC)
Received: by pwj9 with SMTP id 9so304101pwj.40
        for <gentoo-user@lists.gentoo.org>; Wed, 30 Jun 2010 07:26:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:received:sender:received
         :in-reply-to:references:date:x-google-sender-auth:message-id:subject
         :from:to:content-type;
        bh=au6M67mrwXRhMnxNdPGKSF/gfqq/sFyY4IFkG3uTJNw=;
        b=KQi3BkeN4xg2E3/Mvk6eUVTEDruTbAVViqPUM+uPH/8lW3UaYz7h7FaI9yrgMTIRuw
         Lo0lZj+47U4x7DyLql1cZdtkBkesKYZUvm9QhxGO9FJvx8yS9Sq4wOVrfrSYe7AYAuR/
         cMyQ0lNLTUyIf9l1/vxy+bCzvh9g0F9pwaNUA=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:sender:in-reply-to:references:date
         :x-google-sender-auth:message-id:subject:from:to:content-type;
        b=RywvxaUsTgjtmYKESprfuOPe/OkfT72SDq9RGaFttGx77yP5P7joC0dYuKMN4rUc0k
         MMboPtwAB//kDPZCPI5LKPV2FiFHFxssrj6sBN3UZ7ZXxPn1Z6SDUbzR8O67vG523hvD
         54l5KtHf8MZ0reifkxi5oPeYnGmhXZPIKqqNk=
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.143.27.31 with SMTP id e31mr9382576wfj.92.1277907966025; Wed, 
	30 Jun 2010 07:26:06 -0700 (PDT)
Sender: paul.hartman@gmail.com
Received: by 10.151.102.3 with HTTP; Wed, 30 Jun 2010 07:26:05 -0700 (PDT)
In-Reply-To: <1277862850.1329505.6.camel@paska>
References: <4C2A95DB.50000@gmx.com>
	<AANLkTil5w71PVQ_z7MZ3l5y6OVU2ZyfGIdyTGQwsa3Y1@mail.gmail.com>
	<4C2A9936.6090505@thehenderson.com>
	<1277862850.1329505.6.camel@paska>
Date: Wed, 30 Jun 2010 09:26:05 -0500
X-Google-Sender-Auth: 41xWzOvnAY83sPoz5CbAS479ZyU
Message-ID: <AANLkTinxvXJUX4cbJRUKMGjmR9-UTd4oQY9EjvX42K76@mail.gmail.com>
Subject: Re: [gentoo-user] -march=native
From: Paul Hartman <paul.hartman+gentoo@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=ISO-8859-1
X-Archives-Salt: 12c8df3d-8ce4-47a5-b2d2-3e222fdd44b8
X-Archives-Hash: 1617c4be514eef65a540f283c71d1898

On Tue, Jun 29, 2010 at 8:54 PM, Albert Hopkins <marduk@letterboxes.org> wrote:
> On Wed, 2010-06-30 at 11:09 +1000, Beau Henderson wrote:
>> On 06/30/10 08:07, Paul Hartman wrote:
> [...]
>> > You can see which options -march=native would use by running this command:
>> >
>> > gcc -Q --help=target  -march=native
>> >
>> > (thanks to Daniel Iliev for the tip)
>> >
>>
>> Perhaps I'm missing something but running the above gives me the impression that -march=native
>> actually only configures the bare minimal install. I'm not seeing -mmmx or -msse3 enabled on my
>> k8-sse3 for instance ( amongst much else ).
>>
>
> -march sometimes implies a some things.  E.g., anything above a pentium2
> implies MMX.  My hunch is that k8-sse3 implies... sse3.

See this page of the GCC documentation for some info about what is
enabled in the different arches:

http://gcc.gnu.org/onlinedocs/gcc-4.4.3/gcc/i386-and-x86_002d64-Options.html