Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Default 64-bit target features and SSE2 on when a triple specifies x86-64. ↵ | Eli Friedman | 2011-07-08 | 1 | -1/+1 |
| | | | | | | Clean up all the other hacks which are now unnecessary. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134753 91177308-0d34-0410-b5e6-96231b3b80d8 | ||||
* | fix the BuildVector -> unpcklps logic to not do pointless shuffles | Chris Lattner | 2010-08-28 | 1 | -0/+25 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when the top elements of a vector are undefined. This happens all the time for X86-64 ABI stuff because only the low 2 elements of a 4 element vector are defined. For example, on: _Complex float f32(_Complex float A, _Complex float B) { return A+B; } We used to produce (with SSE2, SSE4.1+ uses insertps): _f32: ## @f32 movdqa %xmm0, %xmm2 addss %xmm1, %xmm2 pshufd $16, %xmm2, %xmm2 pshufd $1, %xmm1, %xmm1 pshufd $1, %xmm0, %xmm0 addss %xmm1, %xmm0 pshufd $16, %xmm0, %xmm1 movdqa %xmm2, %xmm0 unpcklps %xmm1, %xmm0 ret We now produce: _f32: ## @f32 movdqa %xmm0, %xmm2 addss %xmm1, %xmm2 pshufd $1, %xmm1, %xmm1 pshufd $1, %xmm0, %xmm3 addss %xmm1, %xmm3 movaps %xmm2, %xmm0 unpcklps %xmm3, %xmm0 ret This implements rdar://8368414 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112378 91177308-0d34-0410-b5e6-96231b3b80d8 | ||||
* | Add a hackaround for PR7993 which is causing failures on x86 builders that ↵ | Chris Lattner | 2010-08-26 | 1 | -0/+6 |
| | | | | | | lack sse2. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112175 91177308-0d34-0410-b5e6-96231b3b80d8 | ||||
* | implement SplitVecOp_CONCAT_VECTORS, fixing the included testcase with SSE1. | Chris Lattner | 2010-08-26 | 1 | -0/+6 |
| | | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112171 91177308-0d34-0410-b5e6-96231b3b80d8 | ||||
* | Make sure this forces the x86 targets | Chris Lattner | 2010-08-26 | 1 | -1/+2 |
| | | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112169 91177308-0d34-0410-b5e6-96231b3b80d8 | ||||
* | fix sse1 only codegen in x86-64 mode, which is something we | Chris Lattner | 2010-08-26 | 1 | -0/+7 |
apparently try to support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112168 91177308-0d34-0410-b5e6-96231b3b80d8 |