From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1GwNrs-0003dI-TX for garchives@archives.gentoo.org; Mon, 18 Dec 2006 19:09:45 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kBIJ7fEr009235; Mon, 18 Dec 2006 19:07:41 GMT Received: from mail.ercbroadband.org (mail.ercbroadband.org [152.53.1.9]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kBIJ7ebO009706 for ; Mon, 18 Dec 2006 19:07:41 GMT X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) Exchange SpamAssassin Sink (www.christopherlewis.com) 1.2.76 on chapman.ercbroadband.local X-Spam-Level: X-Spam-Status: No, score=-4.4 required=7.5 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.7 thread-index: Acci18b+A4i82vGOSs+UMYxjbarsyA== Received: from [192.168.10.35] ([192.168.10.35]) by mail.ercbroadband.org with Microsoft SMTPSVC(6.0.3790.1830); Mon, 18 Dec 2006 14:07:35 -0500 Message-ID: <4586E6F7.1070401@ercbroadband.org> Date: Mon, 18 Dec 2006 14:07:35 -0500 From: "Mark Haney" User-Agent: Thunderbird 1.5.0.8 (X11/20061110) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 Content-Class: urn:content-classes:message Importance: normal Priority: normal To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2826 Subject: Re: [gentoo-amd64] Correct -march in make.conf References: <4586D8C0.4080408@ercbroadband.org> <200612182005.29865.shrdlu@unlimitedmail.org> In-Reply-To: <200612182005.29865.shrdlu@unlimitedmail.org> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 18 Dec 2006 19:07:35.0521 (UTC) FILETIME=[C6FE3510:01C722D7] X-Archives-Salt: 85a2972c-f160-458a-9633-0db0023736ec X-Archives-Hash: 279525ef93805f4d6bd1d94c6c38e91b Etaoin Shrdlu wrote: > On Monday 18 December 2006 19:06, Mark Haney wrote: > >> I've been using -mcpu since I started using gentoo, but have been >> noticing the '-mcpu is deprecated etc.' messages when updating. Being >> the paranoid I am, I'd like to get rid of those, but haven't found the >> correct option to use for -march. Is it the same as -mcpu? Or what's >> the correct one for amd64? > > You can use -mtune in place of -mcpu. If you don't need binary > compatibility with other CPUs, you should use -march. Speaking of > which...that really depends. "amd64" means a lot of CPUs, including AMD > and Intel models. What's your CPU? > > According to [1], you should set -march=k8 for AMD CPUs (non-EM64T) > and -march=nocona for Intel ones (EM64T). But, for AMD athlon64 X2, you > can also use -march=athlon64. [2] is a good reference, IMHO. > > If you want to optimize further, the forums have lots of threads devoted > to CFLAGS optimization. > > [1] http://www.gentoo.org/doc/en/gentoo-amd64-faq.xml#cflags > [2] http://gentoo-wiki.com/Safe_Cflags All the suggestions I have received have been great. As for my CPU it's a standard Athlon64 sitting in a Compaq laptop. Nothing particularly outside the norm. Thanks again for all the answers. -- Ita erat quando hic adveni. Mark Haney Sr. Systems Administrator ERC Broadband (828) 350-2415 -- gentoo-amd64@gentoo.org mailing list