diff --git a/bochs/fpu/fpu_trans.cc b/bochs/fpu/fpu_trans.cc index 3080f62c6..483d278a0 100755 --- a/bochs/fpu/fpu_trans.cc +++ b/bochs/fpu/fpu_trans.cc @@ -233,7 +233,7 @@ void BX_CPU_C::FPREM1(bxInstruction_c *i) } float_status_t status = - FPU_pre_exception_handling(BX_CPU_THIS_PTR the_i387.get_control_word() | FPU_PR_80_BITS); + FPU_pre_exception_handling(BX_CPU_THIS_PTR the_i387.get_control_word()); Bit64u quotient; @@ -276,7 +276,7 @@ void BX_CPU_C::FPREM(bxInstruction_c *i) } float_status_t status = - FPU_pre_exception_handling(BX_CPU_THIS_PTR the_i387.get_control_word() | FPU_PR_80_BITS); + FPU_pre_exception_handling(BX_CPU_THIS_PTR the_i387.get_control_word()); Bit64u quotient; diff --git a/bochs/fpu/fyl2x.cc b/bochs/fpu/fyl2x.cc index 6927f5064..9678db3a2 100755 --- a/bochs/fpu/fyl2x.cc +++ b/bochs/fpu/fyl2x.cc @@ -339,7 +339,7 @@ invalid: } return - normalizeRoundAndPackFloatx80(80, aSign ^ bSign, zExp, zSig0, zSig1, status); + roundAndPackFloatx80(80, aSign ^ bSign, zExp, zSig0, zSig1, status); } /* ******************************** */