From 0f071ffc3da2e9c2c77c85f4dc82d4edac1fb18e Mon Sep 17 00:00:00 2001 From: lkcl Date: Sun, 17 Apr 2022 23:11:56 +0100 Subject: [PATCH] --- openpower/isa/svfixedarith.mdwn | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/openpower/isa/svfixedarith.mdwn b/openpower/isa/svfixedarith.mdwn index 29af1d166..96e272fb0 100644 --- a/openpower/isa/svfixedarith.mdwn +++ b/openpower/isa/svfixedarith.mdwn @@ -53,10 +53,11 @@ Special Registers Altered: Pseudocode: cat[0:127] = (RB) || (RS) - sum[0:127] = cat + EXTZ(RA) + [1]*128 + sum[0:127] = cat + EXTZ(RA) - 1 rhi[0:63] = sum[0:63] - if (RA) <= 1 then rhi = rhi + ([0]*63 || 1) + if (RA) <= 1 then rhi = rhi + 1 RA = rhi RT = sum[64:127] -- 2.30.2