-
Notifications
You must be signed in to change notification settings - Fork 288
Stabilize runtime detection of VEX variants of avx512 #1760
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
Conversation
3e219eb
to
f0e1f9a
Compare
f0e1f9a
to
9b7775a
Compare
9b7775a
to
9adc113
Compare
@FEATURE: #[unstable(feature = "x86_amx_intrinsics", issue = "44839")] avxifma: "avxifma"; | ||
@FEATURE: #[stable(feature = "avx512_target_feature", since = "1.88.0")] avxifma: "avxifma"; | ||
/// AVX-IFMA (Integer Fused Multiply Add) | ||
@FEATURE: #[unstable(feature = "x86_amx_intrinsics", issue = "44839")] avxneconvert: "avxneconvert"; | ||
@FEATURE: #[stable(feature = "avx512_target_feature", since = "1.88.0")] avxneconvert: "avxneconvert"; | ||
/// AVX-NE-CONVERT (Exceptionless Convert) | ||
@FEATURE: #[unstable(feature = "x86_amx_intrinsics", issue = "44839")] avxvnni: "avxvnni"; | ||
@FEATURE: #[stable(feature = "avx512_target_feature", since = "1.88.0")] avxvnni: "avxvnni"; | ||
/// AVX-VNNI (Vector Neural Network Instructions) | ||
@FEATURE: #[unstable(feature = "x86_amx_intrinsics", issue = "44839")] avxvnniint16: "avxvnniint16"; | ||
@FEATURE: #[stable(feature = "avx512_target_feature", since = "1.88.0")] avxvnniint16: "avxvnniint16"; | ||
/// AVX-VNNI_INT8 (VNNI with 16-bit Integers) | ||
@FEATURE: #[unstable(feature = "x86_amx_intrinsics", issue = "44839")] avxvnniint8: "avxvnniint8"; | ||
@FEATURE: #[stable(feature = "avx512_target_feature", since = "1.88.0")] avxvnniint8: "avxvnniint8"; |
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.
It's going to make Rust 1.89 rather than Rust 1.88 at this point.
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.
Ah, I will correct it tonight. CURRENT_RUSTC_VERSION
not working inside submodules is mildly infuriating sometimes 😅
@Amanieu wait, the versions need to be updated as @traviscross pointed out |
Ok lol nvm, I will send another PR to update that |
This PR stabilizes the runtime detection of the following target features
avxvnni
avxifma
avxvnniint8
avxvnniint16
avxneconvert