Files
rust/library/core/src
bors 16422dbd89 Auto merge of #132238 - Urgau:midpoint-i64-hackers-impl, r=joboet
Use Hacker's Delight impl in `i64::midpoint` instead of wide `i128` impl

This PR switches `i64::midpoint` and (`isize::midpoint` where `isize == i64`) to using our Hacker's Delight impl instead of wide `i128` implementation.

As LLVM seems to be outperformed by the complexity of signed 128-bits number compared to our Hacker's Delight implementation.[^1]

It doesn't seems like it's an improvement for the other sizes[^2], so we let them with the wide implementation.

[^1]: https://rust.godbolt.org/z/ravE75EYj
[^2]: https://rust.godbolt.org/z/fzr171zKh

r? libs
2024-10-30 02:26:18 +00:00
..
2024-10-15 20:30:23 -07:00
2024-10-09 19:34:27 -04:00
2024-07-26 13:26:33 +01:00
2024-07-29 08:26:52 +10:00
2024-07-26 13:26:33 +01:00
2024-10-18 01:04:01 +05:00
2024-07-29 08:26:52 +10:00
2024-10-15 20:30:23 -07:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-09-05 17:24:01 +01:00
2024-09-05 17:24:01 +01:00
2024-06-11 15:47:00 +02:00
2024-10-09 17:17:50 -04:00
2024-10-25 20:31:40 +02:00
2024-07-26 13:26:33 +01:00
2024-09-15 14:27:24 -04:00
2024-08-07 20:43:05 -04:00
2024-10-22 12:55:16 +00:00
2024-10-15 20:30:23 -07:00
2024-10-15 20:13:55 -07:00
2024-09-05 17:24:01 +01:00