From 64e81053fab984131e7645db4be4e2ea2e46f537 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Tue, 31 Aug 2021 19:58:04 +0000 Subject: [PATCH] fixedshift: switch rldiclX to XLEN --- openpower/isa/fixedshift.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openpower/isa/fixedshift.mdwn b/openpower/isa/fixedshift.mdwn index 3b66f421..ecef4c3a 100644 --- a/openpower/isa/fixedshift.mdwn +++ b/openpower/isa/fixedshift.mdwn @@ -76,7 +76,7 @@ Pseudo-code: n <- sh r <- ROTL64((RS), n) b <- mb[5] || mb[0:4] - m <- MASK(b, 63) + m <- MASK(b, (XLEN-1)) RA <- r & m Special Registers Altered: -- 2.30.2