Udostępnij za pośrednictwem


Conversion Operations (SSE)

Microsoft Specific

The conversions operations are listed in the Conversion Operations table followed by a description of each intrinsic with the most recent mnemonic naming convention. The alternate name is provided if you have used these intrinsics before.

SSE intrinsics use the __m128, __m128i, and __m128d data types, which are not supported on Itanium Processor Family (IPF) processors. Any SSE intrinsics that use the __m64 data type are not supported on x64 processors.

The header file xmmintrin.h contains the declarations for the SSE intrinsics.

Conversion Operations

Intrinsic name

Corresponding instruction

_mm_cvtss_si32

CVTSS2SI

_mm_cvtps_pi32

CVTPS2PI

_mm_cvttss_si32

CVTTSS2SI

_mm_cvttps_pi32

CVTTPS2PI

_mm_cvtsi32_ss

CVTSI2SS

_mm_cvtpi32_ps

CVTTPS2PI

_mm_cvtpi16_ps

Composite

_mm_cvtpu16_ps

Composite

_mm_cvtpi8_ps

Composite

_mm_cvtpu8_ps

Composite

_mm_cvtpi32x2_ps

Composite

_mm_cvtps_pi16

Composite

_mm_cvtps_pi8

Composite

For an explanation of the syntax used in code samples in this topic, see Floating-Point Intrinsics Using Streaming SIMD Extensions.

See Also

Reference

Floating-Point Intrinsics Using Streaming SIMD Extensions