These are fp stack test cases.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 27 Jan 2006 21:14:23 +0000 (21:14 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 27 Jan 2006 21:14:23 +0000 (21:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25698 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/fabs.ll
test/CodeGen/X86/fildll.ll
test/CodeGen/X86/fp-immediate-shorten.ll
test/CodeGen/X86/negatize_zero.ll

index b304cd4c3fdaaf4fb8449f9bd17dc9cfb008aca1..06c5a89a2e4eabadcf97d9878150dfc54f5c2fde 100644 (file)
@@ -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)
 
index a9808dfcad7a409596a6725da8eca074c3633fca..dbf9aca2097179f110f7e5330bbab4f9082c6b33 100644 (file)
@@ -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
index 5a19f92d3292d4acd3952a90ee624f34741ee8e0..966bf787500ae2225e2ec56ca2014b123636eb43 100644 (file)
@@ -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 }
index 4da609dc04c3cf9c503bae23ad1d7ccaa22e7983..3c22d5b3e23874b0f34c85005811aeaa518742a6 100644 (file)
@@ -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() {