| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-02-08 | Rustfmt | bjorn3 | -239/+249 | |
| 2025-02-04 | cg_gcc: Directly use rustc_abi instead of reexports | Jubilee Young | -8/+8 | |
| 2025-01-15 | Use a C-safe return type for `__rust_[ui]128_*` overflowing intrinsics | Trevor Gross | -2/+4 | |
| Combined with [1], this will change the overflowing multiplication operations to return an `extern "C"`-safe type. Link: https://github.com/rust-lang/compiler-builtins/pull/735 [1] | ||||
| 2025-01-13 | Fix formatting | Antoni Boucher | -2/+2 | |
| 2025-01-13 | Merge commit '59a81c2ca1edc88ad3ac4b27a8e03977ffb8e73a' into ↵ | Antoni Boucher | -6/+20 | |
| subtree-update_cg_gcc_2025_01_12 | ||||
| 2024-12-18 | chore: fix some typos | acceptacross | -1/+1 | |
| Signed-off-by: acceptacross <csqcqs@gmail.com> | ||||
| 2024-11-23 | Add simd_relaxed_fma intrinsic | Caleb Zulawski | -0/+1 | |
| 2024-11-18 | use `TypingEnv` when no `infcx` is available | lcnr | -7/+9 | |
| the behavior of the type system not only depends on the current assumptions, but also the currentnphase of the compiler. This is mostly necessary as we need to decide whether and how to reveal opaque types. We track this via the `TypingMode`. | ||||
| 2024-11-17 | Likely unlikely fix | Jiri Bobek | -2/+0 | |
| 2024-10-29 | cg_gcc: `rustc_abi::Abi` => `BackendRepr` | Jubilee Young | -3/+3 | |
| 2024-10-19 | Fix tests | Michael Goulet | -4/+8 | |
| 2024-10-11 | intrinsics.fmuladdf{16,32,64,128}: expose llvm.fmuladd.* semantics | Jed Brown | -0/+3 | |
| Add intrinsics `fmuladd{f16,f32,f64,f128}`. This computes `(a * b) + c`, to be fused if the code generator determines that (i) the target instruction set has support for a fused operation, and (ii) that the fused operation is more efficient than the equivalent, separate pair of `mul` and `add` instructions. https://llvm.org/docs/LangRef.html#llvm-fmuladd-intrinsic MIRI support is included for f32 and f64. The codegen_cranelift uses the `fma` function from libc, which is a correct implementation, but without the desired performance semantic. I think this requires an update to cranelift to expose a suitable instruction in its IR. I have not tested with codegen_gcc, but it should behave the same way (using `fma` from libc). | ||||
| 2024-10-04 | Use wide pointers consistenly across the compiler | Urgau | -2/+2 | |
| 2024-09-27 | Fmt | Guillaume Gomez | -2/+1 | |
| 2024-09-27 | Merge commit '3187d32079b817522cc17413ec9185b130daf693' into subtree-update | Guillaume Gomez | -172/+651 | |
| 2024-09-22 | Reformat using the new identifier sorting from rustfmt | Michael Goulet | -254/+244 | |
| 2024-09-17 | Rename supertraits of `CodegenMethods`. | Nicholas Nethercote | -3/+3 | |
| Supertraits of `BuilderMethods` are all called `XyzBuilderMethods`. Supertraits of `CodegenMethods` are all called `XyzMethods`. This commit changes the latter to `XyzCodegenMethods`, for consistency. | ||||
| 2024-09-17 | Rename `{ArgAbi,IntrinsicCall}Methods`. | Nicholas Nethercote | -3/+3 | |
| They both are part of `BuilderMethods`, and so should have `Builder` in their name like all the other traits in `BuilderMethods`. | ||||
| 2024-09-14 | simd_shuffle: require index argument to be a vector | Ralf Jung | -18/+7 | |
| 2024-08-13 | simd_shuffle intrinsic: allow argument to be passed as vector (not just as ↵ | Ralf Jung | -7/+12 | |
| array) | ||||
| 2024-07-29 | Reformat `use` declarations. | Nicholas Nethercote | -4/+3 | |
| The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options. | ||||
| 2024-07-10 | Merge commit '98ed962c7d3eebe12c97588e61245273d265e72f' into master | Guillaume Gomez | -66/+248 | |
| 2024-05-22 | Stop using `to_hir_binop` in codegen | Scott McMurray | -6/+7 | |
| 2024-05-17 | Rename Unsafe to Safety | Santiago Pastorino | -8/+4 | |
| 2024-05-02 | Inline & delete `Ty::new_unit`, since it's just a field access | Waffle Lapkin | -2/+2 | |
| 2024-04-24 | Auto merge of #122053 - erikdesjardins:alloca, r=nikic | bors | -3/+3 | |
| Stop using LLVM struct types for alloca The alloca type has no semantic meaning, only the size (and alignment, but we specify it explicitly) matter. Using `[N x i8]` is a more direct way to specify that we want `N` bytes, and avoids relying on LLVM's struct layout. It is likely that a future LLVM version will change to an untyped alloca representation. Split out from #121577. r? `@ghost` | ||||
| 2024-04-11 | use [N x i8] for alloca types | Erik Desjardins | -3/+3 | |
| 2024-04-11 | Put `PlaceValue` into `OperandValue::Ref`, rather than 3 tuple fields | Scott McMurray | -3/+8 | |
| 2024-04-11 | Make `PlaceRef` hold a `PlaceValue` for the non-layout fields (like ↵ | Scott McMurray | -6/+6 | |
| `OperandRef` does) | ||||
| 2024-03-23 | CFI: Use Instance at callsites | Matthew Maurer | -5/+6 | |
| We already use `Instance` at declaration sites when available to glean additional information about possible abstractions of the type in use. This does the same when possible at callsites as well. The primary purpose of this change is to allow CFI to alter how it generates type information for indirect calls through `Virtual` instances. | ||||
| 2024-03-22 | Make RawPtr take Ty and Mutbl separately | Michael Goulet | -12/+12 | |
| 2024-03-05 | Merge commit 'b385428e3ddf330805241e7758e773f933357c4b' into ↵ | Guillaume Gomez | -718/+1164 | |
| subtree-update_cg_gcc_2024-03-05 | ||||
| 2024-02-26 | rename 'try' intrinsic to 'catch_unwind' | Ralf Jung | -2/+2 | |
| 2024-02-21 | remove simd_reduce_{min,max}_nanless | Ralf Jung | -3/+0 | |
| 2024-02-21 | make simd_reduce_{mul,add}_unordered use only the 'reassoc' flag, not all ↵ | Ralf Jung | -2/+2 | |
| fast-math flags | ||||
| 2024-02-12 | Teach llvm backend how to fall back to default bodies | Oli Scherer | -8/+10 | |
| 2024-01-23 | Further Implement `is_val_statically_known` | Nicholas Thompson | -0/+6 | |
| 2023-12-24 | Remove `Session` methods that duplicate `DiagCtxt` methods. | Nicholas Nethercote | -3/+3 | |
| Also add some `dcx` methods to types that wrap `TyCtxt`, for easier access. | ||||
| 2023-10-26 | Merge commit 'e4fe941b11a55c5005630696e9b6d81c65f7bd04' into ↵ | Antoni Boucher | -96/+1530 | |
| subtree-update_cg_gcc_2023-10-25 | ||||
| 2023-10-09 | Merge commit '11a0cceab966e5ff1058ddbcab5977e8a1d6d290' into ↵ | Antoni Boucher | -10/+128 | |
| subtree-update_cg_gcc_2023-10-09 | ||||
| 2023-09-15 | fix gcc, cranelift build | Ralf Jung | -4/+4 | |
| 2023-09-15 | clarify PassMode::Indirect as well | Ralf Jung | -2/+2 | |
| 2023-08-06 | Apply suggestions from code review | scottmcm | -0/+1 | |
| Co-authored-by: Ralf Jung <post@ralfj.de> | ||||
| 2023-08-06 | Add a new `compare_bytes` intrinsic instead of calling `memcmp` directly | Scott McMurray | -0/+14 | |
| 2023-08-03 | Forbid old-style `simd_shuffleN` intrinsics | Oli Scherer | -195/+250 | |
| 2023-07-29 | cg_ssa: remove pointee types and pointercast/bitcast-of-ptr | Erik Desjardins | -1/+1 | |
| 2023-07-20 | UPDATE - replace expected_simd error with one from codegen_ssa | Jhonny Bill Mena | -27/+15 | |
| Here I am assuming we want to treat these parameters (input, first, second, third, return) as translatable | ||||
| 2023-07-19 | UPDATE - replace gcc monomorphization errors with ssa ones | Jhonny Bill Mena | -41/+42 | |
| Reduces error duplication and makes it more consistent across backends | ||||
| 2023-07-14 | refactor(rustc_middle): Substs -> GenericArg | Mahdi Dibaiee | -4/+4 | |
| 2023-07-05 | Move `TyCtxt::mk_x` to `Ty::new_x` where applicable | Boxy | -5/+5 | |
