From: lkcl Date: Tue, 4 Jul 2023 03:51:16 +0000 (+0100) Subject: (no commit message) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dafba4de190ad2b0ffb5e7ed42f436a729a79d69;p=libreriscv.git --- diff --git a/openpower/sv/int_fp_mv/cvt_fp_to_int_overview.mdwn b/openpower/sv/int_fp_mv/cvt_fp_to_int_overview.mdwn index 36c1a25b2..9f1d8fc7f 100644 --- a/openpower/sv/int_fp_mv/cvt_fp_to_int_overview.mdwn +++ b/openpower/sv/int_fp_mv/cvt_fp_to_int_overview.mdwn @@ -8,11 +8,11 @@ languages and ISAs have made different choices. The different conversion modes supported by the `cffpr` instruction are as follows: * P-Type:
- This type of conversion is that used by most other PowerISA instructions, + Used by most other PowerISA instructions, as well as commonly used floating-point to integer conversions on x86. * S-Type:
- This type of conversion is used for WebAssembly's + Used for WebAssembly's [`trunc_sat_u`](https://webassembly.github.io/spec/core/exec/numerics.html#op-trunc-sat-u) and [`trunc_sat_s`](https://webassembly.github.io/spec/core/exec/numerics.html#op-trunc-sat-s) @@ -30,10 +30,9 @@ modes supported by the `cffpr` instruction are as follows: [the `SaturatedConversion` decorator](https://www.khronos.org/registry/spir-v/specs/unified1/SPIRV.html#_a_id_decoration_a_decoration). * E-Type:
- This type of conversion is used for + Used for [ECMAScript's `ToInt32` abstract operation](https://262.ecma-international.org/14.0/#sec-toint32). - - This type of conversion is also implemented in ARMv8.3A as the `FJCVTZS` + Also implemented in ARMv8.3A as the `FJCVTZS` instruction.