Please sign in to comment.
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 188.8.131.52 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.
- Loading branch information...
Showing with 2 additions and 0 deletions.