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 -mtriple=arm-eabi -mcpu=cortex-a8 | FileCheck %s -check-prefix=CORTEXA8
4 ; RUN: llc < %s -mtriple=arm-eabi -mcpu=cortex-a8 --enable-unsafe-fp-math | FileCheck %s -check-prefix=CORTEXA8U
5 ; RUN: llc < %s -mtriple=arm-darwin -mcpu=cortex-a8 | FileCheck %s -check-prefix=CORTEXA8U
6 ; RUN: llc < %s -march=arm -mcpu=cortex-a9 | FileCheck %s -check-prefix=CORTEXA9
8 define float @test(float %a, float %b) {
10 %0 = fadd float %a, %b
22 ; CORTEXA8-LABEL: test:
23 ; CORTEXA8: vadd.f32 s
24 ; CORTEXA8U-LABEL: test:
25 ; CORTEXA8U: vadd.f32 d
26 ; CORTEXA9-LABEL: test:
27 ; CORTEXA9: vadd.f32 s