File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,20 @@ fn aarch64_linux() {
83
83
println ! ( "sm4: {}" , is_aarch64_feature_detected!( "sm4" ) ) ;
84
84
}
85
85
86
+ #[ test]
87
+ #[ cfg( all( target_arch = "aarch64" , target_os = "windows" ) ) ]
88
+ fn aarch64_windows ( ) {
89
+ println ! ( "asimd: {:?}" , is_aarch64_feature_detected!( "asimd" ) ) ;
90
+ println ! ( "crc: {:?}" , is_aarch64_feature_detected!( "crc" ) ) ;
91
+ println ! ( "lse: {:?}" , is_aarch64_feature_detected!( "lse" ) ) ;
92
+ println ! ( "dotprod: {:?}" , is_aarch64_feature_detected!( "dotprod" ) ) ;
93
+ println ! ( "jsconv: {:?}" , is_aarch64_feature_detected!( "jsconv" ) ) ;
94
+ println ! ( "rcpc: {:?}" , is_aarch64_feature_detected!( "rcpc" ) ) ;
95
+ println ! ( "aes: {:?}" , is_aarch64_feature_detected!( "aes" ) ) ;
96
+ println ! ( "pmull: {:?}" , is_aarch64_feature_detected!( "pmull" ) ) ;
97
+ println ! ( "sha2: {:?}" , is_aarch64_feature_detected!( "sha2" ) ) ;
98
+ }
99
+
86
100
#[ test]
87
101
#[ cfg( all( target_arch = "powerpc" , target_os = "linux" ) ) ]
88
102
fn powerpc_linux ( ) {
You can’t perform that action at this time.
0 commit comments