[x86] Clean up the SSE1 test to use a slightly different pattern for

matching offsets. I don't expect this to really matter, but its what the
latest incarnation of my script for maintaining these tests happens to
produce, and so its simpler for me if everything matches.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223613 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chandler Carruth 2014-12-07 17:16:00 +00:00
parent b2c7673442
commit 67a6b29f1f

View File

@ -186,11 +186,11 @@ define <4 x float> @insert_mem_lo_v4f32(<2 x float>* %ptr, <4 x float> %b) {
; SSE1-LABEL: insert_mem_lo_v4f32:
; SSE1: # BB#0:
; SSE1-NEXT: movq (%rdi), %rax
; SSE1-NEXT: movl %eax, {{[-0-9]+}}(%rsp)
; SSE1-NEXT: movl %eax, -{{[0-9]+}}(%rsp)
; SSE1-NEXT: shrq $32, %rax
; SSE1-NEXT: movl %eax, -{{[0-9]+}}(%rsp)
; SSE1-NEXT: movss {{[-0-9]+}}(%rsp), %xmm1
; SSE1-NEXT: movss {{[-0-9]+}}(%rsp), %xmm2
; SSE1-NEXT: movss -{{[0-9]+}}(%rsp), %xmm1
; SSE1-NEXT: movss -{{[0-9]+}}(%rsp), %xmm2
; SSE1-NEXT: unpcklps {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
; SSE1-NEXT: xorps %xmm2, %xmm2
; SSE1-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm2[0,1]
@ -207,11 +207,11 @@ define <4 x float> @insert_mem_hi_v4f32(<2 x float>* %ptr, <4 x float> %b) {
; SSE1-LABEL: insert_mem_hi_v4f32:
; SSE1: # BB#0:
; SSE1-NEXT: movq (%rdi), %rax
; SSE1-NEXT: movl %eax, {{[-0-9]+}}(%rsp)
; SSE1-NEXT: movl %eax, -{{[0-9]+}}(%rsp)
; SSE1-NEXT: shrq $32, %rax
; SSE1-NEXT: movl %eax, {{[-0-9]+}}(%rsp)
; SSE1-NEXT: movss {{[-0-9]+}}(%rsp), %xmm1
; SSE1-NEXT: movss {{[-0-9]+}}(%rsp), %xmm2
; SSE1-NEXT: movl %eax, -{{[0-9]+}}(%rsp)
; SSE1-NEXT: movss -{{[0-9]+}}(%rsp), %xmm1
; SSE1-NEXT: movss -{{[0-9]+}}(%rsp), %xmm2
; SSE1-NEXT: unpcklps {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
; SSE1-NEXT: xorps %xmm2, %xmm2
; SSE1-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm2[0,1]