共用方式為


_mm_max_pi16 

Microsoft Specific

Computes the element-wise maximum of the words in a and b.

__m64 _mm_max_pi16(__m64 a , __m64 b );
PMAXSW

Return Value

r0 := min(a0, b0)
r1 := min(a1, b1)
r2 := min(a2, b2)
r3 := min(a3, b3)

Requirements

Header: mmintrin.h

END Microsoft Specific

See Also

Reference

Integer Intrinsics Using Streaming SIMD Extensions