From: lkcl Date: Thu, 20 Oct 2022 21:58:31 +0000 (+0100) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~66 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=69b70c2c95d9337d8dc7d15f490796ad8b9aff3d;p=libreriscv.git --- 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)