From: Luke Kenneth Casson Leighton Date: Wed, 1 Sep 2021 19:29:24 +0000 (+0100) Subject: off-by-one in srad, same as sld and srd: XLEN-6:XLEN-1 not XLEN-5:XLEN-1 X-Git-Tag: xlen-bcd~32 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=48a90aed14741e38d97fa7b1ceb31cf028684db5;p=openpower-isa.git off-by-one in srad, same as sld and srd: XLEN-6:XLEN-1 not XLEN-5:XLEN-1 --- diff --git a/openpower/isa/fixedshift.mdwn b/openpower/isa/fixedshift.mdwn index 91fabd5c..02f1a71a 100644 --- a/openpower/isa/fixedshift.mdwn +++ b/openpower/isa/fixedshift.mdwn @@ -341,7 +341,7 @@ X-Form Pseudo-code: - n <- (RB)[XLEN-5:XLEN-1] + n <- (RB)[XLEN-6:XLEN-1] r <- ROTL64((RS), XLEN-n) if (RB)[XLEN-7] = 0 then m <- MASK(n, (XLEN-1))