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

index 4a5f43d1d02c46a734b85a4f8071007fc15fdbf5..2dc9bb50672f0fd21e6bad43333dcc69a359d57c 100644 (file)
@@ -183,7 +183,7 @@ D-Form
 Pseudo-code:
 
     EA <- (RA) + EXTS(D)
-    MEM(EA, 4) <- (RS)[32:63]
+    MEM(EA, 4) <- (RS)[XLEN-32:XLEN-1]
     RA <- EA
 
 Special Registers Altered: