Searched refs:cpu_info1 (Results 1 – 3 of 3) sorted by relevance
/external/libvpx/libvpx/third_party/libyuv/source/ |
D | cpu_id.cc | 200 int cpu_info1[4] = {0, 0, 0, 0}; in GetCpuFlags() local 203 CpuId(1, 0, cpu_info1); in GetCpuFlags() 207 cpu_info = kCpuHasX86 | ((cpu_info1[3] & 0x04000000) ? kCpuHasSSE2 : 0) | in GetCpuFlags() 208 ((cpu_info1[2] & 0x00000200) ? kCpuHasSSSE3 : 0) | in GetCpuFlags() 209 ((cpu_info1[2] & 0x00080000) ? kCpuHasSSE41 : 0) | in GetCpuFlags() 210 ((cpu_info1[2] & 0x00100000) ? kCpuHasSSE42 : 0) | in GetCpuFlags() 214 if (((cpu_info1[2] & 0x1c000000) == 0x1c000000) && // AVX and OSXSave in GetCpuFlags() 217 ((cpu_info1[2] & 0x00001000) ? kCpuHasFMA3 : 0) | in GetCpuFlags() 218 ((cpu_info1[2] & 0x20000000) ? kCpuHasF16C : 0); in GetCpuFlags()
|
/external/libyuv/files/source/ |
D | cpu_id.cc | 222 uint32 cpu_info1[4] = {0, 0, 0, 0}; in InitCpuFlags() local 225 CpuId(1, 0, cpu_info1); in InitCpuFlags() 229 cpu_info = kCpuHasX86 | ((cpu_info1[3] & 0x04000000) ? kCpuHasSSE2 : 0) | in InitCpuFlags() 230 ((cpu_info1[2] & 0x00000200) ? kCpuHasSSSE3 : 0) | in InitCpuFlags() 231 ((cpu_info1[2] & 0x00080000) ? kCpuHasSSE41 : 0) | in InitCpuFlags() 232 ((cpu_info1[2] & 0x00100000) ? kCpuHasSSE42 : 0) | in InitCpuFlags() 236 if (((cpu_info1[2] & 0x1c000000) == 0x1c000000) && // AVX and OSXSave in InitCpuFlags() 239 ((cpu_info1[2] & 0x00001000) ? kCpuHasFMA3 : 0) | in InitCpuFlags() 240 ((cpu_info1[2] & 0x20000000) ? kCpuHasF16C : 0); in InitCpuFlags()
|
/external/libaom/libaom/third_party/libyuv/source/ |
D | cpu_id.cc | 203 uint32 cpu_info1[4] = { 0, 0, 0, 0 }; in InitCpuFlags() local 206 CpuId(1, 0, cpu_info1); in InitCpuFlags() 210 cpu_info_ = ((cpu_info1[3] & 0x04000000) ? kCpuHasSSE2 : 0) | in InitCpuFlags() 211 ((cpu_info1[2] & 0x00000200) ? kCpuHasSSSE3 : 0) | in InitCpuFlags() 212 ((cpu_info1[2] & 0x00080000) ? kCpuHasSSE41 : 0) | in InitCpuFlags() 213 ((cpu_info1[2] & 0x00100000) ? kCpuHasSSE42 : 0) | in InitCpuFlags() 215 ((cpu_info1[2] & 0x00001000) ? kCpuHasFMA3 : 0) | in InitCpuFlags() 219 if ((cpu_info1[2] & 0x18000000) == 0x18000000 && // AVX and OSSave in InitCpuFlags()
|