This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/WATCOM/samples/clibexam/mpsradi.c

17 lines
293 B
C
Raw Permalink Normal View History

#include <stdio.h>
#include <mmintrin.h>
#define AS_DWORDS "%8.8lx %8.8lx"
__m64 a;
__m64 b = { 0x3f04800300020001 };
void main()
{
a = _m_psradi( b, 2 );
printf( "m ="AS_DWORDS"\n"
"mm="AS_DWORDS"\n",
b._32[1], b._32[0],
a._32[1], a._32[0] );
}