Skip to content

Commit bc77e59

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 9cbc1b7 + efb9a41 commit bc77e59

File tree

5 files changed

+0
-7
lines changed

5 files changed

+0
-7
lines changed

compiler/rustc_target/src/target_features.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,6 @@ static X86_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
386386
("amx-movrs", Unstable(sym::x86_amx_intrinsics), &["amx-tile"]),
387387
("amx-tf32", Unstable(sym::x86_amx_intrinsics), &["amx-tile"]),
388388
("amx-tile", Unstable(sym::x86_amx_intrinsics), &[]),
389-
("amx-transpose", Unstable(sym::x86_amx_intrinsics), &["amx-tile"]),
390389
("apxf", Unstable(sym::apx_target_feature), &[]),
391390
("avx", Stable, &["sse4.2"]),
392391
("avx2", Stable, &["avx"]),

library/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";

library/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);

library/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"));

tests/ui/check-cfg/target_feature.stderr

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ LL | cfg!(target_feature = "_UNEXPECTED_VALUE");
2727
`amx-movrs`
2828
`amx-tf32`
2929
`amx-tile`
30-
`amx-transpose`
3130
`apxf`
3231
`atomics`
3332
`avx`

0 commit comments

Comments
 (0)