From c6b0ca133934fb827be3ce6df3a5a9b4fc14c2bb Mon Sep 17 00:00:00 2001 From: Shriya Sharma Date: Thu, 19 Oct 2023 11:49:52 +0100 Subject: [PATCH] added stwsx instruction --- openpower/isa/fixedstoreshift.mdwn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openpower/isa/fixedstoreshift.mdwn b/openpower/isa/fixedstoreshift.mdwn index 1f377cd1..396b3017 100644 --- a/openpower/isa/fixedstoreshift.mdwn +++ b/openpower/isa/fixedstoreshift.mdwn @@ -110,16 +110,16 @@ Special Registers Altered: None -# Store Word Indexed +# Store Word Shifted Indexed X-Form -* stwx RS,RA,RB +* stwsx RS,RA,RB,SH Pseudo-code: b <- (RA|0) - EA <- b + (RB) + EA <- b + (RB) << (SH+1) MEM(EA, 4) <- (RS)[XLEN-32:XLEN-1] Description: -- 2.30.2