None
-# Store Word Indexed
+# Store Word Shifted Indexed
X-Form
-* stwx RS,RA,RB
+* stwsx RS,RA,RB,SH
Pseudo-code:
b <- (RA|0)
- EA <- b + (RB)
+ EA <- b + (RB) << (SH+1)
MEM(EA, 4) <- (RS)[XLEN-32:XLEN-1]
Description:
None
-# Store Word with Update Indexed
+# Store Word Shifted with Update Indexed
X-Form
-* stwux RS,RA,RB
+* stwsux RS,RA,RB,SH
Pseudo-code:
- EA <- (RA) + (RB)
+ EA <- (RA) + (RB) << (SH+1)
MEM(EA, 4) <- (RS)[XLEN-32:XLEN-1]
RA <- EA
<!-- Section 3.3.3.1 64-bit Fixed-Point Store Instructions page 57 -->
-# Store Doubleword Indexed
+# Store Doubleword Shifted Indexed
X-Form
-* stdx RS,RA,RB
+* stdsx RS,RA,RB,SH
Pseudo-code:
b <- (RA|0)
- EA <- b + (RB)
+ EA <- b + (RB) << (SH+1)
MEM(EA, 8) <- (RS)
Description:
None
-# Store Doubleword with Update Indexed
+# Store Doubleword Shifted with Update Indexed
X-Form
-* stdux RS,RA,RB
+* stdsux RS,RA,RB,SH
Pseudo-code:
- EA <- (RA) + (RB)
+ EA <- (RA) + (RB) << (SH+1)
MEM(EA, 8) <- (RS)
RA <- EA