2
; RUN: llc < %s -march=arm -mattr=+vfp2 | FileCheck %s
3
; RUN: llc < %s -march=arm -mattr=+neon -arm-use-neon-fp=1 | FileCheck %s
4
; RUN: llc < %s -march=arm -mattr=+neon -arm-use-neon-fp=0 | FileCheck %s
5
; RUN: llc < %s -march=arm -mcpu=cortex-a8 | FileCheck %s
6
; RUN: llc < %s -march=arm -mcpu=cortex-a9 | FileCheck %s
8
define float @test1(float %a, float %b) nounwind {
9
; CHECK: fnmscs s2, s1, s0
11
%0 = fmul float %a, %b
12
%1 = fsub float -0.0, %0
16
define float @test2(float %a, float %b) nounwind {
17
; CHECK: fnmscs s2, s1, s0
19
%0 = fmul float %a, %b
20
%1 = fmul float -1.0, %0