mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-19 09:29:58 +00:00
Dyncom/VFP: Strip the VFP_NAN_FLAG sentinel value when setting vfp exceptions.
This commit is contained in:
parent
bf45ccfb40
commit
11fe85f129
2 changed files with 2 additions and 2 deletions
|
@ -1216,7 +1216,7 @@ u32 vfp_double_cpdo(ARMul_State* state, u32 inst, u32 fpscr) {
|
|||
except = fop->fn(state, dest, dn, dm, fpscr);
|
||||
LOG_TRACE(Core_ARM11, "VFP: itr%d: exceptions=%08x", vecitr >> FPSCR_LENGTH_BIT, except);
|
||||
|
||||
exceptions |= except;
|
||||
exceptions |= except & ~VFP_NAN_FLAG;
|
||||
|
||||
/*
|
||||
* CHECK: It appears to be undefined whether we stop when
|
||||
|
|
|
@ -1231,7 +1231,7 @@ u32 vfp_single_cpdo(ARMul_State* state, u32 inst, u32 fpscr) {
|
|||
except = fop->fn(state, dest, sn, m, fpscr);
|
||||
LOG_TRACE(Core_ARM11, "itr%d: exceptions=%08x", vecitr >> FPSCR_LENGTH_BIT, except);
|
||||
|
||||
exceptions |= except;
|
||||
exceptions |= except & ~VFP_NAN_FLAG;
|
||||
|
||||
/*
|
||||
* CHECK: It appears to be undefined whether we stop when
|
||||
|
|
Loading…
Reference in a new issue