Skip to main content

## _mm512_mask_i64gather_epi64

# Function _mm512_mask_i64gather_epi64

1.89.0 · Source

    pub unsafe fn _mm512_mask_i64gather_epi64(
        src: __m512i,
        mask: __mmask8,
        offsets: __m512i,
        slice: *const i64,
        const SCALE: i32,
    ) -> __m512i

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

Gather 64-bit integers from memory using 64-bit indices. 64-bit elements are loaded from addresses starting at base_addr and offset by each 64-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