[PATCH] D22105: [X86][SSE] Reimplement SSE fp2si conversion intrinsics instead of using generic IR

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 19 10:42:55 PDT 2016


eli.friedman added a comment.

The x86-specific operation is affected by the rounding mode... but so is a C cast.  This is specified by Annex F in the C standard.

Of course, you're going to end up with undefined behavior if you actually modify the rounding mode because LLVM and clang don't support FENV_ACCESS at the moment.


Repository:
  rL LLVM

https://reviews.llvm.org/D22105





More information about the cfe-commits mailing list