Skip to content
Merged
Prev Previous commit
Next Next commit
disable m32x2 mask MMX optimization on macos
  • Loading branch information
gnzlbg committed May 4, 2018
commit c589b1c7ba52c5cc5c0f4190eb588b37a6f107bf
3 changes: 2 additions & 1 deletion coresimd/ppsv/codegen/masks_reductions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,8 @@ macro_rules! impl_mask_all_any {
};
(m32x2) => {
cfg_if! {
if #[cfg(target_arch = "x86_64")] {
if #[cfg(all(target_arch = "x86_64", not(target_os = "macos")))] {
// FIXME: this fails on travis-ci osx build bots.
x86_64_mmx_movemask_impl!(m32x2, m32x4);
} else if #[cfg(all(target_arch = "arm", target_feature = "v7", target_feature = "neon"))] {
arm_64_x2_v7_neon_impl!(m32x2, vpmin_u32, vpmax_u32);
Expand Down