From: Luke Kenneth Casson Leighton Date: Fri, 27 Oct 2023 10:38:09 +0000 (+0100) Subject: pifploadshift.mdwn, do one example english pseudocode operands X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5454b1260a732e633bb06fb074d4350780420e46;p=openpower-isa.git pifploadshift.mdwn, do one example english pseudocode operands --- diff --git a/openpower/isa/pifploadshift.mdwn b/openpower/isa/pifploadshift.mdwn index 281ec280..7dcc3dd2 100644 --- a/openpower/isa/pifploadshift.mdwn +++ b/openpower/isa/pifploadshift.mdwn @@ -6,17 +6,18 @@ X-Form -* lfsupx FRT,RA,RB +* lfsupx FRT,RA,RB,SH Pseudo-code: - EA <- (RA) + (RB) + EA <- (RA) + (RB)<<(SH+1) FRT <- DOUBLE(MEM(RA, 4)) 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. The word in storage addressed by EA is interpreted as a floating-point single-precision operand. This word is