We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2e262f commit d9b91b4Copy full SHA for d9b91b4
crates/std_detect/src/detect/arch/x86.rs
@@ -114,6 +114,10 @@ features! {
114
/// AVX (Advanced Vector Extensions)
115
@FEATURE: #[stable(feature = "simd_x86", since = "1.27.0")] avx2: "avx2";
116
/// AVX2 (Advanced Vector Extensions 2)
117
+ // Detection for the AVX-512 features below was accidentally stabilized in
118
+ // Rust 1.27.0, even though the corresponding intrinsics are still unstable
119
+ // or unimplemeted. There are stable callers who rely on detection support,
120
+ // e.g. to call AVX-512 C code via FFI.
121
@FEATURE: #[stable(feature = "simd_x86", since = "1.27.0")] avx512f: "avx512f" ;
122
/// AVX-512 F (Foundation)
123
@FEATURE: #[stable(feature = "simd_x86", since = "1.27.0")] avx512cd: "avx512cd" ;
0 commit comments