Commit Graph

6 Commits

Author SHA1 Message Date
Kogia-sima 51f3f12113 perf: Optimize udivmod_1e19 function 2021-01-28 23:47:57 +09:00
David Tolnay 17d828c5a6
Clarify udiv128 licensing 2019-05-01 18:23:30 -07:00
Object905 e86a5a54cc use different buffer size for every type 2018-03-21 07:44:57 +05:00
David Tolnay 3e47651d90
Write u128 using only two divisions 2017-09-16 13:58:02 -07:00
David Tolnay 23d280dc7a
Simplify udivmodti4 for our special case
This isn't faster, just easier to understand.
2017-09-16 11:49:36 -07:00
Henning Ottesen 1d85a0c5f9 Copy udivmodti4 from compiler-builtins
Division with remainder on u128 is badly optimized by LLVM. Copying it
into our crate allows for inlining and proper optimization.
2017-09-14 23:52:42 +02:00