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

index 2dc9bb50672f0fd21e6bad43333dcc69a359d57c..161a06fc35e1e3ba67ec48e379a0fea0c58e75a8 100644 (file)
@@ -199,7 +199,7 @@ X-Form
 Pseudo-code:
 
     EA <- (RA) + (RB)
-    MEM(EA, 4) <- (RS)[32:63]
+    MEM(EA, 4) <- (RS)[XLEN-32:XLEN-1]
     RA <- EA
 
 Special Registers Altered: