]> granicus.if.org Git - clang/commit
[AVX512] Add intrinsic for valignd/q
authorAdam Nemet <anemet@apple.com>
Tue, 5 Aug 2014 17:28:23 +0000 (17:28 +0000)
committerAdam Nemet <anemet@apple.com>
Tue, 5 Aug 2014 17:28:23 +0000 (17:28 +0000)
commit8467662e1a795229f7c903a91f0eab27a303feb0
treeab86a1bab4f4e8571560911740ac9460c001f9a9
parent5fc7890f6f8269f5a7de581383197299a37baa7e
[AVX512] Add intrinsic for valignd/q

Note that similar to palingr, we could further optimize these to emit
shufflevector when the shift count is <=64.  This however does not
change the overall design that unlike palignr we would still need the LLVM
intrinsic corresponding to this intruction to handle the >64 cases.  (palignr
uses the psrldq intrinsic in this case.)

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