[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)
commit5bf7baa938b316047b897d5652d41227776dbc33
treee60d62ece4b637909f18f6644a060b6d9ea8d498
parentfd2161b710805dd84f1a4874660e5aefc84812a2
[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.)

llvm-svn: 214891
clang/include/clang/Basic/BuiltinsX86.def
clang/lib/Headers/avx512fintrin.h
clang/test/CodeGen/avx512f-builtins.c