From 4069b4525405598b4d9de0c3cee80651940b7c5a Mon Sep 17 00:00:00 2001 From: Shriya Sharma Date: Fri, 17 Nov 2023 15:32:56 +0000 Subject: [PATCH] Added English language description for lwzupsx instruction --- openpower/isa/pifixedloadshift.mdwn | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/openpower/isa/pifixedloadshift.mdwn b/openpower/isa/pifixedloadshift.mdwn index 265ce4ec..1f9d3148 100644 --- a/openpower/isa/pifixedloadshift.mdwn +++ b/openpower/isa/pifixedloadshift.mdwn @@ -99,17 +99,18 @@ Special Registers Altered: X-Form -* lwzupsx RT,RA,RB +* lwzupsx RT,RA,RB,SH Pseudo-code: - EA <- (RA) + EA <- (RA)<<(SH+1) RT <- [0] * 32 || 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 halfword in storage addressed by EA is loaded into RT[48:63]. RT[0:47] are filled with a copy of bit 0 of the loaded halfword. -- 2.30.2