Changeset 3781092 in mainline for uspace/lib/softfloat/arch/sparc64/include/functions.h
- Timestamp:
- 2011-09-09T18:22:33Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 40a2af3
- Parents:
- 980671e7 (diff), 5da7199 (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/arch/sparc64/include/functions.h
r980671e7 r3781092 1 1 /* 2 2 * Copyright (c) 2006 Josef Cejka 3 * Copyright (c) 2011 Petr Koupy 3 4 * All rights reserved. 4 5 * … … 38 39 #define __SOFTFLOAT_FUNCTIONS_H__ 39 40 41 #define SPARC_SOFTFLOAT 42 40 43 #define float32_to_int(X) float32_to_int32(X); 41 44 #define float32_to_long(X) float32_to_int64(X); … … 45 48 #define float64_to_long(X) float64_to_int64(X); 46 49 #define float64_to_longlong(X) float64_to_int64(X); 50 51 #define float128_to_int(X) float128_to_int32(X); 52 #define float128_to_long(X) float128_to_int64(X); 53 #define float128_to_longlong(X) float128_to_int64(X); 47 54 48 55 #define float32_to_uint(X) float32_to_uint32(X); … … 54 61 #define float64_to_ulonglong(X) float64_to_uint64(X); 55 62 63 #define float128_to_uint(X) float128_to_uint32(X); 64 #define float128_to_ulong(X) float128_to_uint64(X); 65 #define float128_to_ulonglong(X) float128_to_uint64(X); 66 56 67 #define int_to_float32(X) int32_to_float32(X); 57 68 #define long_to_float32(X) int64_to_float32(X); … … 61 72 #define long_to_float64(X) int64_to_float64(X); 62 73 #define longlong_to_float64(X) int64_to_float64(X); 74 75 #define int_to_float128(X) int32_to_float128(X); 76 #define long_to_float128(X) int64_to_float128(X); 77 #define longlong_to_float128(X) int64_to_float128(X); 63 78 64 79 #define uint_to_float32(X) uint32_to_float32(X); … … 70 85 #define ulonglong_to_float64(X) uint64_to_float64(X); 71 86 87 #define uint_to_float128(X) uint32_to_float128(X); 88 #define ulong_to_float128(X) uint64_to_float128(X); 89 #define ulonglong_to_float128(X) uint64_to_float128(X); 90 72 91 #endif 73 74 92 75 93 /** @} 76 94 */ 77
Note:
See TracChangeset
for help on using the changeset viewer.