From: Shriya Sharma Date: Thu, 19 Oct 2023 10:31:35 +0000 (+0100) Subject: added ldbrsx instruction X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5cc8b0188959e760adcdae80c1b0d62bb33d32dd;p=openpower-isa.git added ldbrsx instruction --- diff --git a/openpower/isa/fixedloadshift.mdwn b/openpower/isa/fixedloadshift.mdwn index 3ed16670..cdd97ed0 100644 --- a/openpower/isa/fixedloadshift.mdwn +++ b/openpower/isa/fixedloadshift.mdwn @@ -246,7 +246,7 @@ X-Form Pseudo-code: b <- (RA|0) - EA <- b + (RB) (sm+1) + 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]) @@ -258,16 +258,16 @@ Special Registers Altered: -# Load Doubleword Byte-Reverse Indexed +# Load Doubleword Byte-Reverse Shifted Indexed X-Form -* ldbrx RT,RA,RB +* ldbrsx RT,RA,RB,sm Pseudo-code: b <- (RA|0) - EA <- b + (RB) + EA <- b + (RB) << (sm+1) load_data <- MEM(EA, 8) RT <- (load_data[56:63] || load_data[48:55] || load_data[40:47] || load_data[32:39]