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

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