Trait faster::intrin::PackedEq [] [src]

pub trait PackedEq: Packed {
    fn eq(&self, other: &Self) -> Self;
}

Required Methods

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