Use roundps/pd for llvm.ceil, llvm.trunc, llvm.rint, and llvm.nearbyint of vector...
[oota-llvm.git] / test / CodeGen / X86 / storetrunc-fp.ll
1 ; RUN: llc < %s -march=x86 | not grep flds
2
3 define void @foo(x86_fp80 %a, x86_fp80 %b, float* %fp) {
4         %c = fadd x86_fp80 %a, %b
5         %d = fptrunc x86_fp80 %c to float
6         store float %d, float* %fp
7         ret void
8 }