Skip to main content

collect_bool_words_sse2

Function collect_bool_words_sse2 

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

SSE2 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 SSE2 (always true on x86-64).