#![allow(non_camel_case_types)]
pub mod bits;
mod traits;
cfg_if::cfg_if! {
if #[cfg(target_feature = "sse2")] {
mod sse2;
use self::sse2::*;
} else if #[cfg(all(target_feature="neon", target_arch="aarch64"))] {
pub mod neon;
use self::neon::*;
} else {
mod v128;
use self::v128::*;
}
}
cfg_if::cfg_if! {
if #[cfg(target_feature = "avx2")] {
mod avx2;
use self::avx2::*;
} else {
mod v256;
use self::v256::*;
}
}
pub use self::traits::{BitMask, Mask, Simd};
mod v512;
use self::v512::*;
pub type u8x16 = Simd128u;
pub type u8x32 = Simd256u;
pub type u8x64 = Simd512u;
pub type i8x16 = Simd128i;
pub type i8x32 = Simd256i;
pub type i8x64 = Simd512i;
pub type m8x32 = Mask256;