From 8a0112b52e02f893d7948105dd89d37b4fdefd45 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Mon, 23 Aug 2021 18:56:30 +0000 Subject: [PATCH] fixedarith: switch mulhwu to XLEN --- openpower/isa/fixedarith.mdwn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: -- 2.30.2