blob: 7bbda2d76d5d288e90f7f84d630a8f21a42c1219 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-as < %s | llc -march=arm -mattr=+v6,+vfp2 | grep fnmuld
2; RUN: llvm-as < %s | llc -march=arm -mattr=+v6,+vfp2 -enable-sign-dependent-rounding-fp-math | grep fmul
3
4
5define double @t1(double %a, double %b) {
6entry:
Dan Gohman7ce405e2009-06-04 22:49:04 +00007 %tmp2 = fsub double -0.000000e+00, %a ; <double> [#uses=1]
8 %tmp4 = fmul double %tmp2, %b ; <double> [#uses=1]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00009 ret double %tmp4
10}
11