bug #1183: attempt first ddffirst mapreduce mode
[openpower-isa.git] / openpower / isa / pifploadshift.mdwn
index 246d38868b33fc35586f9e6620bf98542540865c..b6853842cda0dfabb81c9abdf590535c86934d3c 100644 (file)
@@ -1,10 +1,9 @@
-<!-- X Instructions here described in PowerISA Version 3.0 B Book 1 -->
-
-<!-- Section 4.6.1 Floating-point storage access instructions. P 140 - 143 -->
+<!-- https://bugs.libre-soc.org/show_bug.cgi?id=1055 -->
+<!-- https://libre-soc.org/openpower/sv/rfc/ls004/ -->
 
 # Load Floating-Point Single with Post-Update Shifted Indexed
 
-X-Form
+Z23-Form
 
 * lfsupsx FRT,RA,RB,SH
 
@@ -34,19 +33,20 @@ Special Registers Altered:
 
 # Load Floating-Point Double with Post-Update Indexed
 
-X-Form
+Z23-Form
 
-* lfdupsx FRT,RA,RB
+* lfdupsx FRT,RA,RB,SH
 
 Pseudo-code:
 
-    EA <- (RA) + (RB)
+    EA <- (RA) + (RB)<<(SH+1)
     FRT <- MEM(RA, 8)
     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 doubleword in storage addressed by EA is loaded
     into register FRT.