Changeset 58775d30 in mainline for uspace/lib/softfloat/conversion.h
- Timestamp:
- 2015-03-16T16:07:21Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2003739
- Parents:
- 6069061 (diff), 795e2bf (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/softfloat/conversion.h
r6069061 r58775d30 36 36 #ifndef __CONVERSION_H__ 37 37 #define __CONVERSION_H__ 38 39 #include <mathtypes.h> 38 40 39 41 extern float64 float32_to_float64(float32); … … 99 101 extern float128 int64_to_float128(int64_t); 100 102 103 #ifdef float32_t 104 extern float32_t __floatsisf(int32_t); 105 extern float32_t __floatdisf(int64_t); 106 extern float32_t __floatunsisf(uint32_t); 107 extern float32_t __floatundisf(uint64_t); 108 extern int32_t __fixsfsi(float32_t); 109 extern int64_t __fixsfdi(float32_t); 110 extern uint32_t __fixunssfsi(float32_t); 111 extern uint64_t __fixunssfdi(float32_t); 112 extern int32_t __aeabi_f2iz(float32_t); 113 extern uint32_t __aeabi_f2uiz(float32_t); 114 extern float32_t __aeabi_i2f(int32_t); 115 extern float32_t __aeabi_l2f(int64_t); 116 extern float32_t __aeabi_ui2f(uint32_t); 117 extern float32_t __aeabi_ul2f(uint64_t); 118 #endif 119 120 #ifdef float64_t 121 extern float64_t __floatsidf(int32_t); 122 extern float64_t __floatdidf(int64_t); 123 extern float64_t __floatunsidf(uint32_t); 124 extern float64_t __floatundidf(uint64_t); 125 extern int32_t __fixdfsi(float64_t); 126 extern int64_t __fixdfdi(float64_t); 127 extern uint32_t __fixunsdfsi(float64_t); 128 extern uint64_t __fixunsdfdi(float64_t); 129 extern float64_t __aeabi_i2d(int32_t); 130 extern float64_t __aeabi_ui2d(uint32_t); 131 extern float64_t __aeabi_l2d(int64_t); 132 extern int32_t __aeabi_d2iz(float64_t); 133 extern int64_t __aeabi_d2lz(float64_t); 134 extern uint32_t __aeabi_d2uiz(float64_t); 135 #endif 136 137 #ifdef float128_t 138 extern float128_t __floatsitf(int32_t); 139 extern float128_t __floatditf(int64_t); 140 extern float128_t __floatunsitf(uint32_t); 141 extern float128_t __floatunditf(uint64_t); 142 extern int32_t __fixtfsi(float128_t); 143 extern int64_t __fixtfdi(float128_t); 144 extern uint32_t __fixunstfsi(float128_t); 145 extern uint64_t __fixunstfdi(float128_t); 146 extern int32_t _Qp_qtoi(float128_t *); 147 extern int64_t _Qp_qtox(float128_t *); 148 extern uint32_t _Qp_qtoui(float128_t *); 149 extern uint64_t _Qp_qtoux(float128_t *); 150 extern void _Qp_itoq(float128_t *, int32_t); 151 extern void _Qp_xtoq(float128_t *, int64_t); 152 extern void _Qp_uitoq(float128_t *, uint32_t); 153 extern void _Qp_uxtoq(float128_t *, uint64_t); 154 #endif 155 156 #if (defined(float32_t) && defined(float64_t)) 157 extern float32_t __truncdfsf2(float64_t); 158 extern float64_t __extendsfdf2(float32_t); 159 extern float64_t __aeabi_f2d(float32_t); 160 extern float32_t __aeabi_d2f(float64_t); 161 #endif 162 163 #if (defined(float32_t) && defined(float128_t)) 164 extern float32_t __trunctfsf2(float128_t); 165 extern float128_t __extendsftf2(float32_t); 166 extern void _Qp_stoq(float128_t *, float32_t); 167 extern float32_t _Qp_qtos(float128_t *); 168 #endif 169 170 #if (defined(float64_t) && defined(float128_t)) 171 extern float64_t __trunctfdf2(float128_t); 172 extern float128_t __extenddftf2(float64_t); 173 extern void _Qp_dtoq(float128_t *, float64_t); 174 extern float64_t _Qp_qtod(float128_t *); 175 #endif 176 101 177 #endif 102 178
Note:
See TracChangeset
for help on using the changeset viewer.