1 ; RUN: llc -mtriple=arm-eabi -mattr=+vfp2 %s -o - \
2 ; RUN: | FileCheck %s -check-prefix=VFP2
4 ; RUN: llc -mtriple=arm-eabi -mattr=+neon %s -o - \
5 ; RUN: | FileCheck %s -check-prefix=NFP0
7 ; RUN: llc -mtriple=arm-eabi -mcpu=cortex-a8 %s -o - \
8 ; RUN: | FileCheck %s -check-prefix=CORTEXA8
10 ; RUN: llc -mtriple=arm-eabi -mcpu=cortex-a8 --enable-unsafe-fp-math %s -o - \
11 ; RUN: | FileCheck %s -check-prefix=CORTEXA8U
13 ; RUN: llc -mtriple=arm-darwin -mcpu=cortex-a8 %s -o - \
14 ; RUN: | FileCheck %s -check-prefix=CORTEXA8U
16 ; RUN: llc -mtriple=arm-eabi -mcpu=cortex-a9 %s -o - \
17 ; RUN: | FileCheck %s -check-prefix=CORTEXA9
19 define float @test(float %a, float %b) {
21 %0 = fmul float %a, %b
33 ; CORTEXA8-LABEL: test:
34 ; CORTEXA8: vmul.f32 s
35 ; CORTEXA8U-LABEL: test:
36 ; CORTEXA8U: vmul.f32 d
37 ; CORTEXA9-LABEL: test:
38 ; CORTEXA9: vmul.f32 s
41 define float @test2(float %a) nounwind {
44 %ret = fmul float %a, 1.0