Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jun 1996 08:56:45 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, jehamby@lightside.com
Cc:        freebsd-hackers@FreeBSD.org, mrm@MARMOT.Mole.ORG
Subject:   Re: TARGET_NO_FANCY_MATH_387
Message-ID:  <199606022256.IAA10457@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>Those performance gains are substantial!  Although I don't do anything
>math-intensive with FreeBSD, I still wish I had known about HAVE_FPU
>earlier.  This _really_ needs to be a FAQ or even mentioned during
>sysinstall.  Therefore, I suggest we build two different versions of libm,
>and have sysinstall link to the correct one depending on whether the user
>has a math coprocessor or not (we could ask, or possibly probe the system
>for this information).  Eventually, we can do a similar thing with
>Pentium-optimized versions of this and libc (bcopy, bzero, etc).  

I plan to select each function at runtime.  This is good enough for the
kernel.  Other methods require too much duplication of the parts that
don't vary.  For the FPU this has been planned but not implemented for
years :-(.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606022256.IAA10457>