From dcd85164c60b35a8e9edd5d520c10e26ff663345 Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Sat, 6 Dec 2025 17:09:46 +1100 Subject: [PATCH] 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 --- fpu.vhdl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fpu.vhdl b/fpu.vhdl index e37ceb3..58e913e 100644 --- a/fpu.vhdl +++ b/fpu.vhdl @@ -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;