Commit Graph

474 Commits

Author SHA1 Message Date
Urgau
a900ba9163 Stabilize bench_black_box 2023-02-28 19:07:23 -05:00
Oli Scherer
a50c15275f Remove dead broken code from const zst handling in backends 2023-02-28 18:57:14 -05:00
Josh Stone
91cf28428e Move the cast_float_to_int fallback code to GCC
Now that we require at least LLVM 13, that codegen backend is always
using its intrinsic `fptosi.sat` and `fptoui.sat` conversions, so it
doesn't need the manual implementation. However, the GCC backend still
needs it, so we can move all of that code down there.
2023-02-28 18:57:14 -05:00
Ralf Jung
80b1c8dab5 interpret: rename relocation → provenance 2023-02-28 18:57:14 -05:00
Maybe Waffle
5eedd541a9 Fix ptr_mask impl in cg gcc 2023-02-28 18:57:14 -05:00
Maybe Waffle
a7f6e7ebaf Implement ptr_mask intrinsic in cg gcc 2023-02-28 18:57:14 -05:00
Nicholas Nethercote
b3f2942156 Move ArgAbi::pad_i32 into PassMode::Cast.
Because it's only needed for that variant. This shrinks the types and
clarifies the logic.
2023-02-28 18:57:14 -05:00
Nicholas Nethercote
8ebade29d6 Turn ArgAbi::pad into a bool.
Because it's only ever set to `None` or `Some(Reg::i32())`.
2023-02-28 18:57:14 -05:00
Nicholas Nethercote
3c2d43265c Simplify arg capacity calculations.
Currently they try to be very precise. But they are wrong, i.e. they
don't match what's happening in the loop below. This code isn't hot
enough for it to matter that much.
2023-02-28 18:57:14 -05:00
Nicholas Nethercote
a283dedd44 Change FnAbi::args to a boxed slice. 2023-02-28 18:57:14 -05:00
Nicholas Nethercote
d01d0d1f76 Box CastTarget within PassMode.
Because `PassMode::Cast` is by far the largest variant, but is
relatively rare.

This requires making `PassMode` not impl `Copy`, and `Clone` is no
longer necessary. This causes lots of sigil adjusting, but nothing very
notable.
2023-02-28 18:57:14 -05:00
Antoni Boucher
32a2e378f4 Fix instructions for installing git-subtree 2023-02-28 18:25:09 -05:00
Antoni Boucher
1fcf437306 Add instructions for a working git-subtree 2023-02-28 17:39:01 -05:00
antoyo
7a22c47c6a
Merge pull request #254 from rust-lang/feature/simd_scatter_gather
Feature/simd scatter gather
2023-02-25 22:22:21 -05:00
Antoni Boucher
16b377efbd Remove comment 2023-02-25 21:48:44 -05:00
Antoni Boucher
edee0973b2 Update failures for libgccjit12 2023-02-25 21:03:58 -05:00
Antoni Boucher
3e61492dc5 Add feature gate 2023-02-25 20:37:20 -05:00
Antoni Boucher
830a821b9b Update failures 2023-02-25 20:36:24 -05:00
Antoni Boucher
df72765646 Implement simd_scatter 2023-02-25 19:37:51 -05:00
Antoni Boucher
0898eab220 Implement simd_gather 2023-02-25 17:41:08 -05:00
antoyo
8d0ff6bf07
Merge pull request #249 from rust-lang/fix/signed-integer-overflow
Fix/signed integer overflow
2023-01-26 18:26:52 -05:00
Antoni Boucher
2dc7dbc012 Run rustc's testsuite in release mode 2023-01-26 17:39:34 -05:00
Antoni Boucher
41f5e701e6 Fix signed integer overflow 2023-01-26 17:14:09 -05:00
antoyo
e6024f3bf3
Merge pull request #246 from rust-lang/cleanup
Cleanup
2023-01-26 17:13:50 -05:00
Antoni Boucher
fa6ae3c8bb Cleanup 2023-01-26 13:53:36 -05:00
Antoni Boucher
f5ced68a66 Adjust failing tests 2023-01-22 20:16:46 -05:00
antoyo
f6ad065fc8
Merge pull request #243 from bjorn3/no_codegen_hir
Avoid a hir access inside get_static
2023-01-13 21:36:51 -05:00
bjorn3
7fa06f6b88 Avoid a hir access inside get_static 2023-01-12 20:26:24 +00:00
antoyo
6c5a70de20
Merge pull request #244 from rust-lang/feature/unwinding
Implement unwinding
2023-01-11 00:24:47 -05:00
Antoni Boucher
8e77fbf0cc Fix LLVM builtin mapping 2023-01-10 18:38:50 -05:00
Antoni Boucher
246ba9b393 Add missing libgccjit 12 failing tests 2023-01-09 22:19:10 -05:00
Antoni Boucher
ea75295180 Fix tests 2023-01-09 19:41:13 -05:00
Antoni Boucher
5f8cdd2d36 Fix tests 2023-01-09 18:27:16 -05:00
Antoni Boucher
e87b01447f Add missing failing tests 2023-01-09 18:08:50 -05:00
Antoni Boucher
4b628e5334 Fix tests 2023-01-09 17:42:35 -05:00
Antoni Boucher
f1f136bb66 Fix tests 2023-01-09 17:27:28 -05:00
Antoni Boucher
2bf7fb402b Use gccjit from repo 2023-01-09 17:12:08 -05:00
Antoni Boucher
af8db759be Support libgccjit12 2023-01-09 17:04:59 -05:00
Antoni Boucher
70659f7591 Cleanup 2023-01-08 11:42:00 -05:00
Antoni Boucher
a4b74e3adf Fix unwinding 2023-01-06 10:42:38 -05:00
Antoni Boucher
7c1d21c3b9 Don't automatically run asm_tests in test.sh 2023-01-03 15:08:07 -05:00
Antoni Boucher
71d7e561bd Comment 2023-01-03 08:56:00 -05:00
Antoni Boucher
b0cf0e8c06 WIP 2023-01-02 14:57:38 -05:00
Antoni Boucher
889a33a500 WIP: Implement unwinding 2023-01-02 14:57:38 -05:00
antoyo
0a54f243f6
Merge pull request #225 from rust-lang/feature/stdarch-tests
Run stdarch tests in the CI
2022-11-25 15:12:29 -05:00
Antoni Boucher
054696e4a3 Disable stdarch examples which require unwinding 2022-11-25 11:38:49 -05:00
Antoni Boucher
3791646c02 Run stdarch tests in the CI 2022-11-25 11:38:49 -05:00
antoyo
8520bc7f9f
Merge pull request #174 from rust-lang/ci/ubuntu-libgccjit-12
Download libgccjit-12-dev package in the CI
2022-11-24 21:29:42 -05:00
antoyo
57b50df17e
Merge pull request #241 from rust-lang/fix/avx-intrinsics
Fix the argument order for some AVX-512 intrinsics
2022-11-24 21:27:42 -05:00
Antoni Boucher
69341c44cc Fix the argument order for some AVX-512 intrinsics 2022-11-24 18:32:17 -05:00