From 486168b79641bac0fa22e929ce5fdba3fce3f231 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Thu, 21 May 2020 13:13:52 -0700 Subject: [PATCH] Revert "Add AVX2 runtime checks (#10033)" (#10167) This reverts commit cf8eb7700b79a6eb638eb58964fd2ffb4650f2ad. --- core/src/validator.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/core/src/validator.rs b/core/src/validator.rs index fde57e7fc8..d22830d15b 100644 --- a/core/src/validator.rs +++ b/core/src/validator.rs @@ -759,15 +759,6 @@ fn report_target_features() { process::exit(1); } } - #[target_feature(enable = "avx2")] - { - if is_x86_feature_detected!("avx2") { - info!("AVX2 detected"); - } else { - error!("Your machine does not have AVX2 support, please rebuild from source on your machine"); - process::exit(1); - } - } } }