From: Luke Kenneth Casson Leighton Date: Mon, 8 May 2023 12:07:24 +0000 (+0100) Subject: whitespace X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4b9e87c66eae179c9ca2f758c9869537a1946305;p=libreriscv.git whitespace --- diff --git a/openpower/sv/rfc/ls003.mdwn b/openpower/sv/rfc/ls003.mdwn index 957ead47f..14fb2d4b8 100644 --- a/openpower/sv/rfc/ls003.mdwn +++ b/openpower/sv/rfc/ls003.mdwn @@ -192,13 +192,13 @@ maddedu r22,r6,r0,r3 Pseudocode: ``` -if (RB)[0] != 0 then # workaround no unsigned-signed mul op - prod[0:127] <- -((RA) * -(RB)) -else - prod[0:127] <- (RA) * (RB) -sum[0:127] <- prod + EXTS128((RC)) -RT <- sum[64:127] # Store low half in RT -RS <- sum[0:63] # RS implicit register, equal to RC + if (RB)[0] != 0 then # workaround no unsigned-signed mul op + prod[0:127] <- -((RA) * -(RB)) + else + prod[0:127] <- (RA) * (RB) + sum[0:127] <- prod + EXTS128((RC)) + RT <- sum[64:127] # Store low half in RT + RS <- sum[0:63] # RS implicit register, equal to RC ``` Special registers altered: @@ -256,16 +256,16 @@ maddedus r22,r6,r0,r3 Pseudo-code: ``` -if ((RA)