Skip to content

Commit 7fdd545

Browse files
authored
Rollup merge of rust-lang#130741 - mrkajetanp:detect-b16b16, r=Amanieu
rustc_target: Add sme-b16b16 as an explicit aarch64 target feature LLVM 20 split out what used to be called b16b16 and correspond to aarch64 FEAT_SVE_B16B16 into sve-b16b16 and sme-b16b16. Add sme-b16b16 as an explicit feature and update the codegen accordingly. Resolves rust-lang#129894.
2 parents 77f7b2f + 5ef6f83 commit 7fdd545

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

std/tests/run-time-detect.rs

+1
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ fn aarch64_linux() {
8282
println!("sha2: {}", is_aarch64_feature_detected!("sha2"));
8383
println!("sha3: {}", is_aarch64_feature_detected!("sha3"));
8484
println!("sm4: {}", is_aarch64_feature_detected!("sm4"));
85+
println!("sme-b16b16: {}", is_aarch64_feature_detected!("sme-b16b16"));
8586
println!("sme-f16f16: {}", is_aarch64_feature_detected!("sme-f16f16"));
8687
println!("sme-f64f64: {}", is_aarch64_feature_detected!("sme-f64f64"));
8788
println!("sme-f8f16: {}", is_aarch64_feature_detected!("sme-f8f16"));

stdarch

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Subproject commit ace72223a0e321c1b0a37b5862aa756fe8ab5111
1+
Subproject commit c881fe3231b3947a4766aa15a26a93022fbb8723

0 commit comments

Comments
 (0)