From d3389b6aadab18c6d4c4f1e57cd43148a9ad3260 Mon Sep 17 00:00:00 2001 From: "cand@51b69dee28eeccfe0f04790433b843689895c6e3" Date: Sat, 12 Dec 2020 17:22:32 +0000 Subject: [PATCH] --- openpower/sv/svp_rewrite/svp64/discussion.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2