# Function _mm_mask_max_ps

1.89.0 · Source

    pub fn _mm_mask_max_ps(src: __m128, k: __mmask8, a: __m128, b: __m128) -> __m128

Available on (x86 or x86-64) and target feature `avx512f` and target feature `avx512vl` 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