Both SSE4.1 and SSE4.2 support can be enabled via -msse4.
1 #include <stdio.h> 2 #include <nmmintrin.h> 3 int main() 4 { 5 unsigned char pBuf[32]; 6 __m128i i; 7 __m128i j; 8 printf("%d\n",sizeof(__m128i)); 9 return 0; 10 }
high performance program (SSE4.2 intrin instruction)
原文地址:http://blog.csdn.net/zhangxxxww/article/details/41315279