Skip to content

Commit

Permalink
Replace _mm_movemask_pi8 with the fallback_impl
Browse files Browse the repository at this point in the history
This has to be done, because `_mm_movemask_pi8` got removed
from stdarch in rust-lang/stdarch#890
  • Loading branch information
Stupremee committed Sep 22, 2020
1 parent 93af7ef commit 778c070
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
8 changes: 1 addition & 7 deletions src/codegen/reductions/mask/x86.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};
}

Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@
link_llvm_intrinsics,
core_intrinsics,
stmt_expr_attributes,
mmx_target_feature,
crate_visibility_modifier,
custom_inner_attributes
)]
Expand Down

0 comments on commit 778c070

Please sign in to comment.