20 lines
387 B
C
20 lines
387 B
C
#include <stdio.h>
|
|
#include <mmintrin.h>
|
|
|
|
#define AS_DWORDS "%8.8lx %8.8lx"
|
|
|
|
__m64 a;
|
|
__m64 b = { 0x0123456789abcdef };
|
|
__m64 c = { 0xfedcba9876543210 };
|
|
|
|
void main()
|
|
{
|
|
a = _m_psubd( b, c );
|
|
printf( "m1="AS_DWORDS"\n"
|
|
"m2="AS_DWORDS"\n"
|
|
"mm="AS_DWORDS"\n",
|
|
b._32[1], b._32[0],
|
|
c._32[1], c._32[0],
|
|
a._32[1], a._32[0] );
|
|
}
|