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

index 1c986266a2210d480bf9c6fbc7d9260952507019..e88f64f0d3a4081694c9d220a289e3c4fdca09b3 100644 (file)
@@ -104,7 +104,7 @@ Pseudo-code:
 
     b <- (RA|0)
     EA <- b + (RB)
-    MEM(EA, 2) <- (RS)[48:63]
+    MEM(EA, 2) <- (RS)[XLEN-16:XLEN-1]
 
 Special Registers Altered: