no_std_compat::arch::x86

Function _mm_mask_bitshuffle_epi64_mask

Source
pub unsafe fn _mm_mask_bitshuffle_epi64_mask(
    k: u16,
    b: __m128i,
    c: __m128i,
) -> u16
🔬This is a nightly-only experimental API. (stdarch_x86_avx512)
Available on x86 only.
Expand description

Considers the input b as packed 64-bit integers and c as packed 8-bit integers. Then groups 8 8-bit values from cas indices into the bits of the corresponding 64-bit integer. It then selects these bits and packs them into the output.

Uses the writemask in k - elements are zeroed in the result if the corresponding mask bit is not set. Otherwise the computation result is written into the result.

Intel’s documentation