[X86] Emit better code for _mm_cvtu32_sd, _mm_cvtu64_sd, _mm_cvtu32_ss, and _mm_cvtu6...
authorCraig Topper <craig.topper@intel.com>
Sun, 13 May 2018 23:03:30 +0000 (23:03 +0000)
committerCraig Topper <craig.topper@intel.com>
Sun, 13 May 2018 23:03:30 +0000 (23:03 +0000)
commit5ba9397df0607e0b615726997218821302a8f426
tree3778f2638ed8fa4b666a3321a412a2dac45b269e
parent1064f0a9daefafcc3bb7b4d30f3a45b3b8770d99
[X86] Emit better code for _mm_cvtu32_sd, _mm_cvtu64_sd, _mm_cvtu32_ss, and _mm_cvtu64_ss.

We can use direct C code for these that will use uitofp and insertelement instructions.

For the versions that take an explicit rounding mode we can't do this.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@332203 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/BuiltinsX86.def
lib/Headers/avx512fintrin.h
test/CodeGen/avx512f-builtins.c