From: Konstantinos Margaritis Date: Fri, 28 Apr 2023 11:48:48 +0000 (+0000) Subject: use proper register sizes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac7c9441cce1a268a1396bf86f01dd46ffbe8406;p=openpower-isa.git use proper register sizes --- diff --git a/openpower/isa/butterfly.mdwn b/openpower/isa/butterfly.mdwn index 0d799a68..b6fecae2 100644 --- a/openpower/isa/butterfly.mdwn +++ b/openpower/isa/butterfly.mdwn @@ -13,12 +13,12 @@ Pseudo-code: n <- XLEN-SH sum <- (RT) + (RA) diff <- (RT) - (RA) - prod1 <- MULS(RB, sum) - prod2 <- MULS(RB, diff) + prod1[0:(XLEN*2)-1] <- MULS(RB, sum) + prod2[0:(XLEN*2)-1] <- MULS(RB, diff) res1 <- prod1[XLEN/2-SH:XLEN-1-SH] res2 <- prod2[XLEN/2-SH:XLEN-1-SH] - RT <- (RT) + res1 - RS <- (RS) + res2 + RT <- (RT) + EXTS(res1) + RS <- (RS) + EXTS(res2) Special Registers Altered: