# Function _mm512_mask_max_ps

1.89.0 · Source

    pub fn _mm512_mask_max_ps(
        src: __m512,
        k: __mmask16,
        a: __m512,
        b: __m512,
    ) -> __m512

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

Compare packed single-precision (32-bit) floating-point elements in a and b, and store packed maximum values in dst using writemask k (elements are copied from src when the corresponding mask bit is not set).

Intel’s documentation