Function _mm_mask_max_ss

1.89.0 · Source
pub fn _mm_mask_max_ss(src: __m128, k: __mmask8, a: __m128, b: __m128) -> __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.

Intel’s documentation