summaryrefslogtreecommitdiff
path: root/Source/Core/Common
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-05-28 16:03:56 -0400
committerLioncash <mathew1800@gmail.com>2018-05-28 16:03:59 -0400
commit7bfeffe32f9f1aa7ead0eaaa746eaaaee67e0be6 (patch)
tree3c87b9230f0f37caf9e36539052ef815557d550c /Source/Core/Common
parent3deadd1fffae81083bb30449b868f2de48e3505d (diff)
Interpreter_FPUtils: Unset FPSCR.FI and FPSCR.FR when FPSCR.ZX is set in NI_div()
Another bit of behavior that we weren't performing correctly is the unsetting of FPSCR.FI and FPSCR.FR when FPSCR.ZX is supposed to be set. This is supported in PEM's section 3.3.6.1 where the following is stated: " When a zero divide condition occurs, the following actions are taken: - Zero divide exception condition bit is set FPSCR[ZX] = 1. - FPSCR[FR, FI] are cleared. " And so, this fixes that behavior.
Diffstat (limited to 'Source/Core/Common')
0 files changed, 0 insertions, 0 deletions