diff options
-rw-r--r-- | llvm/test/CodeGen/X86/sttni.ll | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/llvm/test/CodeGen/X86/sttni.ll b/llvm/test/CodeGen/X86/sttni.ll index 21a34969cfb..70cccaa540d 100644 --- a/llvm/test/CodeGen/X86/sttni.ll +++ b/llvm/test/CodeGen/X86/sttni.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py -; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=sse4.2 -mcpu=x86-64 | FileCheck %s --check-prefix=X32 -; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=sse4.2 -mcpu=x86-64 | FileCheck %s --check-prefix=X64 +; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=+sse4.2 | FileCheck %s --check-prefix=X32 +; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+sse4.2 | FileCheck %s --check-prefix=X64 declare i32 @llvm.x86.sse42.pcmpestric128(<16 x i8> %lhs, i32, <16 x i8>, i32, i8) declare i32 @llvm.x86.sse42.pcmpestri128(<16 x i8> %lhs, i32, <16 x i8>, i32, i8) @@ -1134,15 +1134,15 @@ entry: define void @pcmpistr_index_flag(<16 x i8> %lhs, <16 x i8> %rhs, i32* %iptr, i32* %fptr) nounwind { ; X32-LABEL: pcmpistr_index_flag: ; X32: # %bb.0: # %entry -; X32-NEXT: pushl %esi +; X32-NEXT: pushl %ebx ; X32-NEXT: movl {{[0-9]+}}(%esp), %eax -; X32-NEXT: xorl %edx, %edx +; X32-NEXT: movl {{[0-9]+}}(%esp), %edx +; X32-NEXT: xorl %ebx, %ebx ; X32-NEXT: pcmpistri $24, %xmm1, %xmm0 -; X32-NEXT: movl {{[0-9]+}}(%esp), %esi -; X32-NEXT: setb %dl -; X32-NEXT: movl %ecx, (%esi) -; X32-NEXT: movl %edx, (%eax) -; X32-NEXT: popl %esi +; X32-NEXT: setb %bl +; X32-NEXT: movl %ecx, (%edx) +; X32-NEXT: movl %ebx, (%eax) +; X32-NEXT: popl %ebx ; X32-NEXT: retl ; ; X64-LABEL: pcmpistr_index_flag: @@ -1165,12 +1165,12 @@ define void @pcmpistr_mask_flag(<16 x i8> %lhs, <16 x i8> %rhs, <16 x i8>* %mptr ; X32-LABEL: pcmpistr_mask_flag: ; X32: # %bb.0: # %entry ; X32-NEXT: movl {{[0-9]+}}(%esp), %eax -; X32-NEXT: xorl %ecx, %ecx +; X32-NEXT: movl {{[0-9]+}}(%esp), %ecx +; X32-NEXT: xorl %edx, %edx ; X32-NEXT: pcmpistrm $24, %xmm1, %xmm0 -; X32-NEXT: movl {{[0-9]+}}(%esp), %edx -; X32-NEXT: setb %cl -; X32-NEXT: movdqa %xmm0, (%edx) -; X32-NEXT: movl %ecx, (%eax) +; X32-NEXT: setb %dl +; X32-NEXT: movdqa %xmm0, (%ecx) +; X32-NEXT: movl %edx, (%eax) ; X32-NEXT: retl ; ; X64-LABEL: pcmpistr_mask_flag: @@ -1192,10 +1192,10 @@ entry: define void @pcmpistr_mask_index(<16 x i8> %lhs, <16 x i8> %rhs, <16 x i8>* %mptr, i32* %iptr) nounwind { ; X32-LABEL: pcmpistr_mask_index: ; X32: # %bb.0: # %entry -; X32-NEXT: pcmpistri $24, %xmm1, %xmm0 -; X32-NEXT: pcmpistrm $24, %xmm1, %xmm0 ; X32-NEXT: movl {{[0-9]+}}(%esp), %eax ; X32-NEXT: movl {{[0-9]+}}(%esp), %edx +; X32-NEXT: pcmpistri $24, %xmm1, %xmm0 +; X32-NEXT: pcmpistrm $24, %xmm1, %xmm0 ; X32-NEXT: movdqa %xmm0, (%edx) ; X32-NEXT: movl %ecx, (%eax) ; X32-NEXT: retl |