Commit graph

1809 commits

Author SHA1 Message Date
antoyo
337998abb2
Merge pull request #657 from rust-lang/feature/more-calling-conv-attributes
Support more calling convention attributes
2025-04-30 14:14:07 -04:00
Antoni Boucher
6fad1bac72 Support more calling convention attributes 2025-04-30 13:51:52 -04:00
antoyo
2884979de5
Merge pull request #656 from GuillaumeGomez/cleanup
Clean up docs
2025-04-30 07:33:57 -04:00
Guillaume Gomez
8b15bfbe8c Clean up docs 2025-04-30 13:13:02 +02:00
antoyo
6d8fffec36
Merge pull request #586 from g4titanx/contributing
improve doc for new contributors
2025-04-29 19:07:43 -04:00
Antoni Boucher
43747cecfb Fix links in CONTRIBUTING.md 2025-04-29 18:45:26 -04:00
Antoni Boucher
2e9ec931da Fix links in CONTRIBUTING.md 2025-04-29 18:42:25 -04:00
Antoni Boucher
62814f0995 Improve the doc 2025-04-29 18:36:29 -04:00
Antoni Boucher
d11bfe9c18 Use the correct name of the project 2025-04-29 18:23:23 -04:00
Antoni Boucher
f150171b6c Some improvements 2025-04-29 18:21:04 -04:00
g4titanx
a5b947ba1c modify docs 2025-04-29 17:59:56 -04:00
g4titanx
ce5a198239 add contibuting.md 2025-04-29 17:59:56 -04:00
antoyo
72b6614bee
Merge pull request #654 from rust-lang/sync_from_rust_2025_04_26
Sync from rust 2025/04/26
2025-04-26 16:22:27 -04:00
Antoni Boucher
3893560e69 Update to nightly-2025-04-26 2025-04-26 16:02:17 -04:00
Antoni Boucher
612d7f5e03 Merge branch 'master' into sync_from_rust_2025_04_26 2025-04-26 15:58:19 -04:00
antoyo
f894c1b325
Merge pull request #653 from Urgau/triagebot-issue-links-no-mentions
Enable `[no-mentions]` and `[issue-links]` in `rustbot`
2025-04-25 18:05:31 -04:00
Urgau
84c5fd784e Enable [no-mentions] and [issue-links] in rustbot 2025-04-25 22:35:58 +02:00
Antoni Boucher
61d1c13b3e Merge commit '4f83a4258d' into subtree-update_cg_gcc_2025-04-25 2025-04-25 10:44:19 -04:00
antoyo
4f83a4258d
Merge pull request #652 from rust-lang/sync_from_rust_2025_04_25_2
Sync from rust 2025/04/25
2025-04-25 10:41:04 -04:00
Antoni Boucher
9059f8cd7c Fix test 2025-04-25 10:18:12 -04:00
Antoni Boucher
5e5ad10bc6 Fix clippy warnings 2025-04-25 10:10:50 -04:00
Antoni Boucher
79339104b1 Update to nightly-2025-04-25 2025-04-25 10:05:35 -04:00
Antoni Boucher
5dbe271045 Merge branch 'master' into sync_from_rust_2025_04_25_2 2025-04-25 10:05:03 -04:00
bendn
338e7388ea Suggest {to,from}_ne_bytes for transmutations between arrays and integers, etc 2025-04-24 13:14:36 +07:00
Chris Denton
ccbcbee5e7 Rollup merge of #137953 - RalfJung:simd-intrinsic-masks, r=WaffleLapkin
simd intrinsics with mask: accept unsigned integer masks, and fix some of the errors

It's not clear at all why the mask would have to be signed, it is anyway interpreted bitwise. The backend should just make sure that works no matter the surface-level type; our LLVM backend already does this correctly. The note of "the mask may be widened, which only has the correct behavior for signed integers" explains... nothing? Why can't the code do the widening correctly? If necessary, just cast to the signed type first...

Also while we are at it, fix the errors. For simd_masked_load/store, the errors talked about the "third argument" but they meant the first argument (the mask is the first argument there). They also used the wrong type for `expected_element`.

I have extremely low confidence in the GCC part of this PR.

See [discussion on Zulip](https://rust-lang.zulipchat.com/#narrow/channel/257879-project-portable-simd/topic/On.20the.20sign.20of.20masks)
2025-04-20 13:02:48 +00:00
Ralf Jung
fc4afeafc1 simd intrinsics with mask: accept unsigned integer masks 2025-04-20 12:25:27 +02:00
Guillaume Gomez
e32e494097 Fix import 2025-04-19 00:08:03 +02:00
Guillaume Gomez
acdd3b729f Fix compilation error in GCC backend 2025-04-18 22:46:43 +02:00
Guillaume Gomez
4900dd2e5c Fix rustc_codegen_gcc/tests/run/return-tuple.rs test 2025-04-18 21:21:15 +02:00
Guillaume Gomez
8f9a32aaf8 Merge commit 'db1a31c243' into subtree-update_cg_gcc_2025-04-18 2025-04-18 21:20:11 +02:00
antoyo
db1a31c243
Merge pull request #650 from rust-lang/sync_from_rust_2025_04_17
Sync from rust 2025/04/17
2025-04-18 12:43:27 -04:00
Antoni Boucher
52b06872fe Simplify handling of some SIMD intrinsics 2025-04-18 12:07:10 -04:00
Antoni Boucher
98dd5a30b3 Fix for libgccjit 12 2025-04-18 11:45:30 -04:00
Antoni Boucher
65b87aae21 Support new target builtins 2025-04-18 11:21:32 -04:00
Antoni Boucher
06af88e06c Add new failing test 2025-04-17 08:50:09 -04:00
Antoni Boucher
4b5940ad77 Fix overflow operations 2025-04-17 08:50:06 -04:00
Antoni Boucher
0d773175cc Add support for simd_insert_dyn and simd_extract_dyn 2025-04-17 08:50:02 -04:00
Antoni Boucher
bb1e6a3193 Fix tests 2025-04-17 08:49:55 -04:00
Antoni Boucher
6504f4c09c Format 2025-04-17 08:49:52 -04:00
Antoni Boucher
bc0bc8d5e1 Fix int_to_float_cast for f128 2025-04-17 08:49:49 -04:00
Antoni Boucher
ec44cfdfb4 Fix tests 2025-04-17 08:49:44 -04:00
Antoni Boucher
ecf0a1eea3 Update GCC version 2025-04-17 08:49:41 -04:00
Antoni Boucher
5cf2bbc4e2 Fix clippy warnings 2025-04-17 08:49:37 -04:00
Antoni Boucher
f9822772e8 Fix libcore tests 2025-04-17 08:49:33 -04:00
Antoni Boucher
9a453d46f4 Update other patches 2025-04-17 08:49:30 -04:00
Antoni Boucher
e1fa74b4a9 Implement copysignf128 2025-04-17 08:49:24 -04:00
Antoni Boucher
5c832e5ece Remove most of builtins hack since it's not necessary anymore 2025-04-17 08:49:21 -04:00
Antoni Boucher
be75a58538 Fix compilation 2025-04-17 08:49:15 -04:00
Antoni Boucher
cc81c706e4 Fix patches 2025-04-17 08:49:08 -04:00
Antoni Boucher
c1d21003bb Update to nightly-2025-04-17 2025-04-17 08:34:54 -04:00