summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/SWmain.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-05-23 21:28:14 -0400
committerLioncash <mathew1800@gmail.com>2018-05-23 21:53:37 -0400
commitdfea5cb00d3525d230b3c1d15c108b019a0c9d14 (patch)
tree674f4c22d9e62ed1f36da69aad5fa6234e5533dd /Source/Core/VideoBackends/Software/SWmain.cpp
parent5ac05725c88a146ff517dc145c07a9f475186256 (diff)
Interpreter_FPUtils: Set the FPSCR.VX bit if any invalid operation exception bits are set
The VX bit is intended to be a summary bit indicating the occurrence of any kind of invalid operation. Therefore, whenever an invalid operation exception is set, also set VX. This corrects our CR flag setting for multiple instructions in certain scenarios. This corrects flag setting cases in fadd, fadds, fctiw, fctiwz, fdiv, frsp, frsqrte, fsub, and fsubs (and technically every floating-point instruction that we make more accurate in the future with regards to flag setting).
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWmain.cpp')
0 files changed, 0 insertions, 0 deletions