| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | After PR28761 use -Wall with -Werror in builtins tests to identify | Eric Christopher | 2016-08-04 | 1 | -2/+2 |
| | | | | | | | possible problems in headers. llvm-svn: 277696 | ||||
| * | [X86] Use __builtin_ia32_vec_ext_v4hi and __builtin_ia32_vec_set_v4hi to ↵ | Craig Topper | 2016-07-09 | 1 | -0/+12 |
| | | | | | | | | | implement pextrw/pinsertw MMX intrinsics instead of trying to use native IR. Without this we end up generating code that doesn't use mmx registers and probably doesn't work well with other mmx intrinsics. llvm-svn: 274968 | ||||
| * | [X86][SSE] Tidied up MMX/SSE/SSE2 builtin tests to the correct test file | Simon Pilgrim | 2016-05-17 | 1 | -5/+5 |
| | | | | | llvm-svn: 269852 | ||||
| * | [X86] Add missing m64/int64 conversions | Michael Kuperstein | 2015-12-20 | 1 | -0/+12 |
| | | | | | | | | | Define the 64-bit equivalents of _m_to_int and _m_from_int. Differential Revision: http://reviews.llvm.org/D15572 llvm-svn: 256122 | ||||
| * | [X86] Stripped backend codegen tests | Simon Pilgrim | 2015-12-03 | 1 | -104/+0 |
| | | | | | | | | | | | As discussed on the ml, backend tests need to be put in llvm/test/CodeGen/X86 as fast-isel tests using IR that is as close to what is generated here as possible. The llvm tests will (re)added in a future commit I will update PR24580 on this new plan llvm-svn: 254594 | ||||
| * | [X86][MMX] Added MMX IR + assembly codegen builtin tests for some missing ↵ | Simon Pilgrim | 2015-11-15 | 1 | -14/+81 |
| | | | | | | | cvt intrinsics llvm-svn: 253169 | ||||
| * | [X86][MMX] Sorted MMX IR + assembly codegen builtin tests | Simon Pilgrim | 2015-11-14 | 1 | -367/+374 |
| | | | | | | | Makes it easier to track what tests are missing.... llvm-svn: 253131 | ||||
| * | [X86][MMX] Added MMX IR + assembly codegen builtin tests | Simon Pilgrim | 2015-11-14 | 1 | -196/+358 |
| | | | | | | | Improved tests as discussed in PR24580 llvm-svn: 253130 | ||||
| * | Canonicalize some of the x86 builtin tests and either remove or comment | Eric Christopher | 2015-10-14 | 1 | -2/+2 |
| | | | | | | | about optimization options. llvm-svn: 250271 | ||||
| * | Fix the SSE4 byte sign extension in a cleaner way, and more thoroughly | Chandler Carruth | 2015-10-01 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test that our intrinsics behave the same under -fsigned-char and -funsigned-char. This further testing uncovered that AVX-2 has a broken cmpgt for 8-bit elements, and has for a long time. This is fixed in the same way as SSE4 handles the case. The other ISA extensions currently work correctly because they use specific instruction intrinsics. As soon as they are rewritten in terms of generic IR, they will need to add these special casts. I've added the necessary testing to catch this however, so we shouldn't have to chase it down again. I considered changing the core typedef to be signed, but that seems like a bad idea. Notably, it would be an ABI break if anyone is reaching into the innards of the intrinsic headers and passing __v16qi on an API boundary. I can't be completely confident that this wouldn't happen due to a macro expanding in a lambda, etc., so it seems much better to leave it alone. It also matches GCC's behavior exactly. A fun side note is that for both GCC and Clang, -funsigned-char really does change the semantics of __v16qi. To observe this, consider: % cat x.cc #include <smmintrin.h> #include <iostream> int main() { __v16qi a = { 1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; __v16qi b = _mm_set1_epi8(-1); std::cout << (int)(a / b)[0] << ", " << (int)(a / b)[1] << '\n'; } % clang++ -o x x.cc && ./x -1, 1 % clang++ -funsigned-char -o x x.cc && ./x 0, 1 However, while this may be surprising, both Clang and GCC agree. Differential Revision: http://reviews.llvm.org/D13324 llvm-svn: 249097 | ||||
| * | [X86] Remove unnecessary MMX declarations from Intrin.h | Simon Pilgrim | 2015-08-25 | 1 | -0/+10 |
| | | | | | | | | | | | | | As discussed in PR23648 - the intrinsics _m_from_int, _m_to_int and _m_prefetch are defined in mmintrin.h and prfchwintrin.h so we don't need to in Intrin.h Added tests for _m_from_int and _m_to_int D11338 already added a test for _m_prefetch Differential Revision: http://reviews.llvm.org/D12272 llvm-svn: 245975 | ||||
| * | clang/test: REQUIRES: s/x86-64-registered-target/x86-registered-target/ | NAKAMURA Takumi | 2013-12-04 | 1 | -1/+1 |
| | | | | | llvm-svn: 196350 | ||||
| * | These tests require particular registered targets. Declared as such. | Galina Kistanova | 2011-06-03 | 1 | -0/+1 |
| | | | | | llvm-svn: 132600 | ||||
| * | Linux still needs these hacks. | Bill Wendling | 2010-10-20 | 1 | -0/+4 |
| | | | | | llvm-svn: 116888 | ||||
| * | Now that mm_malloc.h was rewritten to *not* include errno.h (see | Bill Wendling | 2010-10-19 | 1 | -4/+0 |
| | | | | | | | | http://llvm.org/viewvc/llvm-project?rev=116771&view=rev) we can get rid of these hacks. llvm-svn: 116853 | ||||
| * | Erm...this isn't the same as PR6658. | Bill Wendling | 2010-10-06 | 1 | -1/+0 |
| | | | | | llvm-svn: 115737 | ||||
| * | Add same hack to mmx-builtins.c as in Headers/c89.c to get it to pass on ↵ | Bill Wendling | 2010-10-06 | 1 | -0/+5 |
| | | | | | | | Win32. PR6658. llvm-svn: 115735 | ||||
| * | Do x86_64. | Bill Wendling | 2010-10-03 | 1 | -1/+1 |
| | | | | | llvm-svn: 115460 | ||||
| * | Test to verify that all of the MMX builtins are handled by the front-end. | Bill Wendling | 2010-10-03 | 1 | -0/+448 |
| llvm-svn: 115459 | |||||

