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

index 133355d38370e668e8b4d61a9f2c26baa36352c1..bab75d3059ab0fb6d27bdc020c5696e92cb0f713 100644 (file)
@@ -55,7 +55,7 @@ D-Form
 Pseudo-code:
 
     EA <- (RA) + EXTS(D)
-    MEM(EA, 1) <- (RS)[56:63]
+    MEM(EA, 1) <- (RS)[XLEN-8:XLEN-1]
     RA <- EA
 
 Special Registers Altered: