From: Luke Kenneth Casson Leighton Date: Thu, 3 Jun 2021 09:32:06 +0000 (+0100) Subject: use phrase "non-negative" rather than +ve X-Git-Tag: DRAFT_SVP64_0_1~848 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac0eb020d225cf8aaaad36a1351cf67bd678a9a7;p=libreriscv.git use phrase "non-negative" rather than +ve --- diff --git a/openpower/sv/int_fp_mv.mdwn b/openpower/sv/int_fp_mv.mdwn index 7ed341e35..8c62fc954 100644 --- a/openpower/sv/int_fp_mv.mdwn +++ b/openpower/sv/int_fp_mv.mdwn @@ -5,7 +5,7 @@ Introduction: High-performance CPU/GPU software needs to often convert between integers and floating-point, therefore fast conversion/data-movement instructions are needed. Also given that initialisation of floats tends to take up -considerable space (even to just load 0.0) the inclusion of float immediate +considerable space Geven to just load 0.0) the inclusion of float immediate is up for consideration. Libre-SOC will be compliant with the @@ -272,7 +272,7 @@ def fp_to_int_java_script(v: fp) -> int: if v is NaN or infinite: return 0 v = rint(v, rounding_mode) - v = v mod int::VALUE_COUNT # 2^32 for i32, 2^64 for i64, result is +ve + v = v mod int::VALUE_COUNT # 2^32 for i32, 2^64 for i64, result is non-negative bits = (uint)v return (int)bits ```