1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-01-11 23:43:15 +00:00

FPU: Make fsel not alter FPSCR

fsel is a move-type instruction, and hence shouldn't affect FPSCR.
Set v.writing_fpr and v.instr_done, rather than setting arith_done,
to achieve this.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
This commit is contained in:
Paul Mackerras 2025-12-06 17:09:46 +11:00
parent 066e38b8ea
commit dcd85164c6

View File

@ -1712,7 +1712,8 @@ begin
misc_sel <= "111";
set_r := '1';
re_set_result <= '1';
arith_done := '1';
v.writing_fpr := '1';
v.instr_done := '1';
when DO_FSQRT =>
opsel_a <= AIN_B;