Date: Sat, 28 Jan 2017 03:53:53 +0000 (UTC) From: Takahashi Yoshihiro <nyan@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r312912 - head/sys/i386/isa Message-ID: <201701280353.v0S3rr1X059786@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701280353.v0S3rr1X059786>