diff options
| author | Kajetan Puchalski <kajetan.puchalski@arm.com> | 2024-09-03 11:58:10 +0100 |
|---|---|---|
| committer | Amanieu d'Antras <amanieu@gmail.com> | 2024-09-18 12:48:54 -0400 |
| commit | 485ded63696970f2d7c2ab6416d175e66b5905d1 (patch) | |
| tree | 9466d3189bc6c31c0f3eb572ca0278573383e627 /library/stdarch/crates/std_detect/tests/cpu-detection.rs | |
| parent | 24b5e3c99e7d97be8e077712f1bb52f7fbc3bd45 (diff) | |
| download | rust-485ded63696970f2d7c2ab6416d175e66b5905d1.tar.gz rust-485ded63696970f2d7c2ab6416d175e66b5905d1.zip | |
std_detect: 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 detection accordingly.
Diffstat (limited to 'library/stdarch/crates/std_detect/tests/cpu-detection.rs')
| -rw-r--r-- | library/stdarch/crates/std_detect/tests/cpu-detection.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/stdarch/crates/std_detect/tests/cpu-detection.rs b/library/stdarch/crates/std_detect/tests/cpu-detection.rs index 5f4144c1973..dd38493e7ca 100644 --- a/library/stdarch/crates/std_detect/tests/cpu-detection.rs +++ b/library/stdarch/crates/std_detect/tests/cpu-detection.rs @@ -122,6 +122,7 @@ fn aarch64_linux() { println!("fp8dot2: {}", is_aarch64_feature_detected!("fp8dot2")); println!("wfxt: {}", is_aarch64_feature_detected!("wfxt")); println!("sme: {}", is_aarch64_feature_detected!("sme")); + println!("sme-b16b16: {}", is_aarch64_feature_detected!("sme-b16b16")); println!("sme-i16i64: {}", is_aarch64_feature_detected!("sme-i16i64")); println!("sme-f64f64: {}", is_aarch64_feature_detected!("sme-f64f64")); println!("sme-fa64: {}", is_aarch64_feature_detected!("sme-fa64")); |
