FPU: Update committed FPSCR value correctly
The committed FPSCR is updated in the cycle where an FPU instruction signals completion. Since we update the FPRF field in the FPSCR in that same cycle, the value put into r.comm_fpscr needs to include the new FPRF value. Otherwise, a subsequent flush (for example, due to the following instruction being an illegal instruction that has to be emulated) will drop the FPSCR update. Signed-off-by: Paul Mackerras <paulus@ozlabs.org>pull/457/head
parent
1ad8848655
commit
09b340e845
Loading…
Reference in New Issue