From owner-freebsd-hackers Fri Aug 23 13:23:52 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA06810 for hackers-outgoing; Fri, 23 Aug 1996 13:23:52 -0700 (PDT) Received: from main.gbdata.com (GB2.Brewich.COM [207.90.222.20]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA06804 for ; Fri, 23 Aug 1996 13:23:46 -0700 (PDT) Received: (from gclarkii@localhost) by main.gbdata.com (8.7.5/8.6.9) id PAA17356; Fri, 23 Aug 1996 15:23:37 -0500 (CDT) From: Gary Clark II Message-Id: <199608232023.PAA17356@main.gbdata.com> Subject: Re: max math performance - how? To: bde@zeta.org.au (Bruce Evans) Date: Fri, 23 Aug 1996 15:23:37 -0500 (CDT) Cc: freebsd-hackers@freefall.freebsd.org, kuku@gilberto.physik.rwth-aachen.de In-Reply-To: <199608201445.AAA32287@godzilla.zeta.org.au> from Bruce Evans at "Aug 21, 96 00:45:39 am" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hello, Bruce Evans wrote: > > 386BSD used libm, which is slow. -current uses msun, which is > slower, except possibly if it is compiled with option HAVE_FPU. I brought libmsun and the GPL'ed MATH_EMU into the tree for only one reason, so I could run gs 3.X on a 386 w/o a math co. The added bonus was that this same machine could also pass varius tests for ieee math processing. Maybe we should go back to libm as the default and tell people that if they have either the GPL'ed MATH_EMU --OR-- a real math-co then they should should compile libmsun with HAVE_FPU. This brings up another joint subject. Does GCC still use a dumb version of some math routines as default or has this changed? > > Bruce > Gary -- Gary Clark II (N5VMF) | I speak only for myself and "maybe" my company gclarkii@GBData.COM | Member of the FreeBSD Doc Team Providing Internet and ISP startups mail info@GBData.COM for information FreeBSD FAQ at ftp://ftp.FreeBSD.ORG/pub/FreeBSD/docs/freebsd-faq.ascii