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

index d9dc38ac758bd767b6a6ef18f92f99301e5b9ae5..3ed16670f82b4829b6b5f68d6b92c6330c747c30 100644 (file)
@@ -237,16 +237,16 @@ Special Registers Altered:
 
     None
 
-# Load Word Byte-Reverse Indexed
+# Load Word Byte-Reverse Shifted Indexed
 
 X-Form
 
-* lwbrx RT,RA,RB
+* lwbrsx RT,RA,RB,sm
 
 Pseudo-code:
 
     b <- (RA|0)
-    EA <- b + (RB)
+    EA <- b + (RB) (sm+1)
     load_data <- MEM(EA, 4)
     RT <- ([0] * 32 || load_data[24:31] || load_data[16:23]
                     || load_data[8:15]  || load_data[0:7])