-; ModuleID = '<stdin>'
-target triple = "i386-apple-darwin9.5"
+; RUN: llvm-as < %s | llc -limit-float-precision=6 -march=x86 | \
+; RUN: not grep exp | not grep log | not grep pow
+; RUN: llvm-as < %s | llc -limit-float-precision=12 -march=x86 | \
+; RUN: not grep exp | not grep log | not grep pow
+; RUN: llvm-as < %s | llc -limit-float-precision=18 -march=x86 | \
+; RUN: not grep exp | not grep log | not grep pow
define float @f1(float %x) nounwind noinline {
entry: