1; RUN: llc < %s -march=arm -mattr=+vfp2 | FileCheck %s -check-prefix=VFP2
2; RUN: llc < %s -march=arm -mcpu=cortex-a8 | FileCheck %s -check-prefix=NFP1
3; RUN: llc < %s -march=arm -mattr=+neon | FileCheck %s -check-prefix=NFP0
4
5define float @test(float %a, float %b) {
6entry:
7	%0 = fsub float %a, %b
8	ret float %0
9}
10
11; VFP2: vsub.f32	s0, s1, s0
12; NFP1: vsub.f32	d0, d1, d0
13; NFP0: vsub.f32	s0, s1, s0
14