From b9ef6f601b9e341b7f269ec048c1a50c5dacbd19 Mon Sep 17 00:00:00 2001 From: Shriya Sharma Date: Fri, 17 Nov 2023 15:38:13 +0000 Subject: [PATCH] Added English language description for sthupsx instruction --- openpower/isa/pifixedstoreshift.mdwn | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/openpower/isa/pifixedstoreshift.mdwn b/openpower/isa/pifixedstoreshift.mdwn index b8543c48..b1984e91 100644 --- a/openpower/isa/pifixedstoreshift.mdwn +++ b/openpower/isa/pifixedstoreshift.mdwn @@ -66,18 +66,19 @@ Special Registers Altered: Z23-Form -* stwupsx RS,RA,RB +* stwupsx RS,RA,RB,SH Pseudo-code: - EA <- (RA) + (RB) + EA <- (RA) + (RB)<<(SH+1) ea <- (RA) MEM(ea, 4) <- (RS)[XLEN-32:XLEN-1] RA <- EA Description: - Let the effective address (EA) be the sum (RA)+ (RB). + Let the effective address (EA) be the sum of the contents of + register RB shifted by (SH+1), and the contents of register RA. (RS)[32:63] are stored into the word in storage addressed by RA. -- 2.30.2