Skip to main content

collect_bool_words_avx2

Function collect_bool_words_avx2 

Source
pub unsafe fn collect_bool_words_avx2<F: FnMut(usize) -> bool>(
    words: &mut [u64],
    len: usize,
    f: F,
)
Expand description

AVX2 copy of the collect_bool_words word loop.

words must hold at least len.div_ceil(64) entries and f is invoked with 0..len.

ยงSafety

The caller must ensure the CPU supports AVX2.