fixedarith: switch maddhdu to XLEN
authorDmitry Selyutin <dmitry.selyutin@3mdeb.com>
Tue, 24 Aug 2021 11:48:17 +0000 (11:48 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 30 Aug 2021 16:30:50 +0000 (17:30 +0100)
openpower/isa/fixedarith.mdwn

index 3341c82a18a088e7bf62881674991339daccec56..3139eb209003b8f84ac69e9caa009b52f51cacf6 100644 (file)
@@ -633,9 +633,9 @@ VA-Form
 
 Pseudo-code:
 
-    prod[0:127] <- (RA) * (RB)
-    sum[0:127] <- prod + EXTZ(RC)
-    RT <- sum[0:63]
+    prod[0:(XLEN*2)-1] <- (RA) * (RB)
+    sum[0:(XLEN*2)-1] <- prod + EXTZ(RC)
+    RT <- sum[0:XLEN-1]
 
 Special Registers Altered: