Please sign in to comment.
Interpreter_FloatingPoint: Handle NaN flag setting within fctiw and f…
…ctiwz If a NaN of any type is passed as the operand to either of these instructions, we shouldn't go down the regular code path, as we end up potentially setting the wrong flags. For example, we wouldn't set the FPSCR.VXCVI bit properly. We'd also set FPSCR.FI, when in actuality it should be unset. If an SNaN is passed as an operand, we also need to set the FPSCR.VXSNAN bit as well. The flag setting behavior for these can be found in Appendix C.4.2 in PowerPC Microprocessor Family: The Programming Environments Manual for 32 and 64-bit Microprocessors.
- Loading branch information...
Showing with 17 additions and 1 deletion.