_mm_max_epi16 

Microsoft Specific

Computes the pairwise maxima of the 8 signed 16-bit integers from a and the 8 signed 16-bit integers from b.

__m128i _mm_max_epi16 (__m128i a, __m128i b);
PMAXSW

Return Value

r0 := max(a0, b0)
r1 := max(a1, b1)
...
r7 := max(a7, b7)

Requirements

Header: emmintrin.h

END Microsoft Specific

See Also

Reference

Arithmetic Operations (Integer SSE2 Intrinsics)