Trait faster::intrin::PackedEq
[−]
[src]
pub trait PackedEq: Packed { fn eq(&self, other: &Self) -> Self; }
Required Methods
fn eq(&self, other: &Self) -> Self
Return a vector where each element at an index i is filled with 1s if
the elements of self
and other
at index i are equal, and filled with
zeroes otherwise.
extern crate faster; use faster::*; assert_eq!(u8s::interleave(0, 2).eq(u8s(0)), u8s::interleave(0xFF, 0)); assert_eq!(u32s::halfs(1, 0).min(u32s(0)), u32s::halfs(0, 0xFFFFFFFF));
Implementors
impl PackedEq for u8x16
impl PackedEq for i8x16
impl PackedEq for u16x8
impl PackedEq for i16x8
impl PackedEq for u32x4
impl PackedEq for i32x4
impl PackedEq for f32x4
impl PackedEq for f64x2
impl PackedEq for u64x2
impl PackedEq for i64x2
impl PackedEq for u8x32
impl PackedEq for i8x32
impl PackedEq for u16x16
impl PackedEq for i16x16
impl PackedEq for u32x8
impl PackedEq for i32x8
impl PackedEq for f32x8
impl PackedEq for f64x4
impl PackedEq for u64x4
impl PackedEq for i64x4