1 ; RUN: llc < %s -mcpu=pentium -mtriple=i686-linux-gnu -float-abi=soft | FileCheck %s
3 define i1 @test1(double %d) #0 {
5 %cmp = fcmp ule double %d, 0.000000e+00
13 define i1 @test2(double %d) #0 {
15 %cmp = fcmp ult double %d, 0.000000e+00
19 ; CHECK: calll __gedf2
23 define i1 @test3(double %d) #0 {
25 %cmp = fcmp ugt double %d, 0.000000e+00
29 ; CHECK: calll __ledf2
33 define i1 @test4(double %d) #0 {
35 %cmp = fcmp uge double %d, 0.000000e+00
39 ; CHECK: calll __ltdf2
43 define i1 @test5(double %d) #0 {
45 %cmp = fcmp ole double %d, 0.000000e+00
49 ; CHECK: calll __ledf2
53 define i1 @test6(double %d) #0 {
55 %cmp = fcmp olt double %d, 0.000000e+00
59 ; CHECK: calll __ltdf2
63 define i1 @test7(double %d) #0 {
65 %cmp = fcmp ogt double %d, 0.000000e+00
69 ; CHECK: calll __gtdf2
73 define i1 @test8(double %d) #0 {
75 %cmp = fcmp oge double %d, 0.000000e+00
79 ; CHECK: calll __gedf2
83 define i1 @test9(double %d) #0 {
85 %cmp = fcmp oeq double %d, 0.000000e+00
89 ; CHECK: calll __eqdf2
93 define i1 @test10(double %d) #0 {
95 %cmp = fcmp ueq double %d, 0.000000e+00
98 ; CHECK-LABEL: test10:
99 ; CHECK: calll __eqdf2
101 ; CHECK: calll __unorddf2
105 define i1 @test11(double %d) #0 {
107 %cmp = fcmp one double %d, 0.000000e+00
110 ; CHECK-LABEL: test11:
111 ; CHECK: calll __gtdf2
113 ; CHECK: calll __ltdf2
117 define i1 @test12(double %d) #0 {
119 %cmp = fcmp une double %d, 0.000000e+00
122 ; CHECK-LABEL: test12:
123 ; CHECK: calll __nedf2
127 attributes #0 = { "use-soft-float"="true" }