about summary refs log tree commit diff
path: root/library/stdarch/crates/std_detect/tests
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2025-04-20 14:31:13 +0000
committerAmanieu d'Antras <amanieu@gmail.com>2025-04-23 10:38:58 +0000
commit5fb4fabbfc23093f82ec84971e5997728e76537e (patch)
treee2ffbefd87a872a5a03b57675f486c3eddfecf9a /library/stdarch/crates/std_detect/tests
parente0b634ecaefbc0dd5bdc5fdbbdc15b34328d20ce (diff)
downloadrust-5fb4fabbfc23093f82ec84971e5997728e76537e.tar.gz
rust-5fb4fabbfc23093f82ec84971e5997728e76537e.zip
Add power9 and power8 target-features
Diffstat (limited to 'library/stdarch/crates/std_detect/tests')
-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 0dabca52a2c..bbc289a6a0a 100644
--- a/library/stdarch/crates/std_detect/tests/cpu-detection.rs
+++ b/library/stdarch/crates/std_detect/tests/cpu-detection.rs
@@ -340,6 +340,7 @@ fn powerpc64_linux_or_freebsd() {
     println!("altivec: {}", is_powerpc64_feature_detected!("altivec"));
     println!("vsx: {}", is_powerpc64_feature_detected!("vsx"));
     println!("power8: {}", is_powerpc64_feature_detected!("power8"));
+    println!("power9: {}", is_powerpc64_feature_detected!("power9"));
 }
 
 #[test]