From: cand@51b69dee28eeccfe0f04790433b843689895c6e3 Date: Sat, 12 Dec 2020 17:22:32 +0000 (+0000) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~1382 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d3389b6aadab18c6d4c4f1e57cd43148a9ad3260;p=libreriscv.git --- diff --git a/openpower/sv/svp_rewrite/svp64/discussion.mdwn b/openpower/sv/svp_rewrite/svp64/discussion.mdwn index a5f9672ed..43bd90b65 100644 --- a/openpower/sv/svp_rewrite/svp64/discussion.mdwn +++ b/openpower/sv/svp_rewrite/svp64/discussion.mdwn @@ -90,7 +90,7 @@ Some examples on different operation widths: 255 * 2 = 510 # if we used the smaller width, we'd get 254. Wrong u16 + u16 = u8 - 256 + 2 = 2 # this is correct whether we use the larger or smaller width - hw can optimize addition + 256 + 2 = 2 # this is correct whether we use the larger or smaller width - hw can optimize narrowing addition # Notes about rounding, clamp and saturate