std_detect: Add test for feature detection on aarch64 Windows
This commit is contained in:
parent
505d4e8d48
commit
e706a13add
1 changed files with 14 additions and 0 deletions
|
|
@ -83,6 +83,20 @@ fn aarch64_linux() {
|
|||
println!("sm4: {}", is_aarch64_feature_detected!("sm4"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(all(target_arch = "aarch64", target_os = "windows"))]
|
||||
fn aarch64_windows() {
|
||||
println!("asimd: {:?}", is_aarch64_feature_detected!("asimd"));
|
||||
println!("crc: {:?}", is_aarch64_feature_detected!("crc"));
|
||||
println!("lse: {:?}", is_aarch64_feature_detected!("lse"));
|
||||
println!("dotprod: {:?}", is_aarch64_feature_detected!("dotprod"));
|
||||
println!("jsconv: {:?}", is_aarch64_feature_detected!("jsconv"));
|
||||
println!("rcpc: {:?}", is_aarch64_feature_detected!("rcpc"));
|
||||
println!("aes: {:?}", is_aarch64_feature_detected!("aes"));
|
||||
println!("pmull: {:?}", is_aarch64_feature_detected!("pmull"));
|
||||
println!("sha2: {:?}", is_aarch64_feature_detected!("sha2"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(all(target_arch = "powerpc", target_os = "linux"))]
|
||||
fn powerpc_linux() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue