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

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