_mm256_mask_i32gather_epi32 in core::arch::x86_64 - Rust
Description: Returns values from `slice` at offsets determined by `offsets * scale`, where `scale` should be 1, 2, 4 or 8. If mask is set, load the value from `src` in that position instead.

core::arch::x86_64

# Function _mm256_mask_i32gather_epi32

1.27.0 · Source

    pub unsafe fn _mm256_mask_i32gather_epi32(
        src: __m256i,
        slice: *const i32,
        offsets: __m256i,
        mask: __m256i,
        const SCALE: i32,
    ) -> __m256i

Available on (x86 or x86-64) and target feature `avx2` and x86-64 only.
Expand description

Returns values from `slice` at offsets determined by `offsets * scale`, where `scale` should be 1, 2, 4 or 8. If mask is set, load the value from `src` in that position instead.

Intel’s documentation