From 825c0e2b6e39ae67431ed0a8282260ad3914c87a Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Thu, 21 May 2020 13:19:42 -0700 Subject: [PATCH] Revert "Add AVX2 runtime checks (#10033)" (#10167) (#10168) 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 9bb2177559..f123b8cb03 100644 --- a/core/src/validator.rs +++ b/core/src/validator.rs @@ -778,15 +778,6 @@ fn report_target_features() { error!("Your machine does not have AVX support, please rebuild from source on your machine"); 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); - } - } } }