blob: 6d7bc05ffa94e827999f31b88f1b312e9daeafe3 [file] [log] [blame]
Jim Grosbache5165492009-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
Chris Lattnerf972db02007-05-03 00:31:40 +00003
4
5define double @t1(double %a, double %b) {
6entry:
Dan Gohmanae3a0be2009-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]
Chris Lattnerf972db02007-05-03 00:31:40 +00009 ret double %tmp4
10}
11