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

index 9893ebd4a412253d3e6a794821e44017eb43319e..406ecd814e2b4403cfe317188986daa0f8aa8ec1 100644 (file)
@@ -602,8 +602,8 @@ XO-Form
 
 Pseudo-code:
 
-    prod[0:127] <- (RA) * (RB)
-    RT <- prod[0:63]
+    prod[0:(XLEN*2)-1] <- (RA) * (RB)
+    RT <- prod[0:XLEN-1]
 
 Special Registers Altered: