共用方式為


_mm_cvtps_pi16

Microsoft Specific

Converts the four single-precision, floating-point values in a to four signed 16-bit integer values.

__m64 _mm_cvtps_pi16( __m128 a );
(composite)

Return Value

r0 := (short)a0
r1 := (short)a1
r2 := (short)a2
r3 := (short)a3

Requirements

Header: mmintrin.h

END Microsoft Specific

See Also

Concepts

Conversion Operations (SSE)