Skip to content

Commit 96b9a30

Browse files
authored
Rollup merge of rust-lang#148338 - durin42:llvm-22-amx-transpose, r=workingjubilee
cleanup: upstream dropped amx-transpose functionality See also LLVM change 5322fb626820. Looks like this was just removed entirely. It seems a little bad to just drop it, but I don't see an easy way to conditionalize this and if it's really just Gone and we marked it as unstable (which it looks like we did?) I guess we should just dump it. ````@rustbot```` label llvm-main
2 parents 48f59eb + 5163600 commit 96b9a30

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

std_detect/src/detect/arch/x86.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ features! {
9393
/// * `"amx-fp8"`
9494
/// * `"amx-movrs"`
9595
/// * `"amx-tf32"`
96-
/// * `"amx-transpose"`
9796
/// * `"f16c"`
9897
/// * `"fma"`
9998
/// * `"bmi1"`
@@ -231,8 +230,6 @@ features! {
231230
/// AMX-MOVRS (Matrix MOVERS operations)
232231
@FEATURE: #[unstable(feature = "x86_amx_intrinsics", issue = "126622")] amx_tf32: "amx-tf32";
233232
/// AMX-TF32 (TensorFloat32 Operations)
234-
@FEATURE: #[unstable(feature = "x86_amx_intrinsics", issue = "126622")] amx_transpose: "amx-transpose";
235-
/// AMX-TRANSPOSE (Matrix Transpose Operations)
236233
@FEATURE: #[unstable(feature = "apx_target_feature", issue = "139284")] apxf: "apxf";
237234
/// APX-F (Advanced Performance Extensions - Foundation)
238235
@FEATURE: #[unstable(feature = "avx10_target_feature", issue = "138843")] avx10_1: "avx10.1";

std_detect/src/detect/os/x86.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,6 @@ pub(crate) fn detect_features() -> cache::Initializer {
285285
unsafe { __cpuid_count(0x1e_u32, 1) };
286286

287287
enable(amx_feature_flags_eax, 4, Feature::amx_fp8);
288-
enable(amx_feature_flags_eax, 5, Feature::amx_transpose);
289288
enable(amx_feature_flags_eax, 6, Feature::amx_tf32);
290289
enable(amx_feature_flags_eax, 7, Feature::amx_avx512);
291290
enable(amx_feature_flags_eax, 8, Feature::amx_movrs);

std_detect/tests/x86-specific.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ fn dump() {
7676
println!("widekl: {:?}", is_x86_feature_detected!("widekl"));
7777
println!("movrs: {:?}", is_x86_feature_detected!("movrs"));
7878
println!("amx-fp8: {:?}", is_x86_feature_detected!("amx-fp8"));
79-
println!("amx-transpose: {:?}", is_x86_feature_detected!("amx-transpose"));
8079
println!("amx-tf32: {:?}", is_x86_feature_detected!("amx-tf32"));
8180
println!("amx-avx512: {:?}", is_x86_feature_detected!("amx-avx512"));
8281
println!("amx-movrs: {:?}", is_x86_feature_detected!("amx-movrs"));

0 commit comments

Comments
 (0)