# Function core::arch::x86_64::_mm512_mask_i32gather_epi32

source ·

    pub unsafe fn _mm512_mask_i32gather_epi32(
        src: __m512i,
        mask: __mmask16,
        offsets: __m512i,
        slice: *const u8,
        const SCALE: i32
    ) -> __m512i

🔬This is a nightly-only experimental API. (`stdsimd` #48556)
Available on (x86 or x86-64) and target feature `avx512f` only.
Expand description

Gather 32-bit integers from memory using 32-bit indices. 32-bit elements are loaded from addresses starting at base_addr and offset by each 32-bit element in vindex (each index is scaled by the factor in scale). Gathered elements are merged into dst using writemask k (elements are copied from src when the corresponding mask bit is not set). scale should be 1, 2, 4 or 8.

Intel’s documentation