about summary refs log tree commit diff
path: root/library/std/tests
diff options
context:
space:
mode:
authorKajetan Puchalski <kajetan.puchalski@arm.com>2024-09-03 13:51:54 +0100
committerKajetan Puchalski <kajetan.puchalski@arm.com>2024-10-10 10:24:57 +0000
commit335f67b6527cbeb576151dab1dadec161eaede45 (patch)
treee2b883844de949ec7ad11ec91808a7a16d85861f /library/std/tests
parent2900c58a02c48da60a2d2d45613acf25164efa2b (diff)
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.
Diffstat (limited to 'library/std/tests')
-rw-r--r--library/std/tests/run-time-detect.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/tests/run-time-detect.rs b/library/std/tests/run-time-detect.rs
index dcd5cd7f6b9..dd14c0266aa 100644
--- a/library/std/tests/run-time-detect.rs
+++ b/library/std/tests/run-time-detect.rs
@@ -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"));