mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-24 10:32:32 +00:00
Fix frsp FPSCR[OX] condition
This commit is contained in:
parent
78952866b4
commit
e020d63591
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user