mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-14 10:23:05 +00:00
Dyncom/VFP: Strip the VFP_NAN_FLAG sentinel value when setting vfp exceptions.
This commit is contained in:
parent
bf45ccfb40
commit
11fe85f129
|
@ -1216,7 +1216,7 @@ u32 vfp_double_cpdo(ARMul_State* state, u32 inst, u32 fpscr) {
|
||||||
except = fop->fn(state, dest, dn, dm, fpscr);
|
except = fop->fn(state, dest, dn, dm, fpscr);
|
||||||
LOG_TRACE(Core_ARM11, "VFP: itr%d: exceptions=%08x", vecitr >> FPSCR_LENGTH_BIT, except);
|
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
|
* 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);
|
except = fop->fn(state, dest, sn, m, fpscr);
|
||||||
LOG_TRACE(Core_ARM11, "itr%d: exceptions=%08x", vecitr >> FPSCR_LENGTH_BIT, except);
|
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
|
* CHECK: It appears to be undefined whether we stop when
|
||||||
|
|
Loading…
Reference in a new issue