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

index d55a814dafc31961b935ec5721ae78bcc068fb7d..eaa33529b8d9b8159e05517262eb258fa96609c1 100644 (file)
@@ -106,15 +106,15 @@ Special Registers Altered:
 
     None
 
-# Load Halfword Algebraic with Update Indexed
+# Load Halfword Algebraic Shifted with Update Indexed
 
 X-Form
 
-* lhaux RT,RA,RB
+* lhasux RT,RA,RB,sm
 
 Pseudo-code:
 
-    EA <- (RA) + (RB)
+    EA <- (RA) + (RB) << (sm+1)
     RT <- EXTS(MEM(EA, 2))
     RA <- EA