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/mpsrlwi.c

17 lines
340 B
C

#include <stdio.h>
#include <mmintrin.h>
#define AS_WORDS "%4.4x %4.4x %4.4x %4.4x"
__m64 a;
__m64 b = { 0x3f04800300040001 };
void main()
{
a = _m_psrlwi( b, 2 );
printf( "m ="AS_WORDS"\n"
"mm="AS_WORDS"\n",
b._16[3], b._16[2], b._16[1], b._16[0],
a._16[3], a._16[2], a._16[1], a._16[0] );
}