From d485fac4480f7bdc9a3d161ea35ae9a2dd87bba8 Mon Sep 17 00:00:00 2001 From: Shriya Sharma Date: Thu, 19 Oct 2023 11:30:22 +0100 Subject: [PATCH] added lwbrsx instruction --- openpower/isa/fixedloadshift.mdwn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openpower/isa/fixedloadshift.mdwn b/openpower/isa/fixedloadshift.mdwn index d9dc38ac..3ed16670 100644 --- a/openpower/isa/fixedloadshift.mdwn +++ b/openpower/isa/fixedloadshift.mdwn @@ -237,16 +237,16 @@ Special Registers Altered: None -# Load Word Byte-Reverse Indexed +# Load Word Byte-Reverse Shifted Indexed X-Form -* lwbrx RT,RA,RB +* lwbrsx RT,RA,RB,sm Pseudo-code: b <- (RA|0) - EA <- b + (RB) + 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]) -- 2.30.2