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