[PATCH] D53004: [WebAssembly] Saturating float to int intrinsics
Thomas Lively via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 10 16:44:11 PDT 2018
tlively marked 2 inline comments as done.
tlively added a comment.
In https://reviews.llvm.org/D53004#1258984, @scanon wrote:
> Are these documented anywhere? I haven't seen it in any of the patches so far. What do they return for NaN inputs?
No, these new intrinsics aren't explicitly documented anywhere, but they do exactly match the semantics of the corresponding wasm instructions <https://github.com/WebAssembly/nontrapping-float-to-int-conversions/blob/master/proposals/nontrapping-float-to-int-conversion/Overview.md#design>. NaN is converted to zero.
Repository:
rL LLVM
https://reviews.llvm.org/D53004
More information about the llvm-commits
mailing list