blob: 24c04abd1dae11e0cd2e5fd300ea7d880da6c52f [file] [log] [blame]
David Goodwin42a83f22009-08-04 17:53:06 +00001; RUN: llvm-as < %s | llc -march=arm -mattr=+vfp2 | grep -E {fmuls\\W*s\[0-9\]+,\\W*s\[0-9\]+,\\W*s\[0-9\]+} | count 1
2; RUN: llvm-as < %s | llc -march=arm -mattr=+neon,+neonfp | grep -E {vmul.f32\\W*d\[0-9\]+,\\W*d\[0-9\]+,\\W*d\[0-9\]+} | count 1
3; RUN: llvm-as < %s | llc -march=arm -mattr=+neon,-neonfp | grep -E {fmuls\\W*s\[0-9\]+,\\W*s\[0-9\]+,\\W*s\[0-9\]+} | count 1
4
5define float @test(float %a, float %b) {
6entry:
7 %0 = fmul float %a, %b
8 ret float %0
9}
10