aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/mul128.h
Commit message (Collapse)AuthorAgeFilesLines
* Enable all the GCC warning flags, as we now require at least GCC 4.7 anywaylloyd2013-11-161-1/+1
| | | | Fix a few nullptr and cast warnings.
* Merge mp_word64 into mp_genericlloyd2013-07-301-2/+0
| | | | | | Now 64-bit limbs can be used regardless of processor, though we continue to use 32-bit unless we know the processor natively supports 64-bit operations.
* Add a generic 64x64->128 multiplication op.lloyd2013-07-301-0/+123
Use it to merge mp_msvc64 (was using MSVC _umul128 intrinsic) and mp_asm64 (was using inline asm) into mp_word64, which calls the new mul64x64_128 function. That function wraps any available compiler intrinsics or CPU instructions.