fix maddld pseudo-code
authorJacob Lifshay <programmerjake@gmail.com>
Fri, 23 Sep 2022 03:22:45 +0000 (20:22 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Fri, 23 Sep 2022 03:23:49 +0000 (20:23 -0700)
openpower/isa/fixedarith.mdwn

index 46f635294a0ecda189782a11ae985d443a674578..4044ded9798ab2349f694de7a715cca8ec157e9a 100644 (file)
@@ -651,7 +651,7 @@ Pseudo-code:
 
     prod[0:(XLEN*2)-1] <- MULS((RA), (RB))
     sum[0:(XLEN*2)-1] <- prod + EXTS(RC)
-    RT <- sum[(XLEN*2):(XLEN*2)-1]
+    RT <- sum[XLEN:(XLEN*2)-1]
 
 Special Registers Altered: