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>
This commit is contained in:
parent
de5e1b620a
commit
b43cab5c02
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user