Home
last modified time | relevance | path

Searched refs:has_avx (Results 1 – 2 of 2) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/util/
Du_cpu_detect.c662 util_cpu_caps.has_avx = 0; in check_cpu_caps_override()
684 util_cpu_caps.has_avx = 0; in check_cpu_caps_override()
686 if (!util_cpu_caps.has_avx) { in check_cpu_caps_override()
716 } else if (util_cpu_caps.has_avx) { in check_max_vector_bits()
864 util_cpu_caps.has_avx = ((regs2[2] >> 28) & 1) && // AVX in _util_cpu_detect_once()
867 util_cpu_caps.has_f16c = ((regs2[2] >> 29) & 1) && util_cpu_caps.has_avx; in _util_cpu_detect_once()
868 util_cpu_caps.has_fma = ((regs2[2] >> 12) & 1) && util_cpu_caps.has_avx; in _util_cpu_detect_once()
885 if (util_cpu_caps.has_avx) { in _util_cpu_detect_once()
919 util_cpu_caps.has_xop = util_cpu_caps.has_avx && in _util_cpu_detect_once()
971 printf("util_cpu_caps.has_avx = %u\n", util_cpu_caps.has_avx); in _util_cpu_detect_once()
Du_cpu_detect.h100 unsigned has_avx:1; member