about summary refs log tree commit diff
path: root/library/stdarch/crates/std_detect/tests/cpu-detection.rs
diff options
context:
space:
mode:
authorTaiki Endo <te316e89@gmail.com>2023-02-12 02:31:21 +0900
committerGitHub <noreply@github.com>2023-02-11 17:31:21 +0000
commitdc4923457433196ed11af9fd43e9233428532230 (patch)
tree5fba5aa935453a033adcf9f62e3ec7d36cf1018b /library/stdarch/crates/std_detect/tests/cpu-detection.rs
parent57c492180ddc964829306997db3f681292f36e17 (diff)
downloadrust-dc4923457433196ed11af9fd43e9233428532230.tar.gz
rust-dc4923457433196ed11af9fd43e9233428532230.zip
std_detect: Support run-time detection of FEAT_LSE2 on aarch64 BSD (#1379)
Diffstat (limited to 'library/stdarch/crates/std_detect/tests/cpu-detection.rs')
-rw-r--r--library/stdarch/crates/std_detect/tests/cpu-detection.rs1
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 ec0875a355e..4fa1b717c8e 100644
--- a/library/stdarch/crates/std_detect/tests/cpu-detection.rs
+++ b/library/stdarch/crates/std_detect/tests/cpu-detection.rs
@@ -110,6 +110,7 @@ fn aarch64_bsd() {
     println!("sve: {:?}", is_aarch64_feature_detected!("sve"));
     println!("crc: {:?}", is_aarch64_feature_detected!("crc"));
     println!("lse: {:?}", is_aarch64_feature_detected!("lse"));
+    println!("lse2: {:?}", is_aarch64_feature_detected!("lse2"));
     println!("rdm: {:?}", is_aarch64_feature_detected!("rdm"));
     println!("rcpc: {:?}", is_aarch64_feature_detected!("rcpc"));
     println!("dotprod: {:?}", is_aarch64_feature_detected!("dotprod"));