Exportar (0) Imprimir
Expandir todo
Expandir Minimizar


Microsoft Specific

Emits the Streaming SIMD Extensions 2 (SSE2) instruction movnti. This instruction stores data to a specified address.

void _mm_stream_si64( 
   __int64 *p,
   __int64 a 

[in] p

A pointer to a 64-bit location where the data will be stored.

[in] a

A 64-bit integer.





Header file <emmintrin.h>

The memory location written must be aligned on a 64-bit boundary since 64 bits will be written. The data indicated by pointer p will be set to a. This can be expressed with the following equation.

*p := a

Before you use this intrinsic, software must ensure that the processor supports the instruction.

#include <stdio.h>
#include <emmintrin.h>
#include <intrin.h>

int main ()
    __int64 a;
    __int64 * p = new __int64;

    a = -950000;

    _mm_stream_si64(p, a);

    printf_s("p should be %I64d: %I64d\n", a, *p);

    delete p;

    return 0;
p should be -950000: -950000

Adiciones de comunidad

© 2014 Microsoft