#include <xmmintrin.h>
#include <stdio.h>
int main()
{

	int str1[] = {1, 3, 233, 4};
	int str2[] = {1, 0, 233, 2};


	int f[4];

	__m128 a;
	__m128 b;
	__m128 c;

	a = _mm_setr_ps(str1[0], str1[1], str1[2], str1[3]);
	b = _mm_setr_ps(str2[0], str2[1], str2[2], str2[3]);
	//a = _mm_cmpeq_ps( a, a );
	//b = _mm_cmpeq_ps( b, b );
	c = _mm_cmpeq_ps( b, a );

	//_mm_storeu_ps((float*) f, a);
	//printf("%x %x %x %x\n", f[0], f[1], f[2], f[3]);
	//_mm_storeu_ps((float*) f, b);
	//printf("%x %x %x %x\n", f[0], f[1], f[2], f[3]);


	_mm_storeu_ps((float*) f, c);
	printf("%x %x %x %x\n", f[0], f[1], f[2], f[3]);

    return 0;
}
