From: lkcl Date: Fri, 4 Jun 2021 01:21:49 +0000 (+0100) Subject: (no commit message) X-Git-Tag: DRAFT_SVP64_0_1~819 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=14534d2fe79a6f7fe1b0196c4394af7e3f685b9b;p=libreriscv.git --- 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