From 69b70c2c95d9337d8dc7d15f490796ad8b9aff3d Mon Sep 17 00:00:00 2001 From: lkcl Date: Thu, 20 Oct 2022 22:58:31 +0100 Subject: [PATCH] --- openpower/sv/rfc/ls003.mdwn | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/openpower/sv/rfc/ls003.mdwn b/openpower/sv/rfc/ls003.mdwn index 2fbbf6dda..261013339 100644 --- a/openpower/sv/rfc/ls003.mdwn +++ b/openpower/sv/rfc/ls003.mdwn @@ -99,10 +99,10 @@ Add the following entries to: Pseudocode: ``` - prod[0:127] <- (RA) * (RB) # Multiply RA and RB, result 128-bit - sum[0:127] <- EXTZ(RC) + prod # Zero extend RC, add product - RT <- sum[64:127] # Store low half in RT - RS <- sum[0:63] # RS implicit register, equal to RC +prod[0:127] <- (RA) * (RB) # Multiply RA and RB, result 128-bit +sum[0:127] <- EXTZ(RC) + prod # Zero extend RC, add product +RT <- sum[64:127] # Store low half in RT +RS <- sum[0:63] # RS implicit register, equal to RC ``` Special registers altered: @@ -155,16 +155,18 @@ maddedu r4, r0, r1, r2 Pseudo-code: - if ((RA)