Implement _umul128; it provides the high and low halves of a 128-bit
multiply. We can simply use our __int128 arithmetic to implement this,
we generate great code for it:
movq %rdx, %rax mulq %rcx movq %rdx, (%r8) retq
Differential D6486
Intrin: Add _umul128 majnemer on Dec 2 2014, 2:59 PM. Authored by
Details Implement _umul128; it provides the high and low halves of a 128-bit movq %rdx, %rax mulq %rcx movq %rdx, (%r8) retq
Diff Detail
Event TimelineComment Actions lgtm Nice!
|