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 ) id 1OTyJN-0005ad-7O for garchives@archives.gentoo.org; Wed, 30 Jun 2010 14:30:53 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B84E2E0A90; Wed, 30 Jun 2010 14:30:37 +0000 (UTC) Received: from mail-gy0-f181.google.com (mail-gy0-f181.google.com [209.85.160.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 94CD2E0A90 for ; Wed, 30 Jun 2010 14:30:37 +0000 (UTC) Received: by gyg4 with SMTP id 4so462739gyg.40 for ; Wed, 30 Jun 2010 07:30:37 -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=GrNuD+4baBjWm6wA2NFXzhuF5lz9FG7rS1/GN2T5LaE=; b=iGAnJ+zpSh9hP1BRQG9/m1eCKW+ttYVrPOn3QtTzz8tWCTYBbydr6MhAa7g09981Vg 8LQRFBb/hnAKUGUXreU+mdtVO+kx10pGFZ0g5iHLAvJH5Uw9tC9jKNuSWhZdnYRKxJJP 9KcPVwra/vN2hC4wr1Dz5qf3SFwJ8TGjEFZoc= 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=rZwkB8SqFZG0Cixo7x269++AEDVUY0XEESA1d0bVbbgvIlY9sEtL6SCVftkinqB0XY 16cSNmBxlUVktBoXlN21CE1n5Ki/tNqqiG6kSJMUUwCD0bPDz4NuSvyhKZ6qQqgIjPPd 6FXiFGc6Rx+/Ww9bpVbr37RCifr0HT1lpS/cg= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.91.126.15 with SMTP id d15mr7334442agn.37.1277908236996; Wed, 30 Jun 2010 07:30:36 -0700 (PDT) Sender: paul.hartman@gmail.com Received: by 10.151.102.3 with HTTP; Wed, 30 Jun 2010 07:30:36 -0700 (PDT) In-Reply-To: <4C2A9936.6090505@thehenderson.com> References: <4C2A95DB.50000@gmx.com> <4C2A9936.6090505@thehenderson.com> Date: Wed, 30 Jun 2010 09:30:36 -0500 X-Google-Sender-Auth: 6b5fBT5uOH6p7kXIUdrhNS5WeAI Message-ID: Subject: Re: [gentoo-user] -march=native From: Paul Hartman To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: e3c11a1c-1c0b-4922-adb2-ca2f63cfcdad X-Archives-Hash: cdb0c4f44cea0027de5012a1353c9f4e On Tue, Jun 29, 2010 at 8:09 PM, Beau Henderson wrote: > On 06/30/10 08:07, Paul Hartman wrote: >> >> 2010/6/29 Hasan SAHIN: >>> >>> 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? >> >> 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 ). What -march setting is it showing in that output? The MMX (etc) may be enabled implicitly instead of explicitly. It's also possible that the CPU detection is failing to identify your CPU. In that case you could probably file a bug report about it.