From ab3783b61b04e4e3d500bca9d4779e2fa678f18c Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Wed, 19 Nov 2025 13:32:14 +0000 Subject: [PATCH] FPU: Fix setting of r.x Having computed rormr, use it. Signed-off-by: Paul Mackerras --- fpu.vhdl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fpu.vhdl b/fpu.vhdl index e1bc8fd..4662c9b 100644 --- a/fpu.vhdl +++ b/fpu.vhdl @@ -3255,7 +3255,7 @@ begin if mshift >= to_signed(64, EXP_BITS) then mshift := to_signed(63, EXP_BITS); end if; - v.x := v.x or r.r(to_integer(unsigned(mshift(5 downto 0)))); + v.x := v.x or rormr(to_integer(unsigned(mshift(5 downto 0)))); end if; asign := '0'; case opsel_a is