2009-11-09 08:11:35 +08:00
|
|
|
; RUN: llc < %s -march=arm -mattr=+v6,+vfp2 | grep vnmul.f64
|
|
|
|
; RUN: llc < %s -march=arm -mattr=+v6,+vfp2 -enable-sign-dependent-rounding-fp-math | grep vmul.f64
|
2007-05-03 08:31:40 +08:00
|
|
|
|
|
|
|
|
|
|
|
define double @t1(double %a, double %b) {
|
|
|
|
entry:
|
2009-06-05 06:49:04 +08:00
|
|
|
%tmp2 = fsub double -0.000000e+00, %a ; <double> [#uses=1]
|
|
|
|
%tmp4 = fmul double %tmp2, %b ; <double> [#uses=1]
|
2007-05-03 08:31:40 +08:00
|
|
|
ret double %tmp4
|
|
|
|
}
|
|
|
|
|