Lines Matching refs:abcd
14 static void cpuid (uint32_t abcd[4]) { __cpuid ((int*)abcd, 1); } in cpuid()
15 static void cpuid7(uint32_t abcd[4]) { __cpuidex((int*)abcd, 7, 0); } in cpuid7()
23 static void cpuid (uint32_t abcd[4]) { __get_cpuid(1, abcd+0, abcd+1, abcd+2, abcd+3); } in cpuid()
24 static void cpuid7(uint32_t abcd[4]) { in cpuid7()
25 __cpuid_count(7, 0, abcd[0], abcd[1], abcd[2], abcd[3]); in cpuid7()
36 uint32_t abcd[4] = {0,0,0,0}; in read_cpu_features() local
40 cpuid(abcd); in read_cpu_features()
41 if (abcd[3] & (1<<25)) { features |= SkCpu:: SSE1; } in read_cpu_features()
42 if (abcd[3] & (1<<26)) { features |= SkCpu:: SSE2; } in read_cpu_features()
43 if (abcd[2] & (1<< 0)) { features |= SkCpu:: SSE3; } in read_cpu_features()
44 if (abcd[2] & (1<< 9)) { features |= SkCpu::SSSE3; } in read_cpu_features()
45 if (abcd[2] & (1<<19)) { features |= SkCpu::SSE41; } in read_cpu_features()
46 if (abcd[2] & (1<<20)) { features |= SkCpu::SSE42; } in read_cpu_features()
48 if ((abcd[2] & (3<<26)) == (3<<26) // XSAVE + OSXSAVE in read_cpu_features()
50 if (abcd[2] & (1<<28)) { features |= SkCpu:: AVX; } in read_cpu_features()
51 if (abcd[2] & (1<<29)) { features |= SkCpu::F16C; } in read_cpu_features()
52 if (abcd[2] & (1<<12)) { features |= SkCpu:: FMA; } in read_cpu_features()
54 cpuid7(abcd); in read_cpu_features()
55 if (abcd[1] & (1<<5)) { features |= SkCpu::AVX2; } in read_cpu_features()
56 if (abcd[1] & (1<<3)) { features |= SkCpu::BMI1; } in read_cpu_features()
57 if (abcd[1] & (1<<8)) { features |= SkCpu::BMI2; } in read_cpu_features()
60 if (abcd[1] & (1<<16)) { features |= SkCpu::AVX512F; } in read_cpu_features()
61 if (abcd[1] & (1<<17)) { features |= SkCpu::AVX512DQ; } in read_cpu_features()
62 if (abcd[1] & (1<<21)) { features |= SkCpu::AVX512IFMA; } in read_cpu_features()
63 if (abcd[1] & (1<<26)) { features |= SkCpu::AVX512PF; } in read_cpu_features()
64 if (abcd[1] & (1<<27)) { features |= SkCpu::AVX512ER; } in read_cpu_features()
65 if (abcd[1] & (1<<28)) { features |= SkCpu::AVX512CD; } in read_cpu_features()
66 if (abcd[1] & (1<<30)) { features |= SkCpu::AVX512BW; } in read_cpu_features()
67 if (abcd[1] & (1<<31)) { features |= SkCpu::AVX512VL; } in read_cpu_features()