26 lines · plain
1; RUN: llc -mtriple=arm-eabi -mattr=+vfp2 %s -o - \2; RUN: | FileCheck %s -check-prefix=VFP23 4; RUN: llc -mtriple=arm-eabi -mcpu=cortex-a8 %s -o - \5; RUN: | FileCheck %s -check-prefix=NFP16 7; RUN: llc -mtriple=arm-eabi -mcpu=cortex-a8 --denormal-fp-math=preserve-sign %s -o - \8; RUN: | FileCheck %s -check-prefix=NFP1U9 10; RUN: llc -mtriple=arm-darwin -mcpu=cortex-a8 %s -o - \11; RUN: | FileCheck %s -check-prefix=NFP1U12 13; RUN: llc -mtriple=arm-eabi -mattr=+neon %s -o - \14; RUN: | FileCheck %s -check-prefix=NFP015 16define float @test(float %a, float %b) {17entry:18 %0 = fsub float %a, %b19 ret float %020}21 22; VFP2: vsub.f32 s23; NFP1U: vsub.f32 d24; NFP1: vsub.f32 s25; NFP0: vsub.f32 s26