Changeset 8348846 in mainline for uspace/lib/softint/generic/shift.c
- Timestamp:
- 2018-01-15T22:39:24Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2013ea9, aec41c8
- Parents:
- dbbbe75b
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-15 21:54:21)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-15 22:39:24)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/softint/generic/shift.c
rdbbbe75b r8348846 34 34 */ 35 35 36 #include <alias.h> 36 37 #include <shift.h> 37 38 #include <lltype.h> 38 39 39 long long __ashl di3 (long long val, int shift)40 long long __ashlti3 (long long val, int shift) 40 41 { 41 42 union lltype ll; … … 65 66 } 66 67 67 long long __ashr di3 (long long val, int shift)68 long long __ashrti3 (long long val, int shift) 68 69 { 69 70 union lltype ll; … … 95 96 } 96 97 97 long long __lshr di3 (long long val, int shift)98 long long __lshrti3 (long long val, int shift) 98 99 { 99 100 union lltype ll; … … 133 134 } 134 135 136 #if LONG_MAX == LLONG_MAX 137 long ALIAS(__ashl, i3); 138 long ALIAS(__ashr, i3); 139 long ALIAS(__lshr, i3); 140 #endif 141 135 142 /** @} 136 143 */
Note:
See TracChangeset
for help on using the changeset viewer.