From: Shriya Sharma Date: Thu, 19 Oct 2023 10:21:03 +0000 (+0100) Subject: added lhasx instruction X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f5b061b6058124866097bc709e038d0b15713698;p=openpower-isa.git added lhasx instruction --- diff --git a/openpower/isa/fixedloadshift.mdwn b/openpower/isa/fixedloadshift.mdwn index b401e12c..d55a814d 100644 --- a/openpower/isa/fixedloadshift.mdwn +++ b/openpower/isa/fixedloadshift.mdwn @@ -26,7 +26,7 @@ -# Load Byte and Zero Shifted Indexed +# Load Byte and Zero Shifted Indexed X-Form @@ -90,16 +90,16 @@ Special Registers Altered: None -# Load Halfword Algebraic Indexed +# Load Halfword Algebraic Shifted Indexed X-Form -* lhax RT,RA,RB +* lhasx RT,RA,RB,sm Pseudo-code: b <- (RA|0) - EA <- b + (RB) + EA <- b + (RB) << (sm+1) RT <- EXTS(MEM(EA, 2)) Special Registers Altered: