[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)
commit6fa91254e463f333ce102e16b27b3b42a6108d5a
tree255af9e564025b7e9271a3203c9b58fa86738aac
parent911025b1cdb3b71a2515bb5e0b40888e0d601b65
[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.

llvm-svn: 332203
clang/include/clang/Basic/BuiltinsX86.def
clang/lib/Headers/avx512fintrin.h
clang/test/CodeGen/avx512f-builtins.c