Initial support for single-precision FP using NEON. Added "neonfp" attribute to enabl...
[oota-llvm.git] / test / CodeGen / ARM / fnmuls.ll
1 ; XFAIL: *
2 ; RUN: llvm-as < %s | llc -march=arm -mattr=+vfp2 | grep -E {fnmuls\\W*s\[0-9\]+,\\W*s\[0-9\]+,\\W*s\[0-9\]+} | count 1
3 ; RUN: llvm-as < %s | llc -march=arm -mattr=+neon,+neonfp | grep -E {fnmuls\\W*s\[0-9\]+,\\W*s\[0-9\]+,\\W*s\[0-9\]+} | count 1
4 ; RUN: llvm-as < %s | llc -march=arm -mattr=+neon,-neonfp | grep -E {fnmuls\\W*s\[0-9\]+,\\W*s\[0-9\]+,\\W*s\[0-9\]+} | count 1
5
6 define float @test(float %a, float %b) {
7 entry:
8         %0 = fmul float %a, %b
9         %1 = fsub float 0.0, %0
10         ret float %1
11 }
12