diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-12-27 19:47:09 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-27 19:47:09 +0100 |
| commit | 95e66ff8b4d5e6f422226176c7dfe2153f2871dc (patch) | |
| tree | c6ec7204869f3e9932df14ef0cee83dd0cc114ac /tests/rustdoc-ui/coverage/enum-tuple.rs | |
| parent | 6d3db555e614eb50bbb40559e696414e69b6eff9 (diff) | |
| parent | 4669c0d756ddfbd3df0ee1d5c7a4b1cdaabf5945 (diff) | |
| download | rust-95e66ff8b4d5e6f422226176c7dfe2153f2871dc.tar.gz rust-95e66ff8b4d5e6f422226176c7dfe2153f2871dc.zip | |
Rollup merge of #133663 - scottmcm:carrying_mul_add, r=Amanieu
Add a compiler intrinsic to back `bigint_helper_methods` cc https://github.com/rust-lang/rust/issues/85532 This adds a new `carrying_mul_add` intrinsic, to implement `wide_mul` and `carrying_mul`. It has fallback MIR for all types -- including `u128`, which isn't currently supported on nightly -- so that it'll continue to work on all backends, including CTFE. Then it's overridden in `cg_llvm` to use wider intermediate types, including `i256` for `u128::carrying_mul`.
Diffstat (limited to 'tests/rustdoc-ui/coverage/enum-tuple.rs')
0 files changed, 0 insertions, 0 deletions
