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

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