Merged
Conversation
Collaborator
This comment has been minimized.
This comment has been minimized.
Urgau
reviewed
Apr 11, 2025
| "avx512vl", | ||
| "avx512vnni", | ||
| "avx512vpopcntdq", | ||
| "gfni", // This is a deviation from LLVM, but it is more consistent with the Intel specification |
Member
There was a problem hiding this comment.
Is this known by LLVM folks? Is there an llvm issue?
Contributor
Author
There was a problem hiding this comment.
I have opened llvm/llvm-project#135394, I will file an issue in GCC bugtracker too. Also cc @rust-lang/wg-llvm ig
Contributor
Author
There was a problem hiding this comment.
Ok this is an issue on LLVM side, and a PR has been sent to fix this. So should we add these target features now, or when the LLVM fix lands? Imo it is not a problem if we add it now, it will just stop implying vaes and vpclmulqdq after the fix
Contributor
Author
There was a problem hiding this comment.
The LLVM fix was merged and is scheduled to be backported to LLVM20
Contributor
Author
There was a problem hiding this comment.
Update this will be fixed after #140502 🎉
CryZe
reviewed
Apr 12, 2025
Member
|
r? compiler |
Contributor
Author
|
r? @Amanieu |
Member
|
@bors r+ |
Collaborator
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
May 4, 2025
Rollup of 7 pull requests Successful merges: - rust-lang#139675 (Add the AVX10 target features) - rust-lang#140286 (Check if format argument is identifier to avoid error err-emit) - rust-lang#140456 (Fix test simd/extract-insert-dyn on s390x) - rust-lang#140551 (Move some tests out of tests/ui) - rust-lang#140588 (Adjust some ui tests re. target-dependent errors) - rust-lang#140617 (Report the `unsafe_attr_outside_unsafe` lint at the closest node) - rust-lang#140626 (allow `#[rustfmt::skip]` in combination with `#[naked]`) r? `@ghost` `@rustbot` modify labels: rollup
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this pull request
May 4, 2025
Rollup merge of rust-lang#139675 - sayantn:avx10, r=Amanieu Add the AVX10 target features Parent rust-lang#138843 Adds the `avx10_target_feature` feature gate, and `avx10.1` and `avx10.2` target features. It is confirmed that Intel is dropping AVX10/256 (see [this comment](rust-lang#111137 (comment))), so this should be safe to implement now. The LLVM fix for llvm/llvm-project#135394 was merged, and has been backported to LLVM20, and the patch has also been propagated to rustc in rust-lang#140502 `@rustbot` label O-x86_64 O-x86_32 A-target-feature A-SIMD
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
May 5, 2025
[DO NOT MERGE] Check the perf impact of reverting rust-lang#139675 According to rust-lang#140633 (comment), the changes in rust-lang#139675 caused many measurable perf regressions. We can double-check that result by benchmarking a revert. --- This reverts commit ed7590f, reversing changes made to 3559e0a. r? ghost
jhpratt
added a commit
to jhpratt/rust
that referenced
this pull request
Aug 20, 2025
Add runtime detection for APX-F and AVX10 This was missed in rust-lang#139534 and rust-lang#139675 `@rustbot` label O-x86_64 O-x86_32 A-target-feature r? `@Amanieu`
rust-timer
added a commit
that referenced
this pull request
Aug 20, 2025
github-actions bot
pushed a commit
to rust-lang/miri
that referenced
this pull request
Aug 21, 2025
Add runtime detection for APX-F and AVX10 This was missed in rust-lang/rust#139534 and rust-lang/rust#139675 `@rustbot` label O-x86_64 O-x86_32 A-target-feature r? `@Amanieu`
github-actions bot
pushed a commit
to model-checking/verify-rust-std
that referenced
this pull request
Aug 26, 2025
Add runtime detection for APX-F and AVX10 This was missed in rust-lang#139534 and rust-lang#139675 `@rustbot` label O-x86_64 O-x86_32 A-target-feature r? `@Amanieu`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Parent #138843
Adds the
avx10_target_featurefeature gate, andavx10.1andavx10.2target features.It is confirmed that Intel is dropping AVX10/256 (see this comment), so this should be safe to implement now.
The LLVM fix for llvm/llvm-project#135394 was merged, and has been backported to LLVM20, and the patch has also been propagated to rustc in #140502
@rustbot label O-x86_64 O-x86_32 A-target-feature A-SIMD