21 lines
397 B
C
21 lines
397 B
C
#include <stdio.h>
|
|
#include <mmintrin.h>
|
|
|
|
#define AS_DWORDS "%8.8lx %8.8lx"
|
|
#define AS_QWORD "%16.16Lx"
|
|
|
|
__m64 a;
|
|
__m64 b = { 0x3f04800300020001 };
|
|
__m64 c = { 0x0000000000000002 };
|
|
|
|
void main()
|
|
{
|
|
a = _m_psrad( b, c );
|
|
printf( "m1="AS_DWORDS"\n"
|
|
"m2="AS_QWORD"\n"
|
|
"mm="AS_DWORDS"\n",
|
|
b._32[1], b._32[0],
|
|
c,
|
|
a._32[1], a._32[0] );
|
|
}
|