Home
last modified time | relevance | path

Searched refs:cpu_info7 (Results 1 – 4 of 4) sorted by relevance

/external/libyuv/files/source/
Dcpu_id.cc213 int cpu_info7[4] = {0, 0, 0, 0}; in GetCpuFlags() local
217 CpuId(7, 0, cpu_info7); in GetCpuFlags()
223 ((cpu_info7[1] & 0x00000200) ? kCpuHasERMS : 0); in GetCpuFlags()
228 cpu_info |= kCpuHasAVX | ((cpu_info7[1] & 0x00000020) ? kCpuHasAVX2 : 0) | in GetCpuFlags()
234 cpu_info |= (cpu_info7[1] & 0x40000000) ? kCpuHasAVX512BW : 0; in GetCpuFlags()
235 cpu_info |= (cpu_info7[1] & 0x80000000) ? kCpuHasAVX512VL : 0; in GetCpuFlags()
236 cpu_info |= (cpu_info7[2] & 0x00000002) ? kCpuHasAVX512VBMI : 0; in GetCpuFlags()
237 cpu_info |= (cpu_info7[2] & 0x00000040) ? kCpuHasAVX512VBMI2 : 0; in GetCpuFlags()
238 cpu_info |= (cpu_info7[2] & 0x00001000) ? kCpuHasAVX512VBITALG : 0; in GetCpuFlags()
239 cpu_info |= (cpu_info7[2] & 0x00004000) ? kCpuHasAVX512VPOPCNTDQ : 0; in GetCpuFlags()
[all …]
/external/libvpx/libvpx/third_party/libyuv/source/
Dcpu_id.cc201 int cpu_info7[4] = {0, 0, 0, 0}; in GetCpuFlags() local
205 CpuId(7, 0, cpu_info7); in GetCpuFlags()
211 ((cpu_info7[1] & 0x00000200) ? kCpuHasERMS : 0); in GetCpuFlags()
216 cpu_info |= kCpuHasAVX | ((cpu_info7[1] & 0x00000020) ? kCpuHasAVX2 : 0) | in GetCpuFlags()
222 cpu_info |= (cpu_info7[1] & 0x40000000) ? kCpuHasAVX512BW : 0; in GetCpuFlags()
223 cpu_info |= (cpu_info7[1] & 0x80000000) ? kCpuHasAVX512VL : 0; in GetCpuFlags()
224 cpu_info |= (cpu_info7[2] & 0x00000002) ? kCpuHasAVX512VBMI : 0; in GetCpuFlags()
225 cpu_info |= (cpu_info7[2] & 0x00000040) ? kCpuHasAVX512VBMI2 : 0; in GetCpuFlags()
226 cpu_info |= (cpu_info7[2] & 0x00001000) ? kCpuHasAVX512VBITALG : 0; in GetCpuFlags()
227 cpu_info |= (cpu_info7[2] & 0x00004000) ? kCpuHasAVX512VPOPCNTDQ : 0; in GetCpuFlags()
[all …]
/external/libaom/libaom/third_party/libyuv/source/
Dcpu_id.cc204 uint32 cpu_info7[4] = { 0, 0, 0, 0 }; in InitCpuFlags() local
208 CpuId(7, 0, cpu_info7); in InitCpuFlags()
214 ((cpu_info7[1] & 0x00000200) ? kCpuHasERMS : 0) | in InitCpuFlags()
221 cpu_info_ |= ((cpu_info7[1] & 0x00000020) ? kCpuHasAVX2 : 0) | in InitCpuFlags()
/external/libchrome/base/
Dcpu.cc158 int cpu_info7[4] = {0}; in Initialize() local
161 __cpuid(cpu_info7, 7); in Initialize()
195 has_avx2_ = has_avx_ && (cpu_info7[1] & 0x00000020) != 0; in Initialize()