File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ fn dump() {
20
20
println ! ( "sse4.2: {:?}" , is_x86_feature_detected!( "sse4.2" ) ) ;
21
21
println ! ( "sse4a: {:?}" , is_x86_feature_detected!( "sse4a" ) ) ;
22
22
println ! ( "sha: {:?}" , is_x86_feature_detected!( "sha" ) ) ;
23
+ println ! ( "f16c: {:?}" , is_x86_feature_detected!( "f16c" ) ) ;
23
24
println ! ( "avx: {:?}" , is_x86_feature_detected!( "avx" ) ) ;
24
25
println ! ( "avx2: {:?}" , is_x86_feature_detected!( "avx2" ) ) ;
25
26
println ! ( "avx512f {:?}" , is_x86_feature_detected!( "avx512f" ) ) ;
@@ -109,6 +110,7 @@ fn compare_with_cupid() {
109
110
assert_eq ! ( is_x86_feature_detected!( "sse4.2" ) , information. sse4_2( ) ) ;
110
111
assert_eq ! ( is_x86_feature_detected!( "sse4a" ) , information. sse4a( ) ) ;
111
112
assert_eq ! ( is_x86_feature_detected!( "sha" ) , information. sha( ) ) ;
113
+ assert_eq ! ( is_x86_feature_detected!( "f16c" ) , information. f16c( ) ) ;
112
114
assert_eq ! ( is_x86_feature_detected!( "avx" ) , information. avx( ) ) ;
113
115
assert_eq ! ( is_x86_feature_detected!( "avx2" ) , information. avx2( ) ) ;
114
116
assert_eq ! ( is_x86_feature_detected!( "avx512f" ) , information. avx512f( ) ) ;
You can’t perform that action at this time.
0 commit comments