fixedshift: switch rldcrX to XLEN
authorDmitry Selyutin <dmitry.selyutin@3mdeb.com>
Tue, 31 Aug 2021 20:22:14 +0000 (20:22 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 1 Sep 2021 19:16:56 +0000 (20:16 +0100)
openpower/isa/fixedshift.mdwn

index 1be73d68ff81b813a85fd2c5e32218a9c574c2b6..3bf0c301c7266854bb860f9e50ee9e3d3df130f8 100644 (file)
@@ -149,7 +149,7 @@ MDS-Form
 
 Pseudo-code:
 
-    n <- (RB)[58:63]
+    n <- (RB)[XLEN-5:XLEN-1]
     r <- ROTL64((RS), n)
     e <- me[5] || me[0:4]
     m <- MASK(0, e)