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=c4aee6f8f74fffa6918c675f332508f17b02f726;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