File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ fn dump() {
2020 println ! ( "sse4.2: {:?}" , is_x86_feature_detected!( "sse4.2" ) ) ;
2121 println ! ( "sse4a: {:?}" , is_x86_feature_detected!( "sse4a" ) ) ;
2222 println ! ( "sha: {:?}" , is_x86_feature_detected!( "sha" ) ) ;
23+ println ! ( "f16c: {:?}" , is_x86_feature_detected!( "f16c" ) ) ;
2324 println ! ( "avx: {:?}" , is_x86_feature_detected!( "avx" ) ) ;
2425 println ! ( "avx2: {:?}" , is_x86_feature_detected!( "avx2" ) ) ;
2526 println ! ( "avx512f {:?}" , is_x86_feature_detected!( "avx512f" ) ) ;
@@ -109,6 +110,7 @@ fn compare_with_cupid() {
109110 assert_eq ! ( is_x86_feature_detected!( "sse4.2" ) , information. sse4_2( ) ) ;
110111 assert_eq ! ( is_x86_feature_detected!( "sse4a" ) , information. sse4a( ) ) ;
111112 assert_eq ! ( is_x86_feature_detected!( "sha" ) , information. sha( ) ) ;
113+ assert_eq ! ( is_x86_feature_detected!( "f16c" ) , information. f16c( ) ) ;
112114 assert_eq ! ( is_x86_feature_detected!( "avx" ) , information. avx( ) ) ;
113115 assert_eq ! ( is_x86_feature_detected!( "avx2" ) , information. avx2( ) ) ;
114116 assert_eq ! ( is_x86_feature_detected!( "avx512f" ) , information. avx512f( ) ) ;
You can’t perform that action at this time.
0 commit comments