2014-04-03 16:01:44 +00:00
|
|
|
; RUN: llc -mtriple=arm-eabi -mattr=+v6,+vfp2 %s -o - | FileCheck %s
|
|
|
|
|
|
|
|
; RUN: llc -mtriple=arm-eabi -mattr=+v6,+vfp2 -enable-sign-dependent-rounding-fp-math %s -o - \
|
|
|
|
; RUN: | FileCheck %s -check-prefix CHECK-ROUNDING
|
|
|
|
|
2007-05-03 00:31:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
define double @t1(double %a, double %b) {
|
|
|
|
entry:
|
2009-06-04 22:49:04 +00:00
|
|
|
%tmp2 = fsub double -0.000000e+00, %a ; <double> [#uses=1]
|
|
|
|
%tmp4 = fmul double %tmp2, %b ; <double> [#uses=1]
|
2007-05-03 00:31:40 +00:00
|
|
|
ret double %tmp4
|
|
|
|
}
|
|
|
|
|
2014-04-03 16:01:44 +00:00
|
|
|
; CHECK: vnmul.f64
|
|
|
|
; CHECK-ROUNDING: vmul.f64
|
|
|
|
|