From owner-freebsd-current Sat Mar 22 23:41:17 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F03D37B404 for ; Sat, 22 Mar 2003 23:41:16 -0800 (PST) Received: from HAL9000.homeunix.com (12-233-57-131.client.attbi.com [12.233.57.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8347D43FB1 for ; Sat, 22 Mar 2003 23:41:14 -0800 (PST) (envelope-from das@FreeBSD.org) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.6/8.12.5) with ESMTP id h2N7fEuQ080949; Sat, 22 Mar 2003 23:41:14 -0800 (PST) (envelope-from das@FreeBSD.org) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.6/8.12.5/Submit) id h2N7fE1u080948; Sat, 22 Mar 2003 23:41:14 -0800 (PST) (envelope-from das@FreeBSD.org) Date: Sat, 22 Mar 2003 23:41:14 -0800 From: David Schultz To: Anti Cc: Steve Kargl , till@f111.hadiko.de, freebsd-current@FreeBSD.org Subject: Re: libm problem Message-ID: <20030323074114.GA80906@HAL9000.homeunix.com> Mail-Followup-To: Anti , Steve Kargl , till@f111.hadiko.de, freebsd-current@FreeBSD.org References: <20030318173051.GA2322@f111.hadiko.de> <20030319131317.GA670@HAL9000.homeunix.com> <20030321235237.GA8097@f111.hadiko.de> <20030322111233.F4471@gamplex.bde.org> <20030322005435.GA8393@f111.hadiko.de> <20030322051443.GA13854@HAL9000.homeunix.com> <20030322182846.GA81615@troutmask.apl.washington.edu> <20030322123951.67271b29.fearow@attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030322123951.67271b29.fearow@attbi.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thus spake Anti : > On Sat, 22 Mar 2003 10:28:46 -0800 > Steve Kargl wrote: > > > Pentium 4 is definitely broken on 5.x. Perhaps, we should remove > > the footshooting. > > > > --- bsd.cpu.mk.orig Sat Mar 22 10:23:42 2003 > > +++ bsd.cpu.mk Sat Mar 22 10:27:11 2003 > > @@ -62,7 +62,9 @@ > > . elif ${CPUTYPE} == "k5" > > _CPUCFLAGS = -march=pentium > > . elif ${CPUTYPE} == "p4" > > -_CPUCFLAGS = -march=pentium4 > > +# XXX gcc 3.2.2 appears to generate bad code on FreeBSD 5.x > > +#_CPUCFLAGS = -march=pentium4 > > +_CPUCFLAGS = -march=pentiumpro > > . elif ${CPUTYPE} == "p3" > > _CPUCFLAGS = -march=pentium3 > > . elif ${CPUTYPE} == "p2" > > > pentium3 would be better than pentiumpro on a p4 i think... You would think so, but in my (limited) testing on a P3, this does not appear to be the case with gcc3 in -CURRENT. Optimizing for a Ppro worked the best, IIRC. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message