added stwsux instruction
authorShriya Sharma <shriya@redsemiconductor.com>
Thu, 19 Oct 2023 10:50:31 +0000 (11:50 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 22 Dec 2023 19:26:21 +0000 (19:26 +0000)
openpower/isa/fixedstoreshift.mdwn

index 396b3017fef0a0badbe669e8e1bbccbbdb15f884..bcad3832a932ea989b63391bc1468828986d676e 100644 (file)
@@ -132,15 +132,15 @@ Special Registers Altered:
 
     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