added lwasx instruction
authorShriya Sharma <shriya@redsemiconductor.com>
Thu, 19 Oct 2023 10:25:50 +0000 (11:25 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 29 Oct 2023 08:54:37 +0000 (08:54 +0000)
openpower/isa/fixedloadshift.mdwn

index 9fdc716f057bf4d1acdc22bbe895ce67539e134a..204ede6529420e08753406e11ff778f943c4009a 100644 (file)
@@ -154,16 +154,16 @@ Special Registers Altered:
 
     None
 
-# Load Word Algebraic Indexed
+# Load Word Algebraic Shifted Indexed
 
 X-Form
 
-* lwax RT,RA,RB
+* lwasx RT,RA,RB,sm
 
 Pseudo-code:
 
     b <- (RA|0)
-    EA <- b + (RB)
+    EA <- b + (RB) << (sm+1)
     RT <- EXTS(MEM(EA, 4))
 
 Special Registers Altered: