svn commit: r312912 - head/sys/i386/isa
Takahashi Yoshihiro
nyan at FreeBSD.org
Sat Jan 28 03:53:54 UTC 2017
Author: nyan
Date: Sat Jan 28 03:53:53 2017
New Revision: 312912
URL: https://svnweb.freebsd.org/changeset/base/312912
Log:
Garbage collect the FPU_ERROR_BROKEN option.
It is for pc98 only.
Modified:
head/sys/i386/isa/npx.c
Modified: head/sys/i386/isa/npx.c
==============================================================================
--- head/sys/i386/isa/npx.c Sat Jan 28 02:25:33 2017 (r312911)
+++ head/sys/i386/isa/npx.c Sat Jan 28 03:53:53 2017 (r312912)
@@ -304,14 +304,6 @@ npx_probe(void)
*/
control &= ~(1 << 2); /* enable divide by 0 trap */
fldcw(control);
-#ifdef FPU_ERROR_BROKEN
- /*
- * FPU error signal doesn't work on some CPU
- * accelerator board.
- */
- hw_float = 1;
- return (1);
-#endif
npx_traps_while_probing = 0;
fp_divide_by_0();
if (npx_traps_while_probing != 0) {
More information about the svn-src-all
mailing list