compileTestSSE3.cpp 256 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

#include <x86intrin.h>
#include <xmmintrin.h> // SSE
#include <emmintrin.h> // SSE2
#include <pmmintrin.h> // SSE3

int main(){
	__m128d res0d, res1d;
	res0d = _mm_hadd_pd(res0d, res1d);

	__m128 res0, res1;
	res0 = _mm_hadd_ps(res0, res1);

	return 0;
}