From: Luke Kenneth Casson Leighton Date: Fri, 21 Oct 2022 11:28:43 +0000 (+0100) Subject: use XLEN/2 for ROTL32 in fixedshift.mdwn X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3c2cac8b2b3cdc472071eabaa9a50c5f0fd9c3e4;p=openpower-isa.git use XLEN/2 for ROTL32 in fixedshift.mdwn --- diff --git a/openpower/isa/fixedshift.mdwn b/openpower/isa/fixedshift.mdwn index 9d90da3c..db59a6fa 100644 --- a/openpower/isa/fixedshift.mdwn +++ b/openpower/isa/fixedshift.mdwn @@ -38,7 +38,7 @@ M-Form Pseudo-code: n <- (RB)[XLEN-5:XLEN-1] - r <- ROTL32((RS)[XLEN-32:XLEN-1], n) + r <- ROTL32((RS)[XLEN/2:XLEN-1], n) m <- MASK32(MB, ME) RA <- r & m