From: Dmitry Selyutin Date: Mon, 23 Aug 2021 18:51:30 +0000 (+0000) Subject: fixedarith: switch mulhw to XLEN X-Git-Tag: xlen-bcd~86 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dde48d775990659ed913e3f1bde0a044cec580f1;p=openpower-isa.git fixedarith: switch mulhw to XLEN --- diff --git a/openpower/isa/fixedarith.mdwn b/openpower/isa/fixedarith.mdwn index bff81b42..3009b826 100644 --- a/openpower/isa/fixedarith.mdwn +++ b/openpower/isa/fixedarith.mdwn @@ -331,9 +331,9 @@ XO-Form Pseudo-code: - prod[0:63] <- MULS((RA)[32:63], (RB)[32:63]) - RT[32:63] <- prod[0:31] - RT[0:31] <- undefined(prod[0:31]) + prod[0:XLEN-1] <- MULS((RA)[XLEN/2:XLEN-1], (RB)[XLEN/2:XLEN-1]) + RT[XLEN/2:XLEN-1] <- prod[0:(XLEN/2)-1] + RT[0:(XLEN/2)-1] <- undefined(prod[0:(XLEN/2)-1]) Special Registers Altered: