## _mm_mask_max_round_ss

# Function _mm_mask_max_round_ss

1.89.0 · Source

    pub fn _mm_mask_max_round_ss(
        src: __m128,
        k: __mmask8,
        a: __m128,
        b: __m128,
        const SAE: i32,
    ) -> __m128

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

Compare the lower single-precision (32-bit) floating-point elements in a and b, store the maximum value in the lower element of dst using writemask k (the element is copied from src when mask bit 0 is not set), and copy the upper 3 packed elements from a to the upper elements of dst.
Exceptions can be suppressed by passing _MM_FROUND_NO_EXC in the sae parameter.

Intel’s documentation