fixedstore: switch stbx to XLEN
authorDmitry Selyutin <dmitry.selyutin@3mdeb.com>
Fri, 3 Sep 2021 17:31:23 +0000 (17:31 +0000)
committerDmitry Selyutin <dmitry.selyutin@3mdeb.com>
Fri, 3 Sep 2021 17:31:23 +0000 (17:31 +0000)
openpower/isa/fixedstore.mdwn

index dd121a2b988156061ef53d749402ba15d1a5780b..133355d38370e668e8b4d61a9f2c26baa36352c1 100644 (file)
@@ -40,7 +40,7 @@ Pseudo-code:
 
     b <- (RA|0)
     EA <- b + (RB)
-    MEM(EA, 1) <- (RS)[56:63]
+    MEM(EA, 1) <- (RS)[XLEN-8:XLEN-1]
 
 Special Registers Altered: