From: Shriya Sharma Date: Fri, 17 Nov 2023 15:33:42 +0000 (+0000) Subject: Added English language description for lwaupsx instruction X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff9e02ed8b536623d180277a07881e51293e88b7;p=openpower-isa.git Added English language description for lwaupsx instruction --- diff --git a/openpower/isa/pifixedloadshift.mdwn b/openpower/isa/pifixedloadshift.mdwn index 1f9d3148..dce20ab2 100644 --- a/openpower/isa/pifixedloadshift.mdwn +++ b/openpower/isa/pifixedloadshift.mdwn @@ -127,17 +127,18 @@ Special Registers Altered: X-Form -* lwaupsx RT,RA,RB +* lwaupsx RT,RA,RB.SH Pseudo-code: - EA <- (RA) + EA <- (RA)<<(SH+1) RT <- EXTS(MEM(EA, 4)) RA <- (RA) + (RB) Description: - Let the effective address (EA) be the register RA. + Let the effective address (EA) be the contents of + register RA shifted by (SH+1). The word in storage addressed by EA is loaded into RT[32:63]. RT[0:31] are filled with a copy of bit 0 of the loaded word.