core::arch::x86_64

Function _mm512_mask_permutevar_epi32

source
pub unsafe fn _mm512_mask_permutevar_epi32(
    src: __m512i,
    k: __mmask16,
    idx: __m512i,
    a: __m512i,
) -> __m512i
🔬This is a nightly-only experimental API. (stdarch_x86_avx512 #111137)
Available on (x86 or x86-64) and target feature avx512f and x86-64 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