From: Jacob Lifshay Date: Thu, 3 Jun 2021 17:55:34 +0000 (-0700) Subject: fix mis-unindented formatting X-Git-Tag: DRAFT_SVP64_0_1~835 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=579900317db086e87362601f689f7c9d2eddbf1a;p=libreriscv.git fix mis-unindented formatting --- diff --git a/openpower/sv/int_fp_mv.mdwn b/openpower/sv/int_fp_mv.mdwn index 237b34e2b..f28da1fe4 100644 --- a/openpower/sv/int_fp_mv.mdwn +++ b/openpower/sv/int_fp_mv.mdwn @@ -44,23 +44,23 @@ well suited for common/important conversion sequences: * rounding mode is always truncate * Rust FP -> Integer conversion -- saturation with NaN converted to 0 -Semantics required by all of: - -* Rust's FP -> Integer conversion using the - [`as` operator](https://doc.rust-lang.org/reference/expressions/operator-expr.html#semantics) -* Java's - [FP -> Integer conversion](https://docs.oracle.com/javase/specs/jls/se16/html/jls-5.html#jls-5.1.3) -* LLVM's - [`llvm.fptosi.sat`](https://llvm.org/docs/LangRef.html#llvm-fptosi-sat-intrinsic) and - [`llvm.fptoui.sat`](https://llvm.org/docs/LangRef.html#llvm-fptoui-sat-intrinsic) intrinsics -* SPIR-V's OpenCL dialect's - [`OpConvertFToU`](https://www.khronos.org/registry/spir-v/specs/unified1/SPIRV.html#OpConvertFToU) and - [`OpConvertFToS`](https://www.khronos.org/registry/spir-v/specs/unified1/SPIRV.html#OpConvertFToS) - instructions when decorated with - [the `SaturatedConversion` decorator](https://www.khronos.org/registry/spir-v/specs/unified1/SPIRV.html#_a_id_decoration_a_decoration). + Semantics required by all of: + + * Rust's FP -> Integer conversion using the + [`as` operator](https://doc.rust-lang.org/reference/expressions/operator-expr.html#semantics) + * Java's + [FP -> Integer conversion](https://docs.oracle.com/javase/specs/jls/se16/html/jls-5.html#jls-5.1.3) + * LLVM's + [`llvm.fptosi.sat`](https://llvm.org/docs/LangRef.html#llvm-fptosi-sat-intrinsic) and + [`llvm.fptoui.sat`](https://llvm.org/docs/LangRef.html#llvm-fptoui-sat-intrinsic) intrinsics + * SPIR-V's OpenCL dialect's + [`OpConvertFToU`](https://www.khronos.org/registry/spir-v/specs/unified1/SPIRV.html#OpConvertFToU) and + [`OpConvertFToS`](https://www.khronos.org/registry/spir-v/specs/unified1/SPIRV.html#OpConvertFToS) + instructions when decorated with + [the `SaturatedConversion` decorator](https://www.khronos.org/registry/spir-v/specs/unified1/SPIRV.html#_a_id_decoration_a_decoration). * JavaScript FP -> Integer conversion -- modular with Inf/NaN converted to 0 -Semantics required by JavaScript + Semantics required by JavaScript TODO: review and investigate other language semantics @@ -106,7 +106,7 @@ between FP64, FP32, FP16 and BF16. * `fmvtg RT, FRA` * `fmvtg. RT, FRA` -move a 64-bDit float from a FPR to a GPR, just copying bits directly. +move a 64-bit float from a FPR to a GPR, just copying bits directly. Rc=1 tests RT and sets CR0 * `fmvtgs RT, FRA`