From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: * X-Spam-Status: No, score=1.4 required=5.0 tests=DATE_IN_PAST_06_12,DMARC_NONE, INVALID_DATE,MAILING_LIST_MULTI autolearn=no autolearn_force=no version=4.0.0 Received: from mailgw2.netvision.net.il ([194.90.1.9]) by cvs.gentoo.org with esmtp (Exim 3.30 #1) id 15LfAO-0004Ur-00 for gentoo-dev@cvs.gentoo.org; Sun, 15 Jul 2001 00:14:09 -0600 Received: from localhost (ras4-p62.rlz.netvision.net.il [62.0.85.190]) by mailgw2.netvision.net.il (8.9.3/8.9.3) with SMTP id JAA08322 for ; Sun, 15 Jul 2001 09:15:26 +0300 (IDT) Content-Type: text/plain; charset="iso-8859-1" From: Dan Armak To: gentoo-dev@cvs.gentoo.org Subject: Re: [gentoo-dev] make.conf optimization flags for k6, athlon X-Mailer: KMail [version 1.2] References: <01071323350502.00707@localhost> <20010715.543000@localhost.localdomain> In-Reply-To: <20010715.543000@localhost.localdomain> MIME-Version: 1.0 Message-Id: <01071509140900.00688@localhost> Content-Transfer-Encoding: 8bit Sender: gentoo-dev-admin@cvs.gentoo.org Errors-To: gentoo-dev-admin@cvs.gentoo.org X-BeenThere: gentoo-dev@cvs.gentoo.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: gentoo-dev@cvs.gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux development list List-Unsubscribe: , List-Archive: Date: Sun Jul 15 00:15:02 2001 X-Original-Date: Sun, 15 Jul 2001 09:14:09 +0300 X-Archives-Salt: 22ebe1e8-ebc7-40cf-baa5-a048a6113ced X-Archives-Hash: a82ca65bb250a3a8d59a19f4fda4fdcb On Sunday 15 July 2001 03:54, you wrote: > A few comments I've been meaning to make. > > 1. According to the GCC documentation you shouldn't be using -m > any more. It's been depreciated in favor of -mcpu. I know that. The mpentium etc. flags wre in the originl make.conf, the things I added were -march=x -mcpu=x. I'll change mpentium for march=pentium if I haven't already. > > 2. You don't need to use -mcpu usually with -march as -march sets -mcpu > for you. I say usually 'cause there's an AMD processor (can't remember > which) that uses a different instruction set than the default set by the > -march it uses. I think you're wrong. If I say march=i486 mcpu=i586 this means the binary will run on any 486 or better, but is optimized for the 586. > > 3. The usage of processor names has been depreciated as well. Should > use i586, etc. instead. For intel processors maybe. However AMD's k6, though a 586, is better than a Pentium, and the Athlon, though a 686, is better than a Pentium3. Although it really would be better if gcc allowed for flags of instruction sets etc. so that you could define your 'custom processor' by saying, use MMX+3DNow!2+sse. Than we'd know exactly what optimization it was doing. Dan Armak