From: Shriya Sharma Date: Fri, 17 Nov 2023 15:38:13 +0000 (+0000) Subject: Added English language description for sthupsx instruction X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b9ef6f601b9e341b7f269ec048c1a50c5dacbd19;p=openpower-isa.git Added English language description for sthupsx instruction --- 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.