We recommend using Visual Studio 2017



The latest version of this topic can be found at _mm_stream_si64x.

Microsoft Specific**

Generates the MOVNTI instruction. Writes the data in Source to a memory location specified by Dest, without polluting the caches.

void _mm_stream_si64x(   
   __int64 * Dest,   
   __int64 Source   


[out] Dest
A pointer to the location to write the source data to.

[in] Source
The data to write.


Header file <intrin.h>

This routine is only available as an intrinsic.

// _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]);   

0 ffffffffffff 0 0  

Cache Support for Streaming SIMD Extensions 2 Integer Operations
Compiler Intrinsics