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

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