]> granicus.if.org Git - clang/commit
[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)
commit08497c156c9c6bdfe076c1004e5dea0a6e70feb5
treebb20b06432a4dd4444934de3ab28ef982e2a9bcd
parent5c22565f8c6f0912cbe7e9c65b0625667bd0f7f7
[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.

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