Skip to content

Commit 5ef6f83

Browse files
committed
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.
1 parent 74264e3 commit 5ef6f83

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
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"));

0 commit comments

Comments
 (0)