From: Dmitry Selyutin Date: Tue, 31 Aug 2021 20:01:21 +0000 (+0000) Subject: fixedshift: switch extswsliX to XLEN X-Git-Tag: xlen-bcd~43 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=20d425183afc9bd6f77e0fc0e6ee26c732449bf4;p=openpower-isa.git fixedshift: switch extswsliX to XLEN --- diff --git a/openpower/isa/fixedshift.mdwn b/openpower/isa/fixedshift.mdwn index 0d4fb6c8..8bbc8f0a 100644 --- a/openpower/isa/fixedshift.mdwn +++ b/openpower/isa/fixedshift.mdwn @@ -367,8 +367,8 @@ XS-Form Pseudo-code: n <- sh - r <- ROTL64(EXTS64(RS[32:63]), n) - m <- MASK(0, 63-n) + r <- ROTL64(EXTS64(RS[XLEN/2:XLEN-1]), n) + m <- MASK(0, XLEN-1-n) RA <- r & m Special Registers Altered: