[X86] Fix a few intrinsics that were ignoring their rounding mode argument and hardco...
authorCraig Topper <craig.topper@intel.com>
Sat, 7 Jul 2018 22:03:16 +0000 (22:03 +0000)
committerCraig Topper <craig.topper@intel.com>
Sat, 7 Jul 2018 22:03:16 +0000 (22:03 +0000)
commit3e720a302c93d6b5cc276ccb02d3cdaa1f0f1619
tree308d56f02d6c27d24cd2d4da69256b7edc16bd91
parentbd516a61b4c94421472c87b3f2775499f8818b56
[X86] Fix a few intrinsics that were ignoring their rounding mode argument and hardcoded _MM_FROUND_CUR_DIRECTION internally.

I believe these have been broken since their introduction into clang.

I've enhanced the tests for these intrinsics to using a real rounding mode and checking all the intrinsic arguments instead of just the name.

llvm-svn: 336498
clang/lib/Headers/avx512fintrin.h
clang/test/CodeGen/avx512f-builtins.c