From c7d857583f53bab517c02068f97cb12b7d96f99f Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Thu, 21 May 2020 13:19:47 -0700 Subject: [PATCH] Revert "Add AVX2 runtime checks (#10033)" (#10167) (#10169) This reverts commit cf8eb7700b79a6eb638eb58964fd2ffb4650f2ad. (cherry picked from commit 486168b79641bac0fa22e929ce5fdba3fce3f231) Co-authored-by: Michael Vines --- core/src/validator.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/core/src/validator.rs b/core/src/validator.rs index 72921a2a83..55b0fd5715 100644 --- a/core/src/validator.rs +++ b/core/src/validator.rs @@ -783,15 +783,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); - } - } } }