1 ; RUN: llc < %s -march=arm -mattr=+vfp3 | FileCheck %s
3 define float @t1(float %x) nounwind readnone optsize {
6 ; CHECK: vmov.f32 s{{.*}}, #4.000000e+00
7 %0 = fadd float %x, 4.000000e+00
11 define double @t2(double %x) nounwind readnone optsize {
14 ; CHECK: vmov.f64 d{{.*}}, #3.000000e+00
15 %0 = fadd double %x, 3.000000e+00
19 define double @t3(double %x) nounwind readnone optsize {
22 ; CHECK: vmov.f64 d{{.*}}, #-1.300000e+01
23 %0 = fmul double %x, -1.300000e+01
27 define float @t4(float %x) nounwind readnone optsize {
30 ; CHECK: vmov.f32 s{{.*}}, #-2.400000e+01
31 %0 = fmul float %x, -2.400000e+01