Microsoft Specific
Generates the x64 extended form of the movd instruction, which copies a 64-bit value to a __m128i structure, which represents an XMM register.
__m128i _mm_cvtsi64x_si128( 
   __int64 value 
);
Parameters
- [in] value
 A 64-bit integer value.
Return Value
An __m128i structure containing as the first 64-bit element the input value.
Requirements
| Intrinsic | Architecture | 
|---|---|
| _mm_cvtsi64x_si128 | x64 | 
Header file <intrin.h>
Remarks
The __m128i structure represents an XMM register, so this intrinsic moves value from system memory into an XMM register.
This routine is only available as an intrinsic.
Example
// _mm_cvtsi64x_si128.cpp
// processor: x64
#include <intrin.h>
#include <stdio.h>
#pragma intrinsic(_mm_cvtsi64x_si128)
int main()
{
    __m128i a;
    __int64 b = 54;
    a = _mm_cvtsi64x_si128(b);
    printf_s("%I64d\n", a.m128i_i64[0] );
}
54