Commit graph

1875 commits

Author SHA1 Message Date
michal kostrubiec
b2b117ee28 Fixed some clippy warnings. 2025-06-20 19:34:48 +02:00
michal kostrubiec
ed441b64ed Added support for testing the backend with abi-cafe 2025-06-14 20:58:07 +02:00
antoyo
ac500d40b9
Merge pull request #692 from FractalFir/arm_asm
Added some bare-bones support for explict registers in ARM inline assembly
2025-06-02 15:05:21 -04:00
antoyo
8efeb495bc
Merge pull request #682 from rust-lang/sync_from_rust_2025_05_21
Sync from rust 2025/05/21
2025-06-02 14:03:44 -04:00
Antoni Boucher
ba53d97497 Fix cast from u128 to f128 2025-06-02 12:44:42 -04:00
michal kostrubiec
267f94e018 Added some bare-bones support for explict registers in ARM inline assembly 2025-06-02 11:22:20 +02:00
Antoni Boucher
ac69f1eecb Pin compiler_builtins to 0.1.160 to fix some f128 tests 2025-05-30 13:49:26 -04:00
antoyo
706905ba01
Merge pull request #669 from FractalFir/y_cargo_tests
modifed y.sh to allow for running cargo tests.
2025-05-28 18:42:51 -04:00
antoyo
967fc294ca
Merge pull request #688 from FractalFir/fuzz_support
Add support for easily fuzzing `cg_gcc` with rustlantis
2025-05-28 18:41:07 -04:00
michal kostrubiec
ea03697899 Removed some env vars from the CI 2025-05-29 00:20:23 +02:00
michal kostrubiec
22ca124575 Added support for easy fuzzing with rustlantis 2025-05-29 00:18:13 +02:00
michal kostrubiec
d098c8a2be modifed y.sh to allow for running cargo tests. 2025-05-28 23:45:53 +02:00
antoyo
d80802b042
Merge pull request #684 from FractalFir/master
Fix to 128 bit int unaligned loads
2025-05-27 18:16:07 -04:00
michal kostrubiec
1afdb55019 Fix to 128 bit int unaligned loads 2025-05-27 23:54:41 +02:00
Antoni Boucher
f1d5cfea44 Skip the core test f16::test_total_cmp because it fails in debug mode even with cg_llvm 2025-05-24 12:05:24 -04:00
Antoni Boucher
dd6d5e2b10 Fix f128 intrinsics 2025-05-24 10:42:06 -04:00
Antoni Boucher
dca28e588c Only specify that we have reliable f16 and f128 on targets where those types are supported 2025-05-21 21:04:07 -04:00
Antoni Boucher
593d7ca571 Implement missing f16/f128 builtins 2025-05-21 21:03:48 -04:00
Antoni Boucher
ce3dae9c52 Update to nightly-2025-05-21 2025-05-21 19:46:24 -04:00
Antoni Boucher
721ac5af0f Merge branch 'master' into sync_from_rust_2025_05_21 2025-05-21 19:43:21 -04:00
antoyo
9aec231fba
Merge pull request #681 from rust-lang/test/typos
Add spell checking job in the CI
2025-05-21 18:25:40 -04:00
Antoni Boucher
c430b87539 Fix typos 2025-05-21 18:06:19 -04:00
Antoni Boucher
90a007c734 Add spell checking job in the CI 2025-05-21 18:06:19 -04:00
antoyo
3d962df0ae
Merge pull request #680 from FractalFir/master
Changes to constant handling - faster deduplication, more compact represtntation
2025-05-21 18:05:58 -04:00
michal kostrubiec
82160c49a3 Changes to constant handling - faster deduplication, more compact representation 2025-05-21 23:07:45 +02:00
Stuart Cook
e58e6974ad Rollup merge of #140874 - mejrs:rads, r=WaffleLapkin
make `rustc_attr_parsing` less dominant in the rustc crate graph

It has/had a glob re-export of `rustc_attr_data_structures`, which is a crate much lower in the graph, and a lot of crates were using it *just* (or *mostly*) for that re-export, while they can rely on `rustc_attr_data_structures` directly.

