1 ; RUN: llc < %s -march=arm -mattr=+vfp2 | FileCheck %s -check-prefix=VFP2
2 ; RUN: llc < %s -march=arm -mattr=+neon | FileCheck %s -check-prefix=NFP0
3 ; RUN: llc < %s -march=arm -mcpu=cortex-a8 | FileCheck %s -check-prefix=CORTEXA8
4 ; RUN: llc < %s -march=arm -mcpu=cortex-a9 | FileCheck %s -check-prefix=CORTEXA9
6 define float @test(float %acc, float %a, float %b) {
9 %1 = fadd float %acc, %0
14 ; VFP2: vmla.f32 s2, s1, s0
17 ; NFP1: vmul.f32 d0, d1, d0
19 ; NFP0: vmla.f32 s2, s1, s0
22 ; CORTEXA8: vmul.f32 d0, d1, d0
24 ; CORTEXA9: vmla.f32 s2, s1, s0