fixedarith: switch mulli to XLEN
authorDmitry Selyutin <dmitry.selyutin@3mdeb.com>
Wed, 25 Aug 2021 09:06:13 +0000 (09:06 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 30 Aug 2021 16:14:33 +0000 (17:14 +0100)
openpower/isa/fixedarith.mdwn

index 406ecd814e2b4403cfe317188986daa0f8aa8ec1..3341c82a18a088e7bf62881674991339daccec56 100644 (file)
@@ -315,8 +315,8 @@ D-Form
 
 Pseudo-code:
 
-    prod[0:127] <- MULS((RA), EXTS(SI))
-    RT <- prod[64:127]
+    prod[0:(XLEN*2)-1] <- MULS((RA), EXTS(SI))
+    RT <- prod[XLEN:(XLEN*2)-1]
 
 Special Registers Altered: