From 778c0706f356118c7a5dd11c06725fc6c6b84621 Mon Sep 17 00:00:00 2001 From: Justus K Date: Tue, 22 Sep 2020 15:27:53 +0200 Subject: [PATCH] Replace `_mm_movemask_pi8` with the fallback_impl This has to be done, because `_mm_movemask_pi8` got removed from stdarch in https://github.com/rust-lang/stdarch/pull/890 --- src/codegen/reductions/mask/x86.rs | 8 +------- src/lib.rs | 1 - 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/codegen/reductions/mask/x86.rs b/src/codegen/reductions/mask/x86.rs index 2ae4ed81c..bcfb1a6e1 100644 --- a/src/codegen/reductions/mask/x86.rs +++ b/src/codegen/reductions/mask/x86.rs @@ -19,13 +19,7 @@ mod avx2; /// x86 64-bit m8x8 implementation macro_rules! x86_m8x8_impl { ($id:ident) => { - cfg_if! { - if #[cfg(all(target_arch = "x86_64", target_feature = "sse"))] { - x86_m8x8_sse_impl!($id); - } else { - fallback_impl!($id); - } - } + fallback_impl!($id); }; } diff --git a/src/lib.rs b/src/lib.rs index c3da0d3c0..cbd438c0c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -209,7 +209,6 @@ link_llvm_intrinsics, core_intrinsics, stmt_expr_attributes, - mmx_target_feature, crate_visibility_modifier, custom_inner_attributes )]