The Intel® Streaming SIMD Extensions 2 (Intel® SSE2) intrinsics for integer move operations are listed in this topic. The prototypes for the Intel® SSE2 intrinsics are in the emmintrin.h header file.
The results of each intrinsic operation are placed in registers. The information about what is placed in each register appears in the tables below, in the detailed explanation of each intrinsic. R, R0, R1, R2 and R3 represent the registers in which results are placed.
Intrinsics marked with * are implemented only on Intel® 64 architectures. The rest of the intrinsics are implemented on both IA-32 and Intel® 64 architectures.
__m128i _mm_cvtsi32_si128(int a)
Moves 32-bit integer a to the least significant 32 bits of an __m128i object. Zeroes the upper 96 bits of the __m128i object.
__m128i _mm_cvtsi64_si128(__int64 a)
Moves 64-bit integer a to the lower 64 bits of an __m128i object, zeroing the upper bits. Use only on Intel® 64 architectures.
Copyright © 1996-2010, Intel Corporation. All rights reserved.