]> granicus.if.org Git - clang/commit
[X86, AVX2] Replace inserti128 and extracti128 intrinsics with generic shuffles
authorSanjay Patel <spatel@rotateright.com>
Thu, 12 Mar 2015 21:54:24 +0000 (21:54 +0000)
committerSanjay Patel <spatel@rotateright.com>
Thu, 12 Mar 2015 21:54:24 +0000 (21:54 +0000)
commitb0da26f02f30c5c802d4bf9e7c7d15fe696f1810
treea9fd1318f71b0e37bf1599ef105b38f3ecaad5c9
parent4a57a4802365092aa90a79033f4f4a46f7ebeafb
[X86, AVX2] Replace inserti128 and extracti128 intrinsics with generic shuffles

This is nearly identical to the v*f128_si256 parts of r231792 and r232052.

AVX2 introduced proper integer variants of the hacked integer insert/extract
C intrinsics that were created for this same functionality with AVX1.

This should complete the front end fixes for insert/extract128 intrinsics.
Corresponding LLVM patch to follow.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@232109 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/BuiltinsX86.def
lib/Headers/avx2intrin.h
lib/Sema/SemaChecking.cpp
test/CodeGen/avx2-builtins.c