From: Dmitry Selyutin Date: Tue, 31 Aug 2021 20:27:42 +0000 (+0000) Subject: fixedshift: switch srdX to XLEN X-Git-Tag: xlen-bcd~35 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=228b1383a31557e1ec3716007d8098140fc5790b;p=openpower-isa.git fixedshift: switch srdX to XLEN --- diff --git a/openpower/isa/fixedshift.mdwn b/openpower/isa/fixedshift.mdwn index f5acd09e..8061d8fa 100644 --- a/openpower/isa/fixedshift.mdwn +++ b/openpower/isa/fixedshift.mdwn @@ -298,11 +298,11 @@ X-Form Pseudo-code: - n <- (RB)[58:63] - r <- ROTL64((RS), 64-n) - if (RB)[57] = 0 then - m <- MASK(n, 63) - else m <- [0]*64 + n <- (RB)[XLEN-5:XLEN-1] + r <- ROTL64((RS), XLEN-n) + if (RB)[XLEN-7] = 0 then + m <- MASK(n, (XLEN-1)) + else m <- [0]*XLEN RA <- r & m Special Registers Altered: