about summary refs log tree commit diff
path: root/library/stdarch/crates/std_detect/tests
diff options
context:
space:
mode:
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>2019-11-30 15:16:19 +0900
committergnzlbg <gnzlbg@users.noreply.github.com>2019-12-02 19:23:05 +0100
commitcca9a86637c3307f2d25c9e63567b726b1612c0a (patch)
treed50846bf71b8d1db53fbf2c7ee3d46f4b6b69775 /library/stdarch/crates/std_detect/tests
parent7c56404f1a3270c7a0f1bab31444cb0316e9307d (diff)
downloadrust-cca9a86637c3307f2d25c9e63567b726b1612c0a.tar.gz
rust-cca9a86637c3307f2d25c9e63567b726b1612c0a.zip
Add CRC32 detection to arm32
armv8 has 32-bit mode, but it can use crc32 instruction sets even if 32-bit.
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 d441f4e1eff..7beb8a491a4 100644
--- a/library/stdarch/crates/std_detect/tests/cpu-detection.rs
+++ b/library/stdarch/crates/std_detect/tests/cpu-detection.rs
@@ -24,6 +24,7 @@ fn all() {
 fn arm_linux() {
     println!("neon: {}", is_arm_feature_detected!("neon"));
     println!("pmull: {}", is_arm_feature_detected!("pmull"));
+    println!("crc: {}", is_arm_feature_detected!("crc"));
 }
 
 #[test]