Changeset 7c3fb9b in mainline for kernel/genarch/src/softint/multiplication.c
- Timestamp:
- 2018-05-17T08:29:01Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6ff23ff
- Parents:
- fac0ac7
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/softint/multiplication.c
rfac0ac7 r7c3fb9b 117 117 t2 += t1; 118 118 119 /* t2 & (1ull << 63) - if this bit is set in unsigned long long, 120 * result does not fit in signed one */ 119 /* 120 * t2 & (1ull << 63) - if this bit is set in unsigned long long, 121 * result does not fit in signed one 122 */ 121 123 if (SOFTINT_CHECK_OF && ((t2 < t1) || (t2 & (1ull << 63)))) { 122 124 // error, overflow
Note:
See TracChangeset
for help on using the changeset viewer.