Previous graph:
![graph_1](https://github.com/user-attachments/assets/f4a5f13c-4222-4903-b56d-28c83511fcbd)

Graph with this PR:
![graph_2](https://github.com/user-attachments/assets/1e053d9c-75cc-402b-84df-86229c98277a)

The first commit keeps the re-export, and just changes the dependency if possible. The second commit is the "breaking change" which removes the re-export, and "explicitly" adds the `rustc_attr_data_structures` dependency where needed. It also switches over some src/tools/*.

The second commit is actually a lot more involved than I expected. Please let me know if it's a better idea to back it out and just keep the first commit.
2025-05-19 13:24:54 +10:00
mejrs
f36e8f53db Remove rustc_attr_data_structures re-export from rustc_attr_parsing 2025-05-18 18:14:43 +02:00
antoyo
7cc33bea9b
Merge pull request #676 from GuillaumeGomez/rdl_room
Add missing `add_eval` to generate `__rdl_oom` in the alloc error handler
2025-05-16 10:18:24 -04:00
Guillaume Gomez
f0648966e4 Add missing add_eval to generate __rdl_oom in the alloc error handler 2025-05-16 13:02:20 +02:00
Guillaume Gomez
3cec08a47e Update gcc version used in rustc_codegen_version 2025-05-14 18:00:19 +02:00
Guillaume Gomez
d52b5e6df5 Merge commit '6ba33f5e11' into subtree-update_cg_gcc_2025-05-14 2025-05-14 13:51:02 +02:00
antoyo
6ba33f5e11
Merge pull request #673 from rust-lang/sync_from_rust_2025_05_12
Sync from rust 2025/05/12
2025-05-14 06:00:41 -04:00
Antoni Boucher
f38d6d0a8f Fix for xsave test on Intel SDE 2025-05-14 05:18:17 -04:00
Antoni Boucher
44af0a8b6c Stop ignoring test_mm512_stream_ps stdarch test 2025-05-14 05:17:25 -04:00
Antoni Boucher
878a1732bc Fix for the fminimum intrinsics 2025-05-14 05:00:18 -04:00
Antoni Boucher
57011501d5 Fix for libgccjit 12 2025-05-12 11:22:13 -04:00
Antoni Boucher
bef68d04d9 Update to nightly-2025-05-12 2025-05-12 11:05:47 -04:00
Antoni Boucher
c12d12b1bb Fix for renamed/removed UI tests 2025-05-12 11:05:09 -04:00
Antoni Boucher
47beac18f4 Merge branch 'master' into sync_from_rust_2025_05_12 2025-05-12 11:04:56 -04:00
antoyo
2d794d4758
Merge pull request #671 from GuillaumeGomez/regen-intrinsics-2
Regenerate intrinsics
2025-05-11 13:59:26 -04:00
antoyo
d8e2d24738
Merge pull request #666 from FractalFir/master
Fixed a recursive inling bug, added a test for it
2025-05-11 09:50:58 -04:00
León Orell Valerian Liehr
c7740d2f17 Rollup merge of #140792 - Urgau:minimum-maximum-intrinsics, r=scottmcm,traviscross,tgross35
Use intrinsics for `{f16,f32,f64,f128}::{minimum,maximum}` operations

This PR creates intrinsics for `{f16,f32,f64,f64}::{minimum,maximum}` operations.

This wasn't done when those operations were added as the LLVM support was too weak but now that LLVM has libcalls for unsupported platforms we can finally use them.

Cranelift and GCC[^1] support are partial, Cranelift doesn't support `f16` and `f128`, while GCC doesn't support `f16`.

r? `@tgross35`

try-job: aarch64-gnu
try-job: dist-various-1
try-job: dist-various-2

[^1]: https://www.gnu.org/software///gnulib/manual/html_node/Functions-in-_003cmath_002eh_003e.html
2025-05-11 02:44:36 +02:00
michal kostrubiec
f111416e43 Fixed a recursive inling bug, added a test for it 2025-05-10 22:24:16 +02:00
Guillaume Gomez
43b95881f0 Regenerate intrinsics 2025-05-10 18:02:54 +02:00
Guillaume Gomez
25dd45f7bd Correctly handle branches when updating repository 2025-05-10 18:02:47 +02:00
Matthias Krüger
db5831c76c Rollup merge of #140660 - RalfJung:more-order, r=WaffleLapkin
remove 'unordered' atomic intrinsics

As their doc comment already indicates, these operations do not currently have a place in our memory model. The intrinsics were introduced to support a hack in compiler-builtins, but that hack recently got removed (see https://github.com/rust-lang/compiler-builtins/issues/788).
2025-05-10 16:26:02 +02:00
antoyo
3cffea7969
Merge pull request #668 from FractalFir/int128_fix
Add a workaround for 128 bit switches
2025-05-09 21:38:16 -04:00
michal kostrubiec
33966ccbb6 Add a workaround for 128 bit switches 2025-05-10 00:34:54 +02:00
Ralf Jung
7e5fa896a2 remove 'unordered' atomic intrinsics 2025-05-09 17:39:52 +02:00
Urgau
1ac228397d Use intrinsics for {f16,f32,f64,f128}::{minimum,maximum} operations 2025-05-09 17:11:23 +02:00