From 4b9e87c66eae179c9ca2f758c9869537a1946305 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 8 May 2023 13:07:24 +0100 Subject: [PATCH] whitespace --- openpower/sv/rfc/ls003.mdwn | 145 +++++++++++++++++++----------------- 1 file changed, 77 insertions(+), 68 deletions(-) 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)