Eliminate more uses of llvm-as and llvm-dis.
[oota-llvm.git] / test / CodeGen / ARM / fnmuls.ll
1 ; XFAIL: *
2 ; RUN: llc < %s -march=arm -mattr=+vfp2 | FileCheck %s
3 ; RUN: llc < %s -march=arm -mattr=+neon,+neonfp | FileCheck %s
4 ; RUN: llc < %s -march=arm -mattr=+neon,-neonfp | FileCheck %s
5 ; RUN: llc < %s -march=arm -mcpu=cortex-a8 | FileCheck %s
6 ; RUN: llc < %s -march=arm -mcpu=cortex-a9 | FileCheck %s
7
8 define float @test1(float %a, float %b) nounwind {
9 ; CHECK: fnmscs s2, s1, s0 
10 entry:
11         %0 = fmul float %a, %b
12         %1 = fsub float -0.0, %0
13         ret float %1
14 }
15
16 define float @test2(float %a, float %b) nounwind {
17 ; CHECK: fnmscs s2, s1, s0 
18 entry:
19         %0 = fmul float %a, %b
20         %1 = fmul float -1.0, %0
21         ret float %1
22 }
23