blob: a9c47cfda590676e2bdcfe3c03533e87b5b90edb [file] [log] [blame]
Shih-wei Liao77ed6142010-04-07 12:21:42 -07001#ifdef USE_VFP_RUNTIME
2# define DEF_GENERIC_OR_VFP_RUNTIME(func) DEF_VFP_RUNTIME(func)
3# define DEF_LLVM_OR_VFP_RUNTIME(func) DEF_VFP_RUNTIME(func)
4#else
5# undef DEF_VFP_RUNTIME
6# define DEF_VFP_RUNTIME(func)
7# define DEF_GENERIC_OR_VFP_RUNTIME(func) DEF_GENERIC_RUNTIME(func)
8# define DEF_LLVM_OR_VFP_RUNTIME(func) DEF_LLVM_RUNTIME(func)
9#endif
10
11// Sorted
12DEF_LLVM_RUNTIME(__absvdi2)
13DEF_LLVM_RUNTIME(__absvsi2)
14
15DEF_GENERIC_OR_VFP_RUNTIME(__adddf3)
16DEF_GENERIC_OR_VFP_RUNTIME(__addsf3)
17
18DEF_LLVM_RUNTIME(__addvdi3)
19DEF_LLVM_RUNTIME(__addvsi3)
20DEF_LLVM_RUNTIME(__ashldi3)
21#ifndef ANDROID // has one in bionic
22 DEF_LLVM_RUNTIME(__ashrdi3)
23#endif
24
25#ifdef USE_VFP_RUNTIME
26// DEF_GENERIC_RUNTIME(__bswapdi2)
27// DEF_GENERIC_RUNTIME(__bswapsi2)
28#endif
29
30DEF_LLVM_RUNTIME(__clzdi2)
31DEF_LLVM_RUNTIME(__clzsi2)
32DEF_LLVM_RUNTIME(__cmpdi2)
33DEF_LLVM_RUNTIME(__ctzdi2)
34DEF_LLVM_RUNTIME(__ctzsi2)
35
36#ifndef ANDROID // no complex extension
37 DEF_LLVM_RUNTIME(__divdc3)
38#endif
39
40DEF_GENERIC_OR_VFP_RUNTIME(__divdf3)
41
42DEF_LLVM_RUNTIME(__divdi3)
43
44#ifndef ANDROID // no complex extension
45 DEF_LLVM_RUNTIME(__divsc3)
46#endif
47
48DEF_GENERIC_OR_VFP_RUNTIME(__divsf3)
49
50DEF_LLVM_RUNTIME(__eprintf)
51
52DEF_GENERIC_OR_VFP_RUNTIME(__eqdf2)
53DEF_GENERIC_OR_VFP_RUNTIME(__eqsf2)
54DEF_GENERIC_OR_VFP_RUNTIME(__extendsfdf2)
55
56DEF_LLVM_RUNTIME(__ffsdi2)
57DEF_LLVM_RUNTIME(__fixdfdi)
58
59DEF_GENERIC_OR_VFP_RUNTIME(__fixdfsi)
60
61DEF_LLVM_RUNTIME(__fixsfdi)
62
63DEF_GENERIC_OR_VFP_RUNTIME(__fixsfsi)
64
65DEF_LLVM_RUNTIME(__fixunsdfdi)
66DEF_LLVM_OR_VFP_RUNTIME(__fixunsdfsi)
67DEF_LLVM_RUNTIME(__fixunssfdi)
68
69DEF_LLVM_OR_VFP_RUNTIME(__fixunssfsi)
70
71DEF_LLVM_RUNTIME(__floatdidf)
72DEF_LLVM_RUNTIME(__floatdisf)
73
74DEF_GENERIC_OR_VFP_RUNTIME(__floatsidf)
75DEF_GENERIC_OR_VFP_RUNTIME(__floatsisf)
76
77DEF_LLVM_RUNTIME(__floatundidf)
78DEF_LLVM_RUNTIME(__floatundisf)
79
80DEF_GENERIC_RUNTIME(__floatunsidf)
81DEF_GENERIC_RUNTIME(__floatunsisf)
82
83DEF_VFP_RUNTIME(__floatunssidf)
84DEF_VFP_RUNTIME(__floatunssisf)
85
86DEF_GENERIC_OR_VFP_RUNTIME(__gedf2)
87DEF_GENERIC_OR_VFP_RUNTIME(__gesf2)
88DEF_VFP_RUNTIME(__gtdf2)
89DEF_VFP_RUNTIME(__gtsf2)
90
91DEF_GENERIC_OR_VFP_RUNTIME(__ledf2)
92DEF_GENERIC_OR_VFP_RUNTIME(__lesf2)
93
94DEF_LLVM_RUNTIME(__lshrdi3)
95
96DEF_VFP_RUNTIME(__ltdf2)
97DEF_VFP_RUNTIME(__ltsf2)
98
99DEF_LLVM_RUNTIME(__moddi3)
100
101#ifndef ANDROID // no complex extension
102 DEF_LLVM_RUNTIME(__muldc3)
103#endif
104
105DEF_GENERIC_OR_VFP_RUNTIME(__muldf3)
106DEF_LLVM_RUNTIME(__muldi3)
107DEF_LLVM_RUNTIME(__muldsi3)
108
109#ifndef ANDROID // no complex extension
110 DEF_LLVM_RUNTIME(__mulsc3)
111#endif
112
113DEF_GENERIC_OR_VFP_RUNTIME(__mulsf3)
114
115DEF_LLVM_RUNTIME(__mulvdi3)
116DEF_LLVM_RUNTIME(__mulvsi3)
117
118DEF_VFP_RUNTIME(__nedf2)
119
120DEF_GENERIC_OR_VFP_RUNTIME(__negdf2)
121
122DEF_LLVM_RUNTIME(__negdi2)
123
124DEF_GENERIC_OR_VFP_RUNTIME(__negsf2)
125
126DEF_LLVM_RUNTIME(__negvdi2)
127DEF_LLVM_RUNTIME(__negvsi2)
128
129DEF_VFP_RUNTIME(__nesf2)
130
131DEF_LLVM_RUNTIME(__paritydi2)
132DEF_LLVM_RUNTIME(__paritysi2)
133DEF_LLVM_RUNTIME(__popcountdi2)
134DEF_LLVM_RUNTIME(__popcountsi2)
135DEF_LLVM_RUNTIME(__powidf2)
136DEF_LLVM_RUNTIME(__powisf2)
137
138DEF_GENERIC_OR_VFP_RUNTIME(__subdf3)
139DEF_GENERIC_OR_VFP_RUNTIME(__subsf3)
140
141DEF_LLVM_RUNTIME(__subvdi3)
142DEF_LLVM_RUNTIME(__subvsi3)
143
144DEF_GENERIC_OR_VFP_RUNTIME(__truncdfsf2)
145
146DEF_LLVM_RUNTIME(__ucmpdi2)
147DEF_LLVM_RUNTIME(__udivdi3)
148DEF_LLVM_RUNTIME(__udivmoddi4)
149DEF_LLVM_RUNTIME(__umoddi3)
150
151DEF_GENERIC_OR_VFP_RUNTIME(__unorddf2)
152DEF_GENERIC_OR_VFP_RUNTIME(__unordsf2)
153
Shih-wei Liao77ed6142010-04-07 12:21:42 -0700154#undef DEF_GENERIC_RUNTIME
155#undef DEF_LLVM_RUNTIME
156#undef DEF_VFP_RUNTIME
Shih-wei Liaoabd1e3d2010-04-28 01:47:00 -0700157#undef DEF_BCC_RUNTIME