From d31cc0b09e14f33e888f1bb83bd88c6147ba6fcc Mon Sep 17 00:00:00 2001 From: gnzlbg Date: Tue, 23 Apr 2019 10:10:41 +0200 Subject: Add runtime feature detection for F16C --- library/stdarch/crates/std_detect/tests/cpu-detection.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'library/stdarch/crates/std_detect/tests') diff --git a/library/stdarch/crates/std_detect/tests/cpu-detection.rs b/library/stdarch/crates/std_detect/tests/cpu-detection.rs index b2b8abb0102..0aae39e2947 100644 --- a/library/stdarch/crates/std_detect/tests/cpu-detection.rs +++ b/library/stdarch/crates/std_detect/tests/cpu-detection.rs @@ -87,6 +87,7 @@ fn x86_all() { "avx512_vpopcntdq {:?}", is_x86_feature_detected!("avx512vpopcntdq") ); + println!("f16c: {:?}", is_x86_feature_detected!("f16c")); println!("fma: {:?}", is_x86_feature_detected!("fma")); println!("bmi1: {:?}", is_x86_feature_detected!("bmi1")); println!("bmi2: {:?}", is_x86_feature_detected!("bmi2")); -- cgit 1.4.1-3-g733a5