diff options
| author | bors <bors@rust-lang.org> | 2024-10-30 02:26:18 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-10-30 02:26:18 +0000 |
| commit | 16422dbd8958179379214e8f43fdb73a06b2eada (patch) | |
| tree | 4417e57297328aec1f466e816dcf817c4eda05c3 /compiler/rustc_codegen_gcc | |
| parent | 1e4f10ba6476e48a42a79b9f846a2d9366525b9e (diff) | |
| parent | ad80da672915a89163838f9adbfe5b6e4c1e616e (diff) | |
| download | rust-16422dbd8958179379214e8f43fdb73a06b2eada.tar.gz rust-16422dbd8958179379214e8f43fdb73a06b2eada.zip | |
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
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
