Changeset 8b863a62 in mainline for uspace/lib/softfloat/softfloat.c
- Timestamp:
- 2014-04-16T17:14:06Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f857e8b
- Parents:
- dba3e2c (diff), 70b570c (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
-
uspace/lib/softfloat/softfloat.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/softfloat/softfloat.c
rdba3e2c r8b863a62 44 44 #include "conversion.h" 45 45 #include "comparison.h" 46 #include "other.h"47 46 48 47 /* Arithmetic functions */ … … 1265 1264 } 1266 1265 1266 float __aeabi_d2f(double a) 1267 { 1268 return __truncdfsf2(a); 1269 } 1270 1271 double __aeabi_f2d(float a) 1272 { 1273 return __extendsfdf2(a); 1274 } 1275 1276 1277 float __aeabi_i2f(int i) 1278 { 1279 return __floatsisf(i); 1280 } 1281 1282 float __aeabi_ui2f(int i) 1283 { 1284 return __floatunsisf(i); 1285 } 1286 1267 1287 double __aeabi_i2d(int i) 1268 1288 { … … 1275 1295 } 1276 1296 1297 double __aeabi_l2d(long long i) 1298 { 1299 return __floattidf(i); 1300 } 1301 1302 float __aeabi_l2f(long long i) 1303 { 1304 return __floattisf(i); 1305 } 1306 1307 float __aeabi_ul2f(unsigned long long u) 1308 { 1309 return __floatuntisf(u); 1310 } 1311 1277 1312 int __aeabi_f2iz(float a) 1278 1313 { … … 1280 1315 } 1281 1316 1317 int __aeabi_f2uiz(float a) 1318 { 1319 return __fixunssfsi(a); 1320 } 1321 1282 1322 int __aeabi_d2iz(double a) 1283 1323 { … … 1290 1330 } 1291 1331 1332 long long __aeabi_d2lz(double a) 1333 { 1334 return __fixdfti(a); 1335 } 1336 1337 int __aeabi_fcmpge(float a, float b) 1338 { 1339 return __gesf2(a, b); 1340 } 1341 1342 int __aeabi_fcmpgt(float a, float b) 1343 { 1344 return __gtsf2(a, b); 1345 } 1346 1347 int __aeabi_fcmplt(float a, float b) 1348 { 1349 return __ltsf2(a, b); 1350 } 1351 1352 int __aeabi_fcmpeq(float a, float b) 1353 { 1354 return __eqsf2(a, b); 1355 } 1356 1292 1357 int __aeabi_dcmpge(double a, double b) 1293 1358 { … … 1303 1368 { 1304 1369 return __ltdf2(a, b); 1370 } 1371 1372 int __aeabi_dcmple(double a, double b) 1373 { 1374 return __ledf2(a, b); 1305 1375 } 1306 1376
Note:
See TracChangeset
for help on using the changeset viewer.
