From owner-freebsd-hackers Tue Aug 6 17:14:15 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2823537B401 for ; Tue, 6 Aug 2002 17:14:12 -0700 (PDT) Received: from spork.pantherdragon.org (spork.pantherdragon.org [206.29.168.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC9A643E77 for ; Tue, 6 Aug 2002 17:14:10 -0700 (PDT) (envelope-from dmp@pantherdragon.org) Received: from sparx.pantherdragon.org (evrtwa1-ar10-4-61-252-210.evrtwa1.dsl-verizon.net [4.61.252.210]) by spork.pantherdragon.org (Postfix) with ESMTP id 0B5A0FDDC; Tue, 6 Aug 2002 17:14:10 -0700 (PDT) Received: from pantherdragon.org (speck.techno.pagans [172.21.42.2]) by sparx.pantherdragon.org (Postfix) with ESMTP id 4D83DAB04; Tue, 6 Aug 2002 17:14:07 -0700 (PDT) Message-ID: <3D50664F.71603B49@pantherdragon.org> Date: Tue, 06 Aug 2002 17:14:07 -0700 From: Darren Pilgrim X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Peter Wemm Cc: Matthew Dillon , Dan Nelson , Terry Lambert , Jason Andresen , Dmitry Morozovsky , hackers@FreeBSD.ORG Subject: Re: -fomit-frame-pointer for the world build References: <20020806214833.705D32A7D6@canning.wemm.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Peter Wemm wrote: > Far more speed benefit can be had by setting -mcpu/-march/-mtune > *correctly* than things like -fomit-frame-pointer will do. For example, 32 > bit multiply is REALLY slow on i386 (our default target until recently) so > gcc will try and "optimize" out multiplies by converting them to shift/add. > Of course, this turns out to usually be slower on pentium and above. :-] How do Intel's "Overdrive" processors fit in? I have one machine that has a Pentium Pro Overdrive processor. Do I set CPU=i686 or CPU=p2 in this case? Here's kernel line for the CPU: CPU: Overdrive Pentium II/Pentium II Xeon/Celeron (332.39-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x1631 Stepping = 1 Features=0x183f9ff I would assume CPU=p2, but I also know that what's in the ceramic casing isn't a standard Pentium II. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message