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

index bcad3832a932ea989b63391bc1468828986d676e..b3381b9b1b894360dedc6ba03e9c94ceac1f7931 100644 (file)
@@ -162,16 +162,16 @@ Special Registers Altered:
 
 <!-- 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: