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

index e88f64f0d3a4081694c9d220a289e3c4fdca09b3..7f3a2ca8ef168294e105cf2c9409dde0b47d88a6 100644 (file)
@@ -119,7 +119,7 @@ D-Form
 Pseudo-code:
 
     EA <- (RA) + EXTS(D)
-    MEM(EA, 2) <- (RS)[48:63]
+    MEM(EA, 2) <- (RS)[XLEN-16:XLEN-1]
     RA <- EA
 
 Special Registers Altered: