Home | History | Annotate | Download | only in ARM
      1 ; RUN: llc -mtriple=arm-eabi -mattr=+vfp2 %s -o - \
      2 ; RUN:  | FileCheck %s -check-prefix=VFP2
      3 
      4 ; RUN: llc -mtriple=arm-eabi -mcpu=cortex-a8 %s -o - \
      5 ; RUN:  | FileCheck %s -check-prefix=NFP1
      6 
      7 ; RUN: llc -mtriple=arm-eabi -mcpu=cortex-a8 --enable-unsafe-fp-math %s -o - \
      8 ; RUN:  | FileCheck %s -check-prefix=NFP1U
      9 
     10 ; RUN: llc -mtriple=arm-darwin -mcpu=cortex-a8 %s -o - \
     11 ; RUN:  | FileCheck %s -check-prefix=NFP1U
     12 
     13 ; RUN: llc -mtriple=arm-eabi -mattr=+neon %s -o - \
     14 ; RUN:  | FileCheck %s -check-prefix=NFP0
     15 
     16 define float @test(float %a, float %b) {
     17 entry:
     18 	%0 = fsub float %a, %b
     19 	ret float %0
     20 }
     21 
     22 ; VFP2: vsub.f32	s
     23 ; NFP1U: vsub.f32	d
     24 ; NFP1: vsub.f32	s
     25 ; NFP0: vsub.f32	s
     26