]> granicus.if.org Git - clang/commit
[X86] Add intrinsics for kand/kandn/knot/kor/kxnor/kxor with 8, 32, and 64-bit mask...
authorCraig Topper <craig.topper@intel.com>
Mon, 27 Aug 2018 06:20:22 +0000 (06:20 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 27 Aug 2018 06:20:22 +0000 (06:20 +0000)
commit119327d467c066ac404d03422cc58230efc265d8
tree03fb9bbbba7780b1db473ffa1b990e777c6f0555
parent6faba02b55be2db923e3a6f16e7d01d44ee49b7f
[X86] Add intrinsics for kand/kandn/knot/kor/kxnor/kxor with 8, 32, and 64-bit mask registers.

This also adds a second intrinsic name for the 16-bit mask versions.

These intrinsics match gcc and icc. They just aren't published in the Intel Intrinsics Guide so I only recently found they existed.

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