summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorasmodai <asmodai@FreeBSD.org>2000-02-05 11:56:26 +0000
committerasmodai <asmodai@FreeBSD.org>2000-02-05 11:56:26 +0000
commitb43cab5c02841f68ebf54fe9a57331480c4270e5 (patch)
tree580cb912420e5c3c1fee16b5d0e33610a1149b67
parentde5e1b620a0b99a65cbd75dfc5f1708b5535b8ee (diff)
downloadFreeBSD-src-b43cab5c02841f68ebf54fe9a57331480c4270e5.zip
FreeBSD-src-b43cab5c02841f68ebf54fe9a57331480c4270e5.tar.gz
Update a bit. Inspired by the mentioned PR.
PR: 11258 Submitted by: Motomichi Matsuzaki <mzaki@e-mail.ne.jp> and John Reynolds <jjreynold@home.com>
-rw-r--r--share/man/man4/man4.i386/npx.419
1 files changed, 15 insertions, 4 deletions
diff --git a/share/man/man4/man4.i386/npx.4 b/share/man/man4/man4.i386/npx.4
index e742e7c..adc849e 100644
--- a/share/man/man4/man4.i386/npx.4
+++ b/share/man/man4/man4.i386/npx.4
@@ -38,7 +38,10 @@
.Nd Numeric Processing Extension coprocessor and emulator
.Sh SYNOPSIS
.Cd "device npx0 at nexus? port IO_NPX flags 0x0 irq 13"
+.Pp
+For hosts without a FPU coprocessor add:
.Cd "options MATH_EMULATE"
+or
.Cd "options GPL_MATH_EMULATE"
.\" XXX this is awful hackery to get it to work right... -- cgd
.\" What the heck does he mean? - cracauer
@@ -59,14 +62,22 @@ coprocessors. The
driver is required for proper system functioning regardless
of whether or not a NPX is present.
.Pp
-If there is no NPX present in the system, the "MATH_EMULATE" or
-"GPL_MATH_EMULATE" option must be defined in the kernel configuration
+If there is no NPX present in the system, the MATH_EMULATE or
+GPL_MATH_EMULATE option must be defined in the kernel configuration
file.
It will provide support for the instructions normally executed by the
NPX.
If there is no NPX in the system and the kernel is not built with math
emulation, the system will not boot.
.Pp
+You can choose to use a much more fully-featured math emulator (under the
+GPL license) by including the option GPL_MATH_EMULATE in your kernel
+configuration file instead of the MATH_EMULATE option.
+.Pp
+The
+.Sy GENERIC
+kernel configuration uses the MATH_EMULATE option.
+.Pp
For a description of the possible "flags" values see the LINT kernel
configuration file.
.Sh CAVEATS
@@ -87,6 +98,6 @@ the NPX to the CPU wired properly.
If this is the case, the emulator must be used if consistent system
operation is desired.
.Pp
-Emulation of the transcendental functions instructions in the non-GPL
-emulator is incorrect.
+When using the default MATH_EMULATE option,
+transcendental function instructions are not implemented.
Emulation of other instructions is suspect.
OpenPOWER on IntegriCloud