_mm256_mask_bitshuffle_epi64_mask in core::arch::x86_64 - Rust
Description: Considers the input `b` as packed 64-bit integers and `c` as packed 8-bit integers. Then groups 8 8-bit values from `c`as indices into the bits of the corresponding 64-bit integer. It then selects these bits and packs them into the output.

## _mm256_mask_bitshuffle_epi64_mask

# Function _mm256_mask_bitshuffle_epi64_mask

1.89.0 · Source

    pub fn _mm256_mask_bitshuffle_epi64_mask(
        k: __mmask32,
        b: __m256i,
        c: __m256i,
    ) -> __mmask32

Available on x86-64 and target feature `avx512bitalg` and target feature `avx512vl` 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 `c`as 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