共用方式為


_mm_cvtsi32_ss

Microsoft Specific

Converts the 32-bit integer value b to an single-precision, floating-point value; the upper three single-precision, floating-point values are passed through from a.

__m128 _mm_cvtsi32_ss(__m128 a , int b );
CVTSI2SS

Return Value

r0 := (float)b
r1 := a1 ; r2 := a2 ; r3 := a3

Requirements

Header: mmintrin.h

END Microsoft Specific

See Also

Concepts

Conversion Operations (SSE)