OSDN Git Service

make these tests pass when run on a G5.
authorChris Lattner <sabre@nondot.org>
Fri, 20 Feb 2009 07:10:11 +0000 (07:10 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 20 Feb 2009 07:10:11 +0000 (07:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65117 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/fold-pcmpeqd-0.ll
test/CodeGen/X86/fold-pcmpeqd-2.ll
test/CodeGen/X86/vec_ins_extract-1.ll
test/CodeGen/X86/vshift_split2.ll

index 32eddbd..066d38e 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin   | not grep pcmpeqd
-; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin   | grep orps | grep CPI1_2  | count 2
+; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin -mcpu=yonah  | not grep pcmpeqd
+; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin -mcpu=yonah  | grep orps | grep CPI1_2  | count 2
 ; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin | grep pcmpeqd | count 1
 
 ; This testcase shouldn't need to spill the -1 value,
index e347000..de6ba6c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin   | not grep pcmpeqd
+; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin -mcpu=yonah  | not grep pcmpeqd
 ; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin | grep pcmpeqd | count 1
 
 ; This testcase should need to spill the -1 value on x86-32,
index 44ae039..c7eb221 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86 | grep {(%esp,%eax,4)} | count 4
+; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah | grep {(%esp,%eax,4)} | count 4
 
 ; Inserts and extracts with variable indices must be lowered
 ; to memory accesses.
index 356e0fd..e943849 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc
+; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah
 
 ; Legalization example that requires splitting a large vector into smaller pieces.