1 ; RUN: llc < %s -mtriple=thumbv7-apple-darwin10 -march=thumb -mcpu=cortex-m3 | FileCheck %s -check-prefix=CORTEXM3
2 ; RUN: llc < %s -mtriple=thumbv7-apple-darwin10 -march=thumb -mcpu=cortex-m4 | FileCheck %s -check-prefix=CORTEXM4
3 ; RUN: llc < %s -mtriple=thumbv7-apple-darwin10 -march=thumb -mcpu=cortex-a8 | FileCheck %s -check-prefix=CORTEXA8
6 define float @foo(float %a, float %b) {
9 ; CORTEXM3: blx ___mulsf3
10 ; CORTEXM4: vmul.f32 s0, s1, s0
11 ; CORTEXA8: vmul.f32 d0, d1, d0
12 %0 = fmul float %a, %b
16 define double @bar(double %a, double %b) {
19 %0 = fmul double %a, %b
20 ; CORTEXM3: blx ___muldf3
21 ; CORTEXM4: blx ___muldf3
22 ; CORTEXA8: vmul.f64 d16, d17, d16