Changeset 20dccf3 in mainline
- Timestamp:
- 2012-08-17T10:50:43Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7feb86e6, bdf3c0c
- Parents:
- 568693b
- Location:
- uspace/lib/softfloat
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/softfloat/generic/softfloat.c
r568693b r20dccf3 1267 1267 } 1268 1268 1269 double __aeabi_i2d(int i) 1270 { 1271 return __floatsidf(i); 1272 } 1273 1274 double __aeabi_ui2d(unsigned int i) 1275 { 1276 return __floatunsidf(i); 1277 } 1278 1279 int __aeabi_d2iz(double a) 1280 { 1281 return __fixdfsi(a); 1282 } 1283 1284 unsigned int __aeabi_d2uiz(double a) 1285 { 1286 return __fixunsdfsi(a); 1287 } 1288 1289 int __aeabi_dcmpge(double a, double b) 1290 { 1291 return __gedf2(a, b); 1292 } 1293 1294 int __aeabi_dcmpgt(double a, double b) 1295 { 1296 return __gtdf2(a, b); 1297 } 1298 1299 int __aeabi_dcmplt(double a, double b) 1300 { 1301 return __ltdf2(a, b); 1302 } 1303 1304 double __aeabi_dadd(double a, double b) 1305 { 1306 return __adddf3(a, b); 1307 } 1308 1309 double __aeabi_dsub(double a, double b) 1310 { 1311 return __subdf3(a, b); 1312 } 1313 1314 double __aeabi_dmul(double a, double b) 1315 { 1316 return __muldf3(a, b); 1317 } 1318 1319 double __aeabi_ddiv(double a, double b) 1320 { 1321 return __divdf3(a, b); 1322 } 1323 1269 1324 /** @} 1270 1325 */ -
uspace/lib/softfloat/include/softfloat.h
r568693b r20dccf3 173 173 174 174 /* SPARC quadruple-precision wrappers */ 175 176 175 extern void _Qp_add(long double *, long double *, long double *); 177 176 extern void _Qp_sub(long double *, long double *, long double *); … … 204 203 extern int _Qp_fne(long double *, long double *); 205 204 205 /* ARM EABI */ 206 extern double __aeabi_i2d(int); 207 extern double __aeabi_ui2d(unsigned int); 208 extern unsigned int __aeabi_d2uiz(double); 209 extern int __aeabi_d2iz(double); 210 211 extern int __aeabi_dcmpge(double, double); 212 extern int __aeabi_dcmpgt(double, double); 213 extern int __aeabi_dcmplt(double, double); 214 215 extern double __aeabi_dadd(double, double); 216 extern double __aeabi_dsub(double, double); 217 extern double __aeabi_dmul(double, double); 218 extern double __aeabi_ddiv(double, double); 219 206 220 /* Not implemented yet */ 207 221 extern void _Qp_sqrt(long double *, long double *);
Note:
See TracChangeset
for help on using the changeset viewer.