From owner-freebsd-commit Thu Dec 14 04:43:41 1995 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA29681 for freebsd-commit-outgoing; Thu, 14 Dec 1995 04:43:41 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA29618 for cvs-all-outgoing; Thu, 14 Dec 1995 04:40:43 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA29605 for cvs-user-outgoing; Thu, 14 Dec 1995 04:40:41 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id EAA29599 Thu, 14 Dec 1995 04:40:26 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id XAA13391; Thu, 14 Dec 1995 23:31:28 +1100 Date: Thu, 14 Dec 1995 23:31:28 +1100 From: Bruce Evans Message-Id: <199512141231.XAA13391@godzilla.zeta.org.au> To: CVS-committers@freefall.freebsd.org, cvs-user@freefall.freebsd.org, phk@freefall.freebsd.org Subject: Re: cvs commit: src/lkm/gnufpu Makefile Sender: owner-commit@FreeBSD.ORG Precedence: bulk > Modified: lkm Makefile > Added: lkm/fpu Makefile > lkm/gnufpu Makefile > Log: > Two x87 emulators as LKMs. > If somebody with the right HW would make the change to /etc/rc to use > this, we could rip MATH_EMULATE from GENERIC... It can't work with the right h/w (no fpu) or the right testing procedure (fake no h/w) because at least /bin/sh uses the fpu for at least _setjmp() and _longjmp(). It's hard to tell which things in the library or in /etc/rc use floating point. In fact, fsck uses floating point just to print the fragmentation percentage, and csh uses floating point for its printf(1) builtin, and sh uses floating point for its printf(1) builtin (see /usr/src/usr.bin/printf/printf.c) although it uses a special broken version of printf(3) for builtins and screws up `printf %g 1.1'... Bruce