diff options
| author | Urgau <urgau@numericable.fr> | 2024-10-27 20:34:13 +0100 |
|---|---|---|
| committer | Urgau <urgau@numericable.fr> | 2024-10-27 20:34:13 +0100 |
| commit | ad80da672915a89163838f9adbfe5b6e4c1e616e (patch) | |
| tree | bb1ed0d3c9d540653c7ec2ee792e17292215cd4e /compiler/rustc_codegen_llvm/src/llvm/mod.rs | |
| parent | 9fa0146c4a12ace3a23555b22797868a98128a37 (diff) | |
| download | rust-ad80da672915a89163838f9adbfe5b6e4c1e616e.tar.gz rust-ad80da672915a89163838f9adbfe5b6e4c1e616e.zip | |
Use Hacker's Delight impl in `i64::midpoint` instead of wide `i128` impl
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
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/mod.rs')
0 files changed, 0 insertions, 0 deletions
