_mm_stream_si64x
Visual Studio 2005
Microsoft Specific
Writes the data in Source to a memory location specified by Dest, without polluting the caches.
void _mm_stream_si64x( __int64 * Dest, __int64 Source );
Parameters
- [out] Dest
-
A pointer to the location to write the source data to.
- [in] Source
-
The data to write.
// _mm_stream_si64x.c
// processor: x64
#include <stdio.h>
#include <intrin.h>
#pragma intrinsic(_mm_stream_si64x)
int main()
{
__int64 val = 0xFFFFFFFFFFFFI64;
__int64 a[10];
memset(a, 0, sizeof(a));
_mm_stream_si64x(a+1, val);
printf_s( "%I64x %I64x %I64x %I64x", a[0], a[1], a[2], a[3]);
}
Output
0 ffffffffffff 0 0