_mm512_mask_permutevar_epi32 in core::arch::x86_64 - Rust
Description: Shuffle 32-bit integers in a across lanes using the corresponding index in idx, and store the results in dst using writemask k (elements are copied from src when the corresponding mask bit is not set). Note that this intrinsic shuffles across 128-bit lanes, unlike past intrinsics that use the permutevar name. This intrinsic is identical to _mm512_mask_permutexvar_epi32, and it is recommended that you use that intrinsic name.

## _mm512_mask_permutevar_epi32

# Function _mm512_mask_permutevar_epi32

1.89.0 · Source

    pub fn _mm512_mask_permutevar_epi32(
        src: __m512i,
        k: __mmask16,
        idx: __m512i,
        a: __m512i,
    ) -> __m512i

Available on x86-64 and target feature `avx512f` only.
Expand description

Shuffle 32-bit integers in a across lanes using the corresponding index in idx, and store the results in dst using writemask k (elements are copied from src when the corresponding mask bit is not set). Note that this intrinsic shuffles across 128-bit lanes, unlike past intrinsics that use the permutevar name. This intrinsic is identical to _mm512_mask_permutexvar_epi32, and it is recommended that you use that intrinsic name.

Intel’s documentation