diff cpudetect.h @ 35101:3e1a4184b70e

Add SSE3, SSE4, SSE4.2 and AVX detection. Patch by Xidorn Quan, quanxunzhen gmail
author cehoyos
date Fri, 14 Sep 2012 14:16:08 +0000
parents 064be070d8c8
children
line wrap: on
line diff
--- a/cpudetect.h	Fri Sep 14 14:13:54 2012 +0000
+++ b/cpudetect.h	Fri Sep 14 14:16:08 2012 +0000
@@ -36,7 +36,10 @@
     int hasSSE2;
     int hasSSE3;
     int hasSSSE3;
+    int hasSSE4;
+    int hasSSE42;
     int hasSSE4a;
+    int hasAVX;
     int isX86;
     unsigned cl_size; /* size of cache line */
     int hasAltiVec;