forked from OSchip/llvm-project
parent
33dadac722
commit
108b522912
|
@ -1,4 +1,3 @@
|
|||
; XFAIL: *
|
||||
; RUN: llvm-as < %s | llc -march=arm -mattr=+vfp2 | grep -E {fnmscs\\W*s\[0-9\]+,\\W*s\[0-9\]+,\\W*s\[0-9\]+} | count 2
|
||||
; RUN: llvm-as < %s | llc -march=arm -mattr=+neon,+neonfp | grep -E {fnmscs\\W*s\[0-9\]+,\\W*s\[0-9\]+,\\W*s\[0-9\]+} | count 2
|
||||
; RUN: llvm-as < %s | llc -march=arm -mattr=+neon,-neonfp | grep -E {fnmscs\\W*s\[0-9\]+,\\W*s\[0-9\]+,\\W*s\[0-9\]+} | count 2
|
||||
|
@ -8,7 +7,7 @@
|
|||
define float @test1(float %acc, float %a, float %b) nounwind {
|
||||
entry:
|
||||
%0 = fmul float %a, %b
|
||||
%1 = fsub float 0.0, %0
|
||||
%1 = fsub float -0.0, %0
|
||||
%2 = fsub float %1, %acc
|
||||
ret float %2
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue