From: lkcl Date: Sat, 12 Dec 2020 09:46:41 +0000 (+0000) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~1394 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cc4c26ea56854289a57fe47d8b9c53977eee57ec;p=libreriscv.git --- diff --git a/openpower/sv/svp_rewrite/svp64/discussion.mdwn b/openpower/sv/svp_rewrite/svp64/discussion.mdwn index 959bdb740..f72d81741 100644 --- a/openpower/sv/svp_rewrite/svp64/discussion.mdwn +++ b/openpower/sv/svp_rewrite/svp64/discussion.mdwn @@ -67,7 +67,10 @@ For 2 op (dest/src1/src2) the tag may be 3 bits: total 9 bits. for 3 op (dest/s Note: -* saturation is done on the result at the **source** elwidth +* for saturation the operation is done at the **source** width + (this is different from normal elwidth overrides which + are done at the **dest** width) +* saturation is done on the result at the **dest** elwidth * signed-saturation causes sign-extension from source to dest elwidths **after** saturation # Notes about rounding, clamp and saturate