Please sign in to comment.
Interpreter_FloatingPoint: Don't store to destination in fres if VE o…
…r ZE is set and a relevant exception occurs In the PowerPC Microprocessor Family: The Programming Environments Manual for 32 and 64-bit Microprocessors, in section 126.96.36.199, Table 3-12 lists what should occur if an invalid operation exception occurs in situations where VE is set and when VE is not set. In the case where VE is set, it lists the frD as "Unchanged". It also lists the FPRF flags as "Unchanged". Further down in Table 3-13, the listings for what should occur when zero divide exceptions occur is listed, both for when ZE is set, and when it isn't. When ZE is set, it lists frD as "Unchanged". It also lists the FPRF flags as "Unchanged" as well. This also alters the code so that we don't even calculate the result if we don't need to compute it, making it a little bit less wasteful.
- Loading branch information...
Showing with 8 additions and 5 deletions.