From: Dale Johannesen Date: Thu, 21 Aug 2008 21:26:06 +0000 (+0000) Subject: Make x86 and sse2 explicit for non-x86 hosts. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e2122a5e2eabb57f2013d5d0ddcbf30bcc0dbc1f;p=oota-llvm.git Make x86 and sse2 explicit for non-x86 hosts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55141 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/X86/extractps.ll b/test/CodeGen/X86/extractps.ll index 0c20cb36949..55da927cf76 100644 --- a/test/CodeGen/X86/extractps.ll +++ b/test/CodeGen/X86/extractps.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -mcpu=penryn > %t +; RUN: llvm-as < %s | llc -march=x86 -mcpu=penryn > %t ; not grep movd %t ; not grep movss %t ; grep {extractps \\$0, %xmm0, } %t diff --git a/test/CodeGen/X86/pr2656.ll b/test/CodeGen/X86/pr2656.ll index 704de4b37fa..3f6c3652ff5 100644 --- a/test/CodeGen/X86/pr2656.ll +++ b/test/CodeGen/X86/pr2656.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=x86 | grep {xorps.\*sp} | count 1 +; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep {xorps.\*sp} | count 1 ; PR2656 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"