Files
rust/library
Matthias Krüger 95e66ff8b4 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`.
2024-12-27 19:47:09 +01:00
..
2024-08-29 12:13:19 -07:00
2024-07-28 14:46:29 -04:00
2024-12-24 19:00:57 +01:00
2024-12-24 19:00:57 +01:00
2024-11-19 18:54:20 +01:00
2024-12-26 16:11:44 +01:00
2024-12-26 16:11:44 +01:00