Skip to content

Commit 3e219eb

Browse files
committed
Stabilize runtime detection of VEX variants of avx512
1 parent 5ba56c7 commit 3e219eb

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

crates/core_arch/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
sse4a_target_feature,
2323
riscv_target_feature,
2424
arm_target_feature,
25-
avx512_target_feature,
2625
mips_target_feature,
2726
powerpc_target_feature,
2827
s390x_target_feature,

crates/std_detect/src/detect/arch/x86.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -197,15 +197,15 @@ features! {
197197
/// AVX-512 P2INTERSECT
198198
@FEATURE: #[stable(feature = "simd_x86", since = "1.27.0")] avx512fp16: "avx512fp16";
199199
/// AVX-512 FP16 (FLOAT16 instructions)
200-
@FEATURE: #[unstable(feature = "x86_amx_intrinsics", issue = "44839")] avxifma: "avxifma";
200+
@FEATURE: #[stable(feature = "avx512_target_feature", since = "1.88.0")] avxifma: "avxifma";
201201
/// AVX-IFMA (Integer Fused Multiply Add)
202-
@FEATURE: #[unstable(feature = "x86_amx_intrinsics", issue = "44839")] avxneconvert: "avxneconvert";
202+
@FEATURE: #[stable(feature = "avx512_target_feature", since = "1.88.0")] avxneconvert: "avxneconvert";
203203
/// AVX-NE-CONVERT (Exceptionless Convert)
204-
@FEATURE: #[unstable(feature = "x86_amx_intrinsics", issue = "44839")] avxvnni: "avxvnni";
204+
@FEATURE: #[stable(feature = "avx512_target_feature", since = "1.88.0")] avxvnni: "avxvnni";
205205
/// AVX-VNNI (Vector Neural Network Instructions)
206-
@FEATURE: #[unstable(feature = "x86_amx_intrinsics", issue = "44839")] avxvnniint16: "avxvnniint16";
206+
@FEATURE: #[stable(feature = "avx512_target_feature", since = "1.88.0")] avxvnniint16: "avxvnniint16";
207207
/// AVX-VNNI_INT8 (VNNI with 16-bit Integers)
208-
@FEATURE: #[unstable(feature = "x86_amx_intrinsics", issue = "44839")] avxvnniint8: "avxvnniint8";
208+
@FEATURE: #[stable(feature = "avx512_target_feature", since = "1.88.0")] avxvnniint8: "avxvnniint8";
209209
/// AVX-VNNI_INT16 (VNNI with 8-bit integers)
210210
@FEATURE: #[unstable(feature = "x86_amx_intrinsics", issue = "126622")] amx_tile: "amx-tile";
211211
/// AMX (Advanced Matrix Extensions) - Tile load/store

crates/std_detect/tests/x86-specific.rs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#![allow(internal_features)]
33
#![feature(
44
stdarch_internal,
5-
avx512_target_feature,
65
sha512_sm_x86,
76
x86_amx_intrinsics,
87
xop_target_feature,

examples/connect5.rs

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
//! each move.
3030
3131
#![allow(internal_features)]
32-
#![feature(avx512_target_feature)]
3332
#![cfg_attr(target_arch = "x86", feature(stdarch_x86_avx512, stdarch_internal))]
3433
#![cfg_attr(target_arch = "x86_64", feature(stdarch_x86_avx512, stdarch_internal))]
3534
#![feature(stmt_expr_attributes)]

0 commit comments

Comments
 (0)