Previously we calculating the remainder by multiplying the
quotient and divisor and subtracting from the dividend.
__udivmod can calculate the remainder while calculating the
quotient. We just need to correct the sign afterward.
Differential D87433
[builtins] Write __divmoddi4/__divmodsi4 in terms __udivmod instead of __div and multiply. craig.topper on Sep 9 2020, 10:20 PM. Authored by
Details Previously we calculating the remainder by multiplying the __udivmod can calculate the remainder while calculating the
Diff Detail
|
Just bits_in_word? m1 is not used.