From 14534d2fe79a6f7fe1b0196c4394af7e3f685b9b Mon Sep 17 00:00:00 2001 From: lkcl Date: Fri, 4 Jun 2021 02:21:49 +0100 Subject: [PATCH] --- openpower/sv/int_fp_mv.mdwn | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openpower/sv/int_fp_mv.mdwn b/openpower/sv/int_fp_mv.mdwn index 7221935ec..9d29c0710 100644 --- a/openpower/sv/int_fp_mv.mdwn +++ b/openpower/sv/int_fp_mv.mdwn @@ -40,6 +40,10 @@ well suited for common/important conversion sequences: * Rust FP -> Integer conversion (saturation with NaN converted to 0) * JavaScript FP -> Integer conversion (modular with Inf/NaN converted to 0) +The assembly listings in the [[int_fp_mv/appendix]] show how costly +some of these language-specific conversions are: Javascript is 35 +scalar instructions, including four branches. + # A bit more research into integer - fp conversion here is a paragraph which explains that there are different semantics -- 2.30.2