From a607364caec04a2dba3b59a813a58c07e247adec Mon Sep 17 00:00:00 2001 From: "cand@51b69dee28eeccfe0f04790433b843689895c6e3" Date: Sat, 12 Dec 2020 17:23:01 +0000 Subject: [PATCH] --- openpower/sv/svp_rewrite/svp64/discussion.mdwn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openpower/sv/svp_rewrite/svp64/discussion.mdwn b/openpower/sv/svp_rewrite/svp64/discussion.mdwn index 43bd90b65..ab9c37351 100644 --- a/openpower/sv/svp_rewrite/svp64/discussion.mdwn +++ b/openpower/sv/svp_rewrite/svp64/discussion.mdwn @@ -90,7 +90,8 @@ 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 narrowing addition + 256 + 2 = 2 # this is correct whether we use the larger or smaller width + # aka hw can optimize narrowing addition # Notes about rounding, clamp and saturate -- 2.30.2