From e020d63591feb5b0db5d4396329b31e730f3cba7 Mon Sep 17 00:00:00 2001 From: gbeauche <> Date: Tue, 4 Jul 2006 23:17:37 +0000 Subject: [PATCH] Fix frsp FPSCR[OX] condition --- SheepShaver/src/kpx_cpu/src/cpu/ppc/ppc-execute.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SheepShaver/src/kpx_cpu/src/cpu/ppc/ppc-execute.cpp b/SheepShaver/src/kpx_cpu/src/cpu/ppc/ppc-execute.cpp index a7ecd8fc..983e253b 100644 --- a/SheepShaver/src/kpx_cpu/src/cpu/ppc/ppc-execute.cpp +++ b/SheepShaver/src/kpx_cpu/src/cpu/ppc/ppc-execute.cpp @@ -940,6 +940,8 @@ void powerpc_cpu::execute_fp_round(uint32 opcode) int raised = fetestexcept(FE_ALL_EXCEPT); if (raised & FE_UNDERFLOW) exceptions |= FPSCR_UX_field::mask(); + if (raised & FE_OVERFLOW) + exceptions |= FPSCR_OX_field::mask(); if (raised & FE_INEXACT) exceptions |= FPSCR_XX_field::mask(); record_fpscr(exceptions);