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

index 29f921ce0874f8230ea420c9aa400070b47252a2..4a5f43d1d02c46a734b85a4f8071007fc15fdbf5 100644 (file)
@@ -168,7 +168,7 @@ Pseudo-code:
 
     b <- (RA|0)
     EA <- b + (RB)
-    MEM(EA, 4) <- (RS)[32:63]
+    MEM(EA, 4) <- (RS)[XLEN-32:XLEN-1]
 
 Special Registers Altered: