Conversion Operations for Streaming SIMD Extensions 2

The following two conversion intrinsics and their respective instructions are functional in the Streaming SIMD Extensions 2.

__m128i _mm_cvtsi32_si128 (int a)

(uses MOVD)

Moves 32-bit integer a to the least significant 32 bits of an __m128i object. Copies the sign bit of a into the upper 96 bits of the __m128i object.

r0 := a

r1 := 0x0 ; r2 := 0x0 ; r3 := 0x0

 

int _mm_cvtsi128_si32 ( __m128i a)

(uses MOVD)

Moves the least significant 32 bits of a to a 32 bit integer.

r := a0