diff options
| author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-03-31 00:40:13 +0000 |
|---|---|---|
| committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-03-31 00:40:13 +0000 |
| commit | 9986ba954c5c3fa0506cf54bdeba06ae46f0856f (patch) | |
| tree | 25a2b81adeff3c59ddb9b6d7618aefa15a2fe4eb /llvm/test | |
| parent | 710c6892be50528a29949878d20c6372bc86455a (diff) | |
| download | bcm5719-llvm-9986ba954c5c3fa0506cf54bdeba06ae46f0856f.tar.gz bcm5719-llvm-9986ba954c5c3fa0506cf54bdeba06ae46f0856f.zip | |
Replace V_SET0 with variants for each SSE execution domain.
llvm-svn: 99975
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/CodeGen/X86/vec_return.ll | 2 | ||||
| -rw-r--r-- | llvm/test/CodeGen/X86/vec_shuffle-7.ll | 2 | ||||
| -rw-r--r-- | llvm/test/CodeGen/X86/vec_shuffle-9.ll | 2 | ||||
| -rw-r--r-- | llvm/test/CodeGen/X86/vec_zero.ll | 4 | ||||
| -rw-r--r-- | llvm/test/CodeGen/X86/vec_zero_cse.ll | 3 | ||||
| -rw-r--r-- | llvm/test/CodeGen/X86/xor.ll | 2 |
6 files changed, 8 insertions, 7 deletions
diff --git a/llvm/test/CodeGen/X86/vec_return.ll b/llvm/test/CodeGen/X86/vec_return.ll index 66762b4a060..676be9b7179 100644 --- a/llvm/test/CodeGen/X86/vec_return.ll +++ b/llvm/test/CodeGen/X86/vec_return.ll @@ -1,5 +1,5 @@ ; RUN: llc < %s -march=x86 -mattr=+sse2 > %t -; RUN: grep xorps %t | count 1 +; RUN: grep pxor %t | count 1 ; RUN: grep movaps %t | count 1 ; RUN: not grep shuf %t diff --git a/llvm/test/CodeGen/X86/vec_shuffle-7.ll b/llvm/test/CodeGen/X86/vec_shuffle-7.ll index 4cdca09c72f..64bd6a3c83b 100644 --- a/llvm/test/CodeGen/X86/vec_shuffle-7.ll +++ b/llvm/test/CodeGen/X86/vec_shuffle-7.ll @@ -1,5 +1,5 @@ ; RUN: llc < %s -march=x86 -mattr=+sse2 -o %t -; RUN: grep xorps %t | count 1 +; RUN: grep pxor %t | count 1 ; RUN: not grep shufps %t define void @test() { diff --git a/llvm/test/CodeGen/X86/vec_shuffle-9.ll b/llvm/test/CodeGen/X86/vec_shuffle-9.ll index fc16a26b615..07195869b8c 100644 --- a/llvm/test/CodeGen/X86/vec_shuffle-9.ll +++ b/llvm/test/CodeGen/X86/vec_shuffle-9.ll @@ -1,7 +1,7 @@ ; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s define <4 x i32> @test(i8** %ptr) { -; CHECK: xorps +; CHECK: pxor ; CHECK: punpcklbw ; CHECK: punpcklwd diff --git a/llvm/test/CodeGen/X86/vec_zero.ll b/llvm/test/CodeGen/X86/vec_zero.ll index ae5af586cdc..4d1f05629b4 100644 --- a/llvm/test/CodeGen/X86/vec_zero.ll +++ b/llvm/test/CodeGen/X86/vec_zero.ll @@ -1,5 +1,6 @@ -; RUN: llc < %s -march=x86 -mattr=+sse2 | grep xorps | count 2 +; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s +; CHECK: xorps define void @foo(<4 x float>* %P) { %T = load <4 x float>* %P ; <<4 x float>> [#uses=1] %S = fadd <4 x float> zeroinitializer, %T ; <<4 x float>> [#uses=1] @@ -7,6 +8,7 @@ define void @foo(<4 x float>* %P) { ret void } +; CHECK: pxor define void @bar(<4 x i32>* %P) { %T = load <4 x i32>* %P ; <<4 x i32>> [#uses=1] %S = add <4 x i32> zeroinitializer, %T ; <<4 x i32>> [#uses=1] diff --git a/llvm/test/CodeGen/X86/vec_zero_cse.ll b/llvm/test/CodeGen/X86/vec_zero_cse.ll index 296378c6e9f..3b15d4cc407 100644 --- a/llvm/test/CodeGen/X86/vec_zero_cse.ll +++ b/llvm/test/CodeGen/X86/vec_zero_cse.ll @@ -1,5 +1,4 @@ -; RUN: llc < %s -relocation-model=static -march=x86 -mcpu=yonah | grep pxor | count 1 -; RUN: llc < %s -relocation-model=static -march=x86 -mcpu=yonah | grep xorps | count 1 +; RUN: llc < %s -relocation-model=static -march=x86 -mcpu=yonah | grep pxor | count 2 ; RUN: llc < %s -relocation-model=static -march=x86 -mcpu=yonah | grep pcmpeqd | count 2 @M1 = external global <1 x i64> diff --git a/llvm/test/CodeGen/X86/xor.ll b/llvm/test/CodeGen/X86/xor.ll index 9bfff8a06a8..f270d9d56e2 100644 --- a/llvm/test/CodeGen/X86/xor.ll +++ b/llvm/test/CodeGen/X86/xor.ll @@ -7,7 +7,7 @@ define <4 x i32> @test1() nounwind { ret <4 x i32> %tmp ; X32: test1: -; X32: xorps %xmm0, %xmm0 +; X32: pxor %xmm0, %xmm0 ; X32: ret } |

