From: Shriya Sharma Date: Thu, 19 Oct 2023 10:01:27 +0000 (+0100) Subject: Added lbzsx and lbzsux instructions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fcc58e0d11571a5ed83af12d9418ba87712c5d18;p=openpower-isa.git Added lbzsx and lbzsux instructions --- diff --git a/openpower/isa/fixedloadshift.mdwn b/openpower/isa/fixedloadshift.mdwn index 75be291a..bc488ad0 100644 --- a/openpower/isa/fixedloadshift.mdwn +++ b/openpower/isa/fixedloadshift.mdwn @@ -26,31 +26,31 @@ -# Load Byte and Zero Indexed +# Load Byte and Zero Shifted Indexed X-Form -* lbzx RT,RA,RB +* lbzsx RT,RA,RB,sh Pseudo-code: b <- (RA|0) - EA <- b + (RB) + EA <- b + (RB) << (sh+1) RT <- ([0] * (XLEN-8)) || MEM(EA, 1) Special Registers Altered: None -# Load Byte and Zero with Update Indexed +# Load Byte and Zero Shifted with Update Indexed X-Form -* lbzux RT,RA,RB +* lbzsux RT,RA,RB,sh Pseudo-code: - EA <- (RA) + (RB) + EA <- (RA) + (RB) << (sh+1) RT <- ([0] * (XLEN-8)) || MEM(EA, 1) RA <- EA