wide 0.3.0

A crate to help you go wide.
Documentation
#![cfg(target_feature = "sse")]

//!
//! Module for test helpers common to all Intel SIMD testing.
//!

#[cfg(target_arch = "x86")]
pub use core::arch::x86::*;
#[cfg(target_arch = "x86_64")]
pub use core::arch::x86_64::*;

#[cfg(target_arch = "x86")]
pub use wide::arch::x86::*;
#[cfg(target_arch = "x86_64")]
pub use wide::arch::x86_64::*;

pub use core::mem::*;
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
pub use wide::shuffle128;

pub use bytemuck::*;
pub use wide::{arch::*, *};

#[macro_export]
macro_rules! assert_approx_f32 {
  ($a:expr, $b:expr, $max_diff:expr) => {
    let diff: f32 = ($a - $b).abs();
    assert!(diff <= $max_diff, "diff was:{}", diff);
  };
}