|
16 | 16 | fn arm_linux() {
|
17 | 17 | println!("neon: {}", is_arm_feature_detected!("neon"));
|
18 | 18 | println!("pmull: {}", is_arm_feature_detected!("pmull"));
|
| 19 | + println!("crypto: {}", is_arm_feature_detected!("crypto")); |
| 20 | + println!("crc: {}", is_arm_feature_detected!("crc")); |
| 21 | + println!("aes: {}", is_arm_feature_detected!("aes")); |
| 22 | + println!("sha2: {}", is_arm_feature_detected!("sha2")); |
19 | 23 | }
|
20 | 24 |
|
21 | 25 | #[test]
|
22 | 26 | #[cfg(all(target_arch = "aarch64", any(target_os = "linux", target_os = "android")))]
|
23 | 27 | fn aarch64_linux() {
|
24 |
| - println!("fp: {}", is_aarch64_feature_detected!("fp")); |
25 |
| - println!("fp16: {}", is_aarch64_feature_detected!("fp16")); |
26 | 28 | println!("neon: {}", is_aarch64_feature_detected!("neon"));
|
27 | 29 | println!("asimd: {}", is_aarch64_feature_detected!("asimd"));
|
| 30 | + println!("pmull: {}", is_aarch64_feature_detected!("pmull")); |
| 31 | + println!("fp: {}", is_aarch64_feature_detected!("fp")); |
| 32 | + println!("fp16: {}", is_aarch64_feature_detected!("fp16")); |
28 | 33 | println!("sve: {}", is_aarch64_feature_detected!("sve"));
|
29 | 34 | println!("crc: {}", is_aarch64_feature_detected!("crc"));
|
30 | 35 | println!("lse: {}", is_aarch64_feature_detected!("lse"));
|
| 36 | + println!("lse2: {}", is_aarch64_feature_detected!("lse2")); |
31 | 37 | println!("rdm: {}", is_aarch64_feature_detected!("rdm"));
|
32 | 38 | println!("rcpc: {}", is_aarch64_feature_detected!("rcpc"));
|
| 39 | + println!("rcpc2: {}", is_aarch64_feature_detected!("rcpc2")); |
33 | 40 | println!("dotprod: {}", is_aarch64_feature_detected!("dotprod"));
|
34 | 41 | println!("tme: {}", is_aarch64_feature_detected!("tme"));
|
| 42 | + println!("fhm: {}", is_aarch64_feature_detected!("fhm")); |
| 43 | + println!("dit: {}", is_aarch64_feature_detected!("dit")); |
| 44 | + println!("flagm: {}", is_aarch64_feature_detected!("flagm")); |
| 45 | + println!("ssbs: {}", is_aarch64_feature_detected!("ssbs")); |
| 46 | + println!("sb: {}", is_aarch64_feature_detected!("sb")); |
| 47 | + println!("pauth: {}", is_aarch64_feature_detected!("pauth")); |
| 48 | + println!("dpb: {}", is_aarch64_feature_detected!("dpb")); |
| 49 | + println!("dpb2: {}", is_aarch64_feature_detected!("dpb2")); |
| 50 | + println!("sve2: {}", is_aarch64_feature_detected!("sve2")); |
| 51 | + println!("sve2-aes: {}", is_aarch64_feature_detected!("sve2-aes")); |
| 52 | + println!("sve2-sm4: {}", is_aarch64_feature_detected!("sve2-sm4")); |
| 53 | + println!("sve2-sha3: {}", is_aarch64_feature_detected!("sve2-sha3")); |
| 54 | + println!("sve2-bitperm: {}", is_aarch64_feature_detected!("sve2-bitperm")); |
| 55 | + println!("frintts: {}", is_aarch64_feature_detected!("frintts")); |
| 56 | + println!("i8mm: {}", is_aarch64_feature_detected!("i8mm")); |
| 57 | + println!("f32mm: {}", is_aarch64_feature_detected!("f32mm")); |
| 58 | + println!("f64mm: {}", is_aarch64_feature_detected!("f64mm")); |
| 59 | + println!("bf16: {}", is_aarch64_feature_detected!("bf16")); |
| 60 | + println!("rand: {}", is_aarch64_feature_detected!("rand")); |
| 61 | + println!("bti: {}", is_aarch64_feature_detected!("bti")); |
| 62 | + println!("mte: {}", is_aarch64_feature_detected!("mte")); |
| 63 | + println!("jsconv: {}", is_aarch64_feature_detected!("jsconv")); |
| 64 | + println!("fcma: {}", is_aarch64_feature_detected!("fcma")); |
| 65 | + println!("aes: {}", is_aarch64_feature_detected!("aes")); |
| 66 | + println!("sha2: {}", is_aarch64_feature_detected!("sha2")); |
| 67 | + println!("sha3: {}", is_aarch64_feature_detected!("sha3")); |
| 68 | + println!("sm4: {}", is_aarch64_feature_detected!("sm4")); |
35 | 69 | }
|
36 | 70 |
|
37 | 71 | #[test]
|
|
0 commit comments