From: Shriya Sharma Date: Thu, 19 Oct 2023 10:29:38 +0000 (+0100) Subject: added lhbrsx instruction X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d24fbfe392d1d5573594ae7185f00320446086b0;p=openpower-isa.git added lhbrsx instruction --- diff --git a/openpower/isa/fixedloadshift.mdwn b/openpower/isa/fixedloadshift.mdwn index fc7ea860..d9dc38ac 100644 --- a/openpower/isa/fixedloadshift.mdwn +++ b/openpower/isa/fixedloadshift.mdwn @@ -220,16 +220,16 @@ Special Registers Altered: -# Load Halfword Byte-Reverse Indexed +# Load Halfword Byte-Reverse Shifted Indexed X-Form -* lhbrx RT,RA,RB +* lhbrsx RT,RA,RB,sm Pseudo-code: b <- (RA|0) - EA <- b + (RB) + EA <- b + (RB) << (sm+1) load_data <- MEM(EA, 2) RT <- [0]*48 || load_data[8:15] || load_data[0:7]