1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-03-10 12:28:45 +00:00

FPU: Fix setting of r.x

Having computed rormr, use it.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
This commit is contained in:
Paul Mackerras
2025-11-19 13:32:14 +00:00
parent 7b1febcbd3
commit ab3783b61b

View File

@@ -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