]> granicus.if.org Git - clang/commit
[x86][icelake][bitalg]
authorCoby Tayree <coby.tayree@intel.com>
Wed, 27 Dec 2017 10:01:00 +0000 (10:01 +0000)
committerCoby Tayree <coby.tayree@intel.com>
Wed, 27 Dec 2017 10:01:00 +0000 (10:01 +0000)
commit8b794e9ef26a956e0c720c9daf049cfe23641717
tree1971b7d01432d27ed66c687bdc3ad2f8c5166df9
parent4086d83a7b37ebaf959bf235ae6ce154fc2d81cb
[x86][icelake][bitalg]
added bitalg feature recognition
added intrinsics support for bitalg instructions
_mm512_popcnt_epi16
_mm512_mask_popcnt_epi16
_mm512_maskz_popcnt_epi16
_mm512_popcnt_epi8
_mm512_mask_popcnt_epi8
_mm512_maskz_popcnt_epi8
_mm512_mask_bitshuffle_epi64_mask
_mm512_bitshuffle_epi64_mask
_mm256_popcnt_epi16
_mm256_mask_popcnt_epi16
_mm256_maskz_popcnt_epi16
_mm128_popcnt_epi16
_mm128_mask_popcnt_epi16
_mm128_maskz_popcnt_epi16
_mm256_popcnt_epi8
_mm256_mask_popcnt_epi8
_mm256_maskz_popcnt_epi8
_mm128_popcnt_epi8
_mm128_mask_popcnt_epi8
_mm128_maskz_popcnt_epi8
_mm256_mask_bitshuffle_epi32_mask
_mm256_bitshuffle_epi32_mask
_mm128_mask_bitshuffle_epi16_mask
_mm128_bitshuffle_epi16_mask
matching a similar work on the backend (D40222)
Differential Revision: https://reviews.llvm.org/D41564

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@321483 91177308-0d34-0410-b5e6-96231b3b80d8
15 files changed:
include/clang/Basic/BuiltinsX86.def
include/clang/Driver/Options.td
lib/Basic/Targets/X86.cpp
lib/Basic/Targets/X86.h
lib/CodeGen/CGBuiltin.cpp
lib/Headers/CMakeLists.txt
lib/Headers/avx512bitalgintrin.h [new file with mode: 0644]
lib/Headers/avx512vlbitalgintrin.h [new file with mode: 0644]
lib/Headers/immintrin.h
test/CodeGen/attr-target-x86.c
test/CodeGen/avx512bitalg-builtins.c [new file with mode: 0644]
test/CodeGen/avx512vlbitalg-builtins.c [new file with mode: 0644]
test/Driver/x86-target-features.c
test/Preprocessor/predefined-arch-macros.c
test/Preprocessor/x86_target_features.c