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.43) id 1DxoXY-0002tQ-Cq for garchives@archives.gentoo.org; Wed, 27 Jul 2005 16:13:52 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6RGCFhN028246; Wed, 27 Jul 2005 16:12:15 GMT Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6RGCFZT024516 for ; Wed, 27 Jul 2005 16:12:15 GMT Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DxoVl-0007Gw-0s for gentoo-amd64@lists.gentoo.org; Wed, 27 Jul 2005 18:12:01 +0200 Received: from ip68-230-97-182.ph.ph.cox.net ([68.230.97.182]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Jul 2005 18:12:01 +0200 Received: from 1i5t5.duncan by ip68-230-97-182.ph.ph.cox.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Jul 2005 18:12:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-amd64@lists.gentoo.org From: Duncan <1i5t5.duncan@cox.net> Subject: [gentoo-amd64] Re: x86_64 optimization patches for glibc. Date: Wed, 27 Jul 2005 09:11:57 -0700 Organization: Sometimes Message-ID: References: <42E258A7.5080501@telia.com> <1122136577.16577.2.camel@localhost> <42E27993.5080802@telia.com> <3655f5d905072703096be71ed1@mail.gmail.com> 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-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ip68-230-97-182.ph.ph.cox.net User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table) Sender: news X-Archives-Salt: b64625d4-3825-4aad-b777-1423c4cb517b X-Archives-Hash: 7b44356ce1bd71798191d701036da413 netpython posted <3655f5d905072703096be71ed1@mail.gmail.com>, excerpted below, on Wed, 27 Jul 2005 10:09:35 +0000: > Should i use -march=k8 or -march=athlon64 ? Or doesn't make any > difference? My CPU is a AMD64 3000+ At this point, it makes absolutely no difference. The two, along with -march=opteron, and I think one or two other aliases, are internally set to exactly the same thing in gcc. There's a small chance that at some point in the future the hardware paths of the current aliases will diverge enough to make splitting the alias a possibility, but practically speaking, even if that /were/ to happen, the new diverged version would very likely get a different name, so as to preserve backward compatibility for all those who set their configuration when they were all aliases. Thus, the chance of there actually being a difference between what is now treated exactly the same, is in reality, /very/ small, a small chance on a small chance. Odds of winning the lottery or dieing in a car accident are likely far higher. Here, I use -march=k8, simply because "k8" is a distinctive and short enough string, it's easy to pick out in moving text, as the compile output scrolls by, thus making it easier for me to verify my CFLAGS as part of the settings fed to gcc as they fly by. Other than that, it's entirely arbitrary. -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman in http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html -- gentoo-amd64@gentoo.org mailing list