FPU: Reset FPSCR[FR,FI] at beginning of fcfid*

Otherwise a non-zero setting from a previous instruction won't get cleared.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
pull/457/head
Paul Mackerras 1 month ago
parent f252dba43d
commit 0478fe41dd

@ -1655,6 +1655,8 @@ begin
rcls_op <= RCLS_SEL;
re_con2 <= RECON2_UNIT;
re_set_result <= '1';
v.fpscr(FPSCR_FR) := '0';
v.fpscr(FPSCR_FI) := '0';
if r.b.class = ZERO then
arith_done := '1';
else

Loading…
Cancel
Save