From dde48d775990659ed913e3f1bde0a044cec580f1 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Mon, 23 Aug 2021 18:51:30 +0000 Subject: [PATCH] fixedarith: switch mulhw 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 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: -- 2.30.2