blob: 6d7bc05ffa94e827999f31b88f1b312e9daeafe3 [file] [log] [blame]
Jim Grosbache2fda532009-11-09 00:11:35 +00001; RUN: llc < %s -march=arm -mattr=+v6,+vfp2 | grep vnmul.f64
2; RUN: llc < %s -march=arm -mattr=+v6,+vfp2 -enable-sign-dependent-rounding-fp-math | grep vmul.f64
Dan Gohmanf17a25c2007-07-18 16:29:46 +00003
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