From: Dmitry Selyutin Date: Mon, 23 Aug 2021 18:56:30 +0000 (+0000) Subject: fixedarith: switch mulhwu to XLEN X-Git-Tag: xlen-bcd~82 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8a0112b52e02f893d7948105dd89d37b4fdefd45;p=openpower-isa.git fixedarith: switch mulhwu to XLEN --- diff --git a/openpower/isa/fixedarith.mdwn b/openpower/isa/fixedarith.mdwn index 55cf4042..cf5ba539 100644 --- a/openpower/isa/fixedarith.mdwn +++ b/openpower/isa/fixedarith.mdwn @@ -369,9 +369,9 @@ XO-Form Pseudo-code: - prod[0:63] <- (RA)[32:63] * (RB)[32:63] - RT[32:63] <- prod[0:31] - RT[0:31] <- undefined(prod[0:31]) + prod[0:XLEN-1] <- (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: