1; RUN: llc < %s -march=arm -mattr=+vfp2 | FileCheck %s -check-prefix=VFP2
2; RUN: llc < %s -mtriple=arm-eabi -mcpu=cortex-a8 | FileCheck %s -check-prefix=NFP1
3; RUN: llc < %s -mtriple=arm-eabi -mcpu=cortex-a8 --enable-unsafe-fp-math | FileCheck %s -check-prefix=NFP1U
4; RUN: llc < %s -mtriple=arm-darwin -mcpu=cortex-a8 | FileCheck %s -check-prefix=NFP1U
5; RUN: llc < %s -march=arm -mattr=+neon | FileCheck %s -check-prefix=NFP0
6
7define float @test(float %a, float %b) {
8entry:
9	%0 = fsub float %a, %b
10	ret float %0
11}
12
13; VFP2: vsub.f32	s
14; NFP1U: vsub.f32	d
15; NFP1: vsub.f32	s
16; NFP0: vsub.f32	s
17