Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer


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 


[out] Dest

A pointer to the location to write the source data to.

[in] Source

The data to write.

Intrinsic Architecture



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
© 2016 Microsoft