about summary refs log tree commit diff
path: root/library/std_detect/src/detect/arch
diff options
context:
space:
mode:
authorsayantn <sayantn05@gmail.com>2025-08-17 19:34:18 +0530
committersayantn <sayantn05@gmail.com>2025-08-17 19:34:18 +0530
commit40fc7df96339d274971eb2ecaaf80d8ca8f77daf (patch)
tree6ac2161a80e2d01b6597ac6cb499cf229abb1103 /library/std_detect/src/detect/arch
parent99ba5565678a51c2488322a5e75d5b59e323b498 (diff)
downloadrust-40fc7df96339d274971eb2ecaaf80d8ca8f77daf.tar.gz
rust-40fc7df96339d274971eb2ecaaf80d8ca8f77daf.zip
Add runtime detection for APX-F and AVX10
Diffstat (limited to 'library/std_detect/src/detect/arch')
-rw-r--r--library/std_detect/src/detect/arch/x86.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/library/std_detect/src/detect/arch/x86.rs b/library/std_detect/src/detect/arch/x86.rs
index 28b3e3cfb35..bd749b88f56 100644
--- a/library/std_detect/src/detect/arch/x86.rs
+++ b/library/std_detect/src/detect/arch/x86.rs
@@ -233,6 +233,12 @@ features! {
     /// AMX-TF32 (TensorFloat32 Operations)
     @FEATURE: #[unstable(feature = "x86_amx_intrinsics", issue = "126622")] amx_transpose: "amx-transpose";
     /// AMX-TRANSPOSE (Matrix Transpose Operations)
+    @FEATURE: #[unstable(feature = "apx_target_feature", issue = "139284")] apxf: "apxf";
+    /// APX-F (Advanced Performance Extensions - Foundation)
+    @FEATURE: #[unstable(feature = "avx10_target_feature", issue = "138843")] avx10_1: "avx10.1";
+    /// AVX10.1
+    @FEATURE: #[unstable(feature = "avx10_target_feature", issue = "138843")] avx10_2: "avx10.2";
+    /// AVX10.2
     @FEATURE: #[stable(feature = "simd_x86", since = "1.27.0")] f16c: "f16c";
     /// F16C (Conversions between IEEE-754 `binary16` and `binary32` formats)
     @FEATURE: #[stable(feature = "simd_x86", since = "1.27.0")] fma: "fma";