-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Stabilize the avx512 target features #138940
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
r? @davidtwco rustbot has assigned @davidtwco. Use |
|
This comment has been minimized.
This comment has been minimized.
This comment was marked as resolved.
This comment was marked as resolved.
1be9f75
to
94d0e36
Compare
The Miri subtree was changed cc @rust-lang/miri |
This comment has been minimized.
This comment has been minimized.
Nominating for T-lang FCP. This stabilizes the AVX512 target features which is a per-requisite for stabilizing the AVX-512 intrinsics tracked in #111137. |
Can you also send a PR to update https://github.com/rust-lang/reference/blob/master/src/attributes/codegen.md#x86-or-x86_64? |
94d0e36
to
a3c822a
Compare
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These features are for the various AVX512 sub-features. We have already stabilized some of these names in is_x86_feature_detected!
so the language level name should match.
a3c822a
to
6a6ee1f
Compare
|
This comment has been minimized.
This comment has been minimized.
6a6ee1f
to
3f9d399
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
bd21299
to
308b82c
Compare
Requesting a lang reviewer since this needs their FCP. r? lang |
Looks good. @rfcbot merge |
Team member @joshtriplett has proposed to merge this. The next step is review by the rest of the tagged team members: No concerns currently listed. Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! cc @rust-lang/lang-advisors: FCP proposed for lang, please feel free to register concerns. |
@rfcbot reviewed |
1 similar comment
@rfcbot reviewed |
🔔 This is now entering its final comment period, as per the review above. 🔔 |
@rfcbot reviewed |
☔ The latest upstream changes (presumably #139914) made this pull request unmergeable. Please resolve the merge conflicts. |
308b82c
to
1ed540e
Compare
1ed540e
to
2a29023
Compare
This PR stabilizes the AVX512 target features - see this comment.
Tracking Issue - #44839
DO NOT MERGE now, because the runtime detection for 5 features are guarded on
avx512_target_feature
, so rust-lang/stdarch#1757 has a temporary fix which changes the feature name of these. We need to FCP these together with all the AVX512 target features, after that and merge of rust-lang/stdarch#1760, we can again do a stdarch update and merge this.The target feature UI tests have been changed to
x87
(chosen because this is very unlikely to stablize ever, please comment if some other feature will be better)related: #111137