Skip to main content

## _mm_mask2_permutex2var_ps

# Function _mm_mask2_permutex2var_ps

1.89.0 · Source

    pub fn _mm_mask2_permutex2var_ps(
        a: __m128,
        idx: __m128i,
        k: __mmask8,
        b: __m128,
    ) -> __m128

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

Shuffle single-precision (32-bit) floating-point elements in a and b across lanes using the corresponding selector and index in idx, and store the results in dst using writemask k (elements are copied from idx when the corresponding mask bit is not set).

Intel’s documentation