Exportar (0) Imprimir
Expandir todo
Expandir Minimizar

_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.

Intrinsic

Architecture

_mm_stream_si64x

x64

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

Adiciones de comunidad

AGREGAR
Mostrar:
© 2014 Microsoft