__movsd
Visual Studio 2010
Microsoft Specific
Generates a Move String (rep movsd) instruction.
void __movsd( unsigned long* Dest, unsigned long* Source, size_t Count );
// movsd.cpp
// processor: x86, x64
#include <stdio.h>
#include <intrin.h>
#pragma intrinsic(__movsd)
int main()
{
unsigned long a1[10];
unsigned long a2[10] = {950, 850, 750, 650, 550, 450, 350,
250, 150, 50};
__movsd(a1, a2, 10);
for (int i = 0; i < 10; i++)
printf_s("%d ", a1[i]);
printf_s("\n");
}
950 850 750 650 550 450 350 250 150 50