Skip to content

Commit

Permalink
rustc_target: Add sme-b16b16 as an explicit aarch64 target feature
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mrkajetanp committed Oct 10, 2024
1 parent 74264e3 commit 5ef6f83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions std/tests/run-time-detect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ fn aarch64_linux() {
println!("sha2: {}", is_aarch64_feature_detected!("sha2"));
println!("sha3: {}", is_aarch64_feature_detected!("sha3"));
println!("sm4: {}", is_aarch64_feature_detected!("sm4"));
println!("sme-b16b16: {}", is_aarch64_feature_detected!("sme-b16b16"));
println!("sme-f16f16: {}", is_aarch64_feature_detected!("sme-f16f16"));
println!("sme-f64f64: {}", is_aarch64_feature_detected!("sme-f64f64"));
println!("sme-f8f16: {}", is_aarch64_feature_detected!("sme-f8f16"));
Expand Down

0 comments on commit 5ef6f83

Please sign in to comment.