Garbage collect the FPU_ERROR_BROKEN option.

It is for pc98 only.
This commit is contained in:
nyan 2017-01-28 03:53:53 +00:00
parent dd885e962b
commit edf372a226

View File

@ -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) {