History log of /external/clang/test/CodeGen/builtins-x86.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c5713cfd87b028d3fcf2e11d8baa67fbc4e18916 01-May-2012 Chad Rosier <mcrosier@apple.com> Get rid of storelv4si builtin as it can be expressed directly. This is general
goodness because it provides opportunites to cleanup things. For example,

uint64_t t1(__m128i vA)
{
uint64_t Alo;
_mm_storel_epi64((__m128i*)&Alo, vA);
return Alo;
}

was generating

movq %xmm0, -8(%rbp)
movq -8(%rbp), %rax

and now generates

movd %xmm0, %rax

rdar://11282581

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155924 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
49a110db4c43835681bb89671f8f73c8d8c7c28c 17-Apr-2012 Craig Topper <craig.topper@gmail.com> Convert vperm2f128 and vperm2i128 intrinsics back to using llvm intrinsics. Unfortunately, these instructions have behavior that can't be modeled with shuffle vector.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154906 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
cfa8e6530dbc5ed6147281be78bc319dea928d76 08-Feb-2012 Craig Topper <craig.topper@gmail.com> Remove vperm2f* and vperm2i builtins. Same effect can be achieved with builtin_shufflevector.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150064 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
10c57a87d97adb0390c1dd0a69feb7862d5db4a3 08-Feb-2012 Craig Topper <craig.topper@gmail.com> Remove vpermilp* builtins. Same effect can be achieved with builtin_shufflevector.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150056 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
f8495d67ca4dd2ea15a4dc59e9a2fa32a9bfa475 30-Jan-2012 Craig Topper <craig.topper@gmail.com> Cleanup 3dnow builtin handling. Most of them were already handled by LLVM connecting intrinsics and builtins in IntrinsicsX86.td.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149233 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
007baa9cb08919bf5b5820b0d47c486a7ccdf0cd 25-Jan-2012 Craig Topper <craig.topper@gmail.com> Re-enable test that was broken by r148919

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148932 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
3b6b61e1403cf6b77bd66498087a4451f8c926c5 25-Jan-2012 Chris Lattner <sabre@nondot.org> disable this test for now.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148928 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
4c07c5dfebd270b2f0660e86f056eeafdb26a4fb 20-Dec-2011 Craig Topper <craig.topper@gmail.com> Add AVX2 intrinsics for pavg, pblend, and pcmp instructions. Also remove unneeded builtins for SSE pcmp. Change SSE pcmpeqq and pcmpgtq to not use builtins and just use vector == and >.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146969 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
b8786c4dc4d5a4c72f23a2d46cac5f9bc2641926 17-Dec-2011 Chad Rosier <mcrosier@apple.com> Fix _mm256_round_pd, _mm256_round_ps, _mm_permute_pd and _mm256_permute_pd AVX
intrinsics to use "I" (ICE) markings. Fix avxintrin.h to take them into
account.
Part of rdar://10595450


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146791 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
600d57ff204fb8167134aa4a4b9a3f74d5113a50 13-May-2011 Bill Wendling <isanbard@gmail.com> Remove the 'unaligned load' builtins now that they're no longer used in the *mmintrin.h files.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131300 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
0c9643008e5a35cac76cf3419b3308dcad97e53e 12-May-2011 Bill Wendling <isanbard@gmail.com> LLVM doesn't always optimize away the four loads from this:

(__m128){ p[0], p[1], p[2], p[3] }

which produces really bad code. This could be done in instcombine, but it's
probably better to do it in the front-end instead.
<rdar://problem/9424836>


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131237 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
8b36a9ee7fe7204b30a85b95b11850aeb4b63ee3 15-Apr-2011 Michael J. Spencer <bigcheesegs@gmail.com> Add 3DNow! Intrinsics.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129570 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
9b064d8bf94fc70aee7773feb04e5e96134f52f2 13-Apr-2011 Bill Wendling <isanbard@gmail.com> Removing the unaligned load tests from builtins-x86.c since they're generated by a regular 'load' now.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129464 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
1944ec188408aff1931c62c79a069e30f2549ec2 10-Oct-2010 Argyrios Kyrtzidis <akyrtzi@gmail.com> Implement __builtin_ia32_vec_ext_v2si function (required by Qt).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116162 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
4fbe7aad307dba8d668b7878cd5e833c9467d1d8 11-Aug-2010 Bruno Cardoso Lopes <bruno.cardoso@gmail.com> Remove rsqrtps_nr256 and sqrtps_nr256 builtins, at least until we need them

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110844 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
7fc3702694996d7d373e3280812a4172cf451aac 11-Aug-2010 Bruno Cardoso Lopes <bruno.cardoso@gmail.com> Remove 256-bit cast built-ins and make the AVX intrinsic call llvm __builtin_shufflevector with the appropriate arguments

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110771 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
f0e96c925858a513c275f0aec89f049e065c78db 11-Aug-2010 Bruno Cardoso Lopes <bruno.cardoso@gmail.com> Remove 256-bit unpack built-ins and make the AVX intrinsic call llvm __builtin_shufflevector with the appropriate arguments

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110768 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
b33aa0f7dfa3a6cadc8ac1ac910f36680cbf7a76 11-Aug-2010 Bruno Cardoso Lopes <bruno.cardoso@gmail.com> Remove 256-bit shuffle built-ins and make the AVX intrinsic call llvm __builtin_shufflevector with the appropriate arguments

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110766 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
4a5496bdd50f6cec5f8eb252665503e5431708d9 10-Aug-2010 Bruno Cardoso Lopes <bruno.cardoso@gmail.com> Make replicate intrinsics use shufflevector instead of dup builtins, also remove the dup builtins

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110646 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
f8c6db4cacaa733cf335deb03a9ccd0c9c488b3e 06-Aug-2010 Bruno Cardoso Lopes <bruno.cardoso@gmail.com> We don't want to support built-ins which aren't needed by the intrinsics. Remove them

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110399 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
e898ed5f165e0e8cdc6b52115b41ecc3df63168c 04-Aug-2010 Bruno Cardoso Lopes <bruno.cardoso@gmail.com> Add more AVX 256-bit intrinsics and test cases for them

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110178 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
5ce946291c2c23ed71b112b2ba13acf11807e319 03-Aug-2010 Bruno Cardoso Lopes <bruno.cardoso@gmail.com> Support x86 AVX 256-bit instructions built-ins. Right now support all of them, but
as soon as we properly codegen the simple vector operations, remove the
unnecessary built-ins/intrinsics from clang and llvm. Also add tests for the new
built-ins



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110096 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
2ac7472f87cdb157f23ef47422d3dcf1bc66013a 04-Mar-2010 Eric Christopher <echristo@apple.com> Fix __builtin_ia32_roundss and __builtin_ia32_roundsd definitions.
Re-enable test.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97707 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
a5728872c7702ddd09537c95bc3cbd20e1f2fb09 15-Dec-2009 Daniel Dunbar <daniel@zuster.org> Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
- This is designed to make it obvious that %clang_cc1 is a "test variable"
which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it
can be useful to redefine what gets run as 'clang -cc1' (for example, to set
a default target).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91446 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
4fcfde4d5c8f25e40720972a5543d538a0dcb220 08-Nov-2009 Daniel Dunbar <daniel@zuster.org> Eliminate &&s in tests.
- 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86430 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
8fff25719eb9363ac197ac4b375699a9afe9d36d 07-Jun-2009 Eli Friedman <eli.friedman@gmail.com> Remove a few more vector builtins.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73022 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
e0ae8bdadc4fef56db7f0e3336d0379a89eb462f 07-Jun-2009 Eli Friedman <eli.friedman@gmail.com> Now that LLVM CodeGen can handle the generic variations a bit better,
get rid of a few more clang vector builtins.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73015 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
dc5a1bdd4c9290eb36e32c20729751c3c47ca61d 06-Jun-2009 Eli Friedman <eli.friedman@gmail.com> Test changes to account for removed builtins.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73004 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
409bf46742e2f38b2f4cec53c86b109bed42840d 18-May-2009 Anders Carlsson <andersca@mac.com> Remove an unused builtin.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72033 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
79dcf5f96ad75259867d19bbf69512f320032fce 18-May-2009 Anders Carlsson <andersca@mac.com> Add 'cmp' SSE builtins and get rid of a bunch of other builtins.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72032 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
d7d5f0223bd30dfd618762349c6209dd1d5ea3e6 24-Mar-2009 Daniel Dunbar <daniel@zuster.org> Rename clang to clang-cc.

Tests and drivers updated, still need to shuffle dirs.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67602 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
2e2558ec5f5f70ec7f7a8a7e31d0c6be9e1f567e 27-Jan-2009 Daniel Dunbar <daniel@zuster.org> Fix definition of __builtin_ia32_vec_set_v2di and de-XFAIL
builtins-x86.c.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63069 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
e5582f08df3ede19d8bb182844aad60ab65ab237 18-Oct-2008 Mon P Wang <wangmp@apple.com> Added vec_set intrinsics


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57749 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c
eb1542540931887ccd587afd6f9de7d44040b8df 05-Oct-2008 Daniel Dunbar <daniel@zuster.org> Add X86 builtin code generation test case.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57104 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/builtins-x86.c