-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Fix some misleading target feature aliases #103750
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -179,6 +179,7 @@ const X86_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[ | |
("f16c", Some(sym::f16c_target_feature)), | ||
("fma", None), | ||
("fxsr", None), | ||
("gfni", Some(sym::avx512_target_feature)), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's honestly kind of weird that this isn't prefixed There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it's because the |
||
("lzcnt", None), | ||
("movbe", Some(sym::movbe_target_feature)), | ||
("pclmulqdq", None), | ||
|
@@ -195,6 +196,8 @@ const X86_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[ | |
("sse4a", Some(sym::sse4a_target_feature)), | ||
("ssse3", None), | ||
("tbm", Some(sym::tbm_target_feature)), | ||
("vaes", Some(sym::avx512_target_feature)), | ||
("vpclmulqdq", Some(sym::avx512_target_feature)), | ||
("xsave", None), | ||
("xsavec", None), | ||
("xsaveopt", None), | ||
|
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.
I feel almost like these should be sorted by theme rather than alphabetical, but that can happen some other day.