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-95647-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1M7gsB-0000KM-6y
	for garchives@archives.gentoo.org; Sat, 23 May 2009 02:22:07 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 7FAB1E02F5;
	Sat, 23 May 2009 02:22:05 +0000 (UTC)
Received: from mail.askja.de (mail.askja.de [83.137.103.136])
	by pigeon.gentoo.org (Postfix) with ESMTP id 56D16E02F5
	for <gentoo-user@lists.gentoo.org>; Sat, 23 May 2009 02:22:05 +0000 (UTC)
Received: from static-87-79-89-40.netcologne.de ([87.79.89.40] helo=zone.wonkology.org)
	by mail.askja.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.69)
	(envelope-from <wonko@wonkology.org>)
	id 1M7gs8-0004j6-Pb
	for gentoo-user@lists.gentoo.org; Sat, 23 May 2009 04:22:04 +0200
Received: from localhost (localhost [127.0.0.1])
  (uid 1000)
  by zone.wonkology.org with local; Sat, 23 May 2009 04:22:02 +0200
  id 00010496.4A175DCA.0000200B
From: Alex Schuster <wonko@wonkology.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: -march=auto
Date: Sat, 23 May 2009 04:21:59 +0200
User-Agent: KMail/1.11.3 (Linux/2.6.28-tuxonice-r3; KDE/4.2.3; i686; ; )
References: <634395.77014.qm@web31605.mail.mud.yahoo.com>
In-Reply-To: <634395.77014.qm@web31605.mail.mud.yahoo.com>
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
Content-Disposition: inline
Content-Type: Text/Plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
Message-Id: <200905230422.01149.wonko@wonkology.org>
X-Archives-Salt: 25bd7339-3d2a-433c-ac82-c4c0c38b728e
X-Archives-Hash: 8f48113b9cfade185ffee90673a291da

maxim wexler writes:

> > If so, Daniel's tip about 'gcc -Q --help=target -march=native' will give
> > you the exact options to use.

> See attachment please. Some stuff is enabled, some disabled, some blank.

Try this:
gcc -Q --help=target -march=native > /tmp/gccoptions.native
gcc -Q --help=target               > /tmp/gccoptions.plain
diff /tmp/gccoptions.*

This will show the things that specifying -march=native turns on. Put this 
in your CFLAGS, unless you use -march=native.

> And -march=prescott !?

Why not? Seems gcc 4.3 does not have the -march=atom optimization yet. It's 
also suggested here:
http://en.gentoo-wiki.com/wiki/Safe_Cflags/Intel#Atom

	Wonko