共用方式為


_mm_max_ps

Microsoft Specific

Computes the maximums of the four single-precision, floating-point values of a and b.

__m128 _mm_max_ps(__m128 a , __m128 b );
MAXPS

Return Value

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

Requirements

Header: mmintrin.h

END Microsoft Specific

See Also

Reference

Arithmetic Operations (Floating-Point SSE2 Intrinsics)