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

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