Matthias Krüger
f511360fd2
Rollup merge of #92747 - swenson:bignum-bit-length-optimization, r=scottmcm
...
Simplification of BigNum::bit_length
As indicated in the comment, the BigNum::bit_length function could be
optimized by using CLZ, which is often a single instruction instead a
loop.
I think the code is also simpler now without the loop.
I added some additional tests for Big8x3 and Big32x40 to ensure that
there were no regressions.
2022-01-15 11:28:22 +01:00
..
2021-10-20 04:35:10 +09:00
2021-08-15 13:00:25 -04:00
2022-01-09 14:09:25 +11:00
2022-01-10 14:18:28 -08:00
2021-02-06 22:36:05 -08:00
2021-06-03 16:13:45 +02:00
2021-12-17 19:17:29 +00:00
2021-10-12 23:27:17 -04:00
2021-10-18 19:19:28 +09:00
2021-12-15 00:11:23 +08:00
2021-10-18 19:19:28 +09:00
2021-12-23 00:28:51 +01:00
2021-03-03 11:23:29 +01:00
2021-12-16 22:11:17 -08:00
2021-06-27 12:05:17 +02:00
2021-12-12 12:34:59 +08:00
2021-12-20 12:33:55 +01:00
2021-12-23 20:07:41 +09:00
2021-10-18 19:19:28 +09:00
2022-01-11 17:01:13 +01:00
2021-07-15 22:05:45 +03:00
2021-07-05 11:55:45 +00:00
2021-11-28 01:31:25 -05:00
2021-10-20 12:04:58 +09:00
2021-02-06 22:36:05 -08:00
2021-12-17 20:46:47 +08:00
2020-09-18 19:23:50 +02:00
2021-12-12 14:02:53 +09:00
2021-10-17 18:39:54 +09:00
2021-12-02 19:22:00 -08:00
2021-12-10 21:34:19 +01:00
2020-09-04 01:04:34 +02:00
2021-09-16 03:09:31 +02:00
2020-11-30 02:47:32 +01:00