summaryrefslogtreecommitdiff
path: root/test/CodeGen
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-01-27 21:14:23 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-01-27 21:14:23 +0000
commit9bd79b17efd4e4a5f4f7ce7e90829f1f423e1148 (patch)
treeb39b22ccf3470e410b9a13c02ede8d41c41082c3 /test/CodeGen
parent8cb1e2b6f4a9e3f6a3e7f6bb1397c5ca1e02e927 (diff)
downloadllvm-9bd79b17efd4e4a5f4f7ce7e90829f1f423e1148.tar.gz
llvm-9bd79b17efd4e4a5f4f7ce7e90829f1f423e1148.tar.bz2
llvm-9bd79b17efd4e4a5f4f7ce7e90829f1f423e1148.tar.xz
These are fp stack test cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25698 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/X86/fabs.ll2
-rw-r--r--test/CodeGen/X86/fildll.ll2
-rw-r--r--test/CodeGen/X86/fp-immediate-shorten.ll2
-rw-r--r--test/CodeGen/X86/negatize_zero.ll2
4 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/X86/fabs.ll b/test/CodeGen/X86/fabs.ll
index b304cd4c3f..06c5a89a2e 100644
--- a/test/CodeGen/X86/fabs.ll
+++ b/test/CodeGen/X86/fabs.ll
@@ -1,5 +1,5 @@
; Make sure this testcase codegens to the fabs instruction, not a call to fabsf
-; RUN: llvm-as < %s | llc -march=x86 | grep 'fabs$' | wc -l | grep 2
+; RUN: llvm-as < %s | llc -march=x86 -mattr=-sse2 | grep 'fabs$' | wc -l | grep 2
declare float %fabsf(float)
diff --git a/test/CodeGen/X86/fildll.ll b/test/CodeGen/X86/fildll.ll
index a9808dfcad..dbf9aca209 100644
--- a/test/CodeGen/X86/fildll.ll
+++ b/test/CodeGen/X86/fildll.ll
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att | grep fildll | wc -l | grep 2
+; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att -mattr=-sse2 | grep fildll | wc -l | grep 2
fastcc double %sint64_to_fp(long %X) {
%R = cast long %X to double
diff --git a/test/CodeGen/X86/fp-immediate-shorten.ll b/test/CodeGen/X86/fp-immediate-shorten.ll
index 5a19f92d32..966bf78750 100644
--- a/test/CodeGen/X86/fp-immediate-shorten.ll
+++ b/test/CodeGen/X86/fp-immediate-shorten.ll
@@ -1,5 +1,5 @@
;; Test that this FP immediate is stored in the constant pool as a float.
-; RUN: llvm-as < %s | llc -march=x86 | grep '.long.1123418112'
+; RUN: llvm-as < %s | llc -march=x86 -mattr=-sse2 | grep '.long.1123418112'
double %D() { ret double 123.0 }
diff --git a/test/CodeGen/X86/negatize_zero.ll b/test/CodeGen/X86/negatize_zero.ll
index 4da609dc04..3c22d5b3e2 100644
--- a/test/CodeGen/X86/negatize_zero.ll
+++ b/test/CodeGen/X86/negatize_zero.ll
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86 | grep fchs
+; RUN: llvm-as < %s | llc -march=x86 -mattr=-sse2 | grep fchs
double %T() {