From 9df27c78a335ee683c23fb5936d55e2d4f218ae8 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Tue, 31 Aug 2021 19:48:12 +0000 Subject: [PATCH] fixedshift: switch rlwimiX 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 52c2a890..3b66f421 100644 --- a/openpower/isa/fixedshift.mdwn +++ b/openpower/isa/fixedshift.mdwn @@ -56,7 +56,7 @@ M-Form Pseudo-code: n <- SH - r <- ROTL32((RS)[32:63], n) + r <- ROTL32((RS)[XLEN/2:XLEN-1], n) m <- MASK32(MB, ME) RA <- r&m | (RA) & ¬m -- 2.30.2