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=eb07b387f39a2e7b35172006ed09b7c52c6c9f56;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: