summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/sse3.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-10-21 01:44:44 +0000
committerDan Gohman <gohman@apple.com>2009-10-21 01:44:44 +0000
commitc1ae8c9b8f426b74215abf0f7e46bffecc6f52d9 (patch)
tree022ad07cadc66ae290b0bf641783724b7b32847f /test/CodeGen/X86/sse3.ll
parent7d26443bb7998169f6a7f6953dbe4d461907872f (diff)
downloadllvm-c1ae8c9b8f426b74215abf0f7e46bffecc6f52d9.tar.gz
llvm-c1ae8c9b8f426b74215abf0f7e46bffecc6f52d9.tar.bz2
llvm-c1ae8c9b8f426b74215abf0f7e46bffecc6f52d9.tar.xz
Revert r84658 and r84691. They were causing llvm-gcc bootstrap to fail.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84727 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/sse3.ll')
-rw-r--r--test/CodeGen/X86/sse3.ll12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/CodeGen/X86/sse3.ll b/test/CodeGen/X86/sse3.ll
index 30b4c2f0f7..6319cb887a 100644
--- a/test/CodeGen/X86/sse3.ll
+++ b/test/CodeGen/X86/sse3.ll
@@ -51,9 +51,9 @@ define <8 x i16> @t3(<8 x i16> %A, <8 x i16> %B) nounwind {
%tmp = shufflevector <8 x i16> %A, <8 x i16> %A, <8 x i32> < i32 8, i32 3, i32 2, i32 13, i32 7, i32 6, i32 5, i32 4 >
ret <8 x i16> %tmp
; X64: t3:
-; X64: pshuflw $44, %xmm0, %xmm1
; X64: pextrw $5, %xmm0, %eax
-; X64: pshufhw $27, %xmm1, %xmm0
+; X64: pshuflw $44, %xmm0, %xmm0
+; X64: pshufhw $27, %xmm0, %xmm0
; X64: pinsrw $3, %eax, %xmm0
; X64: ret
}
@@ -168,11 +168,11 @@ define internal void @t10() nounwind {
ret void
; X64: t10:
; X64: pextrw $4, %xmm0, %eax
-; X64: pextrw $6, %xmm0, %ecx
+; X64: pextrw $6, %xmm0, %edx
; X64: movlhps %xmm1, %xmm1
; X64: pshuflw $8, %xmm1, %xmm1
; X64: pinsrw $2, %eax, %xmm1
-; X64: pinsrw $3, %ecx, %xmm1
+; X64: pinsrw $3, %edx, %xmm1
}
@@ -250,9 +250,9 @@ entry:
%tmp9 = shufflevector <16 x i8> %tmp8, <16 x i8> %T0, <16 x i32> < i32 0, i32 1, i32 2, i32 17, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef , i32 undef >
ret <16 x i8> %tmp9
; X64: t16:
-; X64: pextrw $8, %xmm0, %ecx
; X64: pinsrw $0, %eax, %xmm1
-; X64: pinsrw $1, %ecx, %xmm1
+; X64: pextrw $8, %xmm0, %eax
+; X64: pinsrw $1, %eax, %xmm1
; X64: pextrw $1, %xmm1, %ecx
; X64: movd %xmm1, %edx
; X64: pinsrw $0, %edx, %xmm1