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

index 9f1461ee5063c4567c596c44de32834dca1b57fd..1ae49854b365c1fec661856f90c4aa9923c484a7 100644 (file)
@@ -186,16 +186,16 @@ Special Registers Altered:
 
     None
 
-# Load Doubleword Indexed
+# Load Doubleword Shifted Indexed
 
 X-Form
 
-* ldx RT,RA,RB
+* ldsx RT,RA,RB,sm
 
 Pseudo-code:
 
     b <- (RA|0)
-    EA <- b + (RB)
+    EA <- b + (RB) << (sm+1)
     RT <- MEM(EA, 8)
 
 Special Registers Altered: