comparison 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
comparison
equal deleted inserted replaced
35100:bc7b006732c0 35101:3e1a4184b70e
34 int has3DNowExt; 34 int has3DNowExt;
35 int hasSSE; 35 int hasSSE;
36 int hasSSE2; 36 int hasSSE2;
37 int hasSSE3; 37 int hasSSE3;
38 int hasSSSE3; 38 int hasSSSE3;
39 int hasSSE4;
40 int hasSSE42;
39 int hasSSE4a; 41 int hasSSE4a;
42 int hasAVX;
40 int isX86; 43 int isX86;
41 unsigned cl_size; /* size of cache line */ 44 unsigned cl_size; /* size of cache line */
42 int hasAltiVec; 45 int hasAltiVec;
43 int hasTSC; 46 int hasTSC;
44 } CpuCaps; 47 } CpuCaps;