diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-04-12 01:40:55 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-04-12 19:47:06 -0400 |
| commit | 965b963a6f62bec45c0810c01ab5a8a1aa231463 (patch) | |
| tree | 669080a14215cfd4a85d7f0410077066ee829eb7 /Source/Core/VideoBackends/D3D/TextureCache.cpp | |
| parent | bbd1bb8eaaf7966a4c7aa27afa6c2b085321c329 (diff) | |
Interpreter_FloatingPoint: Handle SNaNs properly in frsp
If FPSCR[VE] is set, a result isn't supposed to be written to the destination,
just the FPSCR[VXSNAN] bit gets set, and FPSCR[FR] and FPSCR[FI] get set to zero.
If FPSCR[VE] isn't set, then we do write out a result, however, the FPSCR[FPRF]
field is updated to signify a QNaN (yes, a QNaN, the FPRF field doesn't have
a bit configuration for SNaNs).
Diffstat (limited to 'Source/Core/VideoBackends/D3D/TextureCache.cpp')
0 files changed, 0 insertions, 0 deletions
