From 5cc8b0188959e760adcdae80c1b0d62bb33d32dd Mon Sep 17 00:00:00 2001 From: Shriya Sharma Date: Thu, 19 Oct 2023 11:31:35 +0100 Subject: [PATCH] added ldbrsx instruction --- openpower/isa/fixedloadshift.mdwn | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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] -- 2.30.2