Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/mesa/src/util/
Du_cpu_detect.c823 uint32_t regs2[4]; in _util_cpu_detect_once() local
833 cpuid (0x00000001, regs2); in _util_cpu_detect_once()
835 util_cpu_caps.x86_cpu_type = (regs2[0] >> 8) & 0xf; in _util_cpu_detect_once()
838 util_cpu_caps.x86_cpu_type += ((regs2[0] >> 20) & 0xff); in _util_cpu_detect_once()
856 util_cpu_caps.has_mmx = (regs2[3] >> 23) & 1; /* 0x0800000 */ in _util_cpu_detect_once()
857 util_cpu_caps.has_sse = (regs2[3] >> 25) & 1; /* 0x2000000 */ in _util_cpu_detect_once()
858 util_cpu_caps.has_sse2 = (regs2[3] >> 26) & 1; /* 0x4000000 */ in _util_cpu_detect_once()
859 util_cpu_caps.has_sse3 = (regs2[2] >> 0) & 1; /* 0x0000001 */ in _util_cpu_detect_once()
860 util_cpu_caps.has_ssse3 = (regs2[2] >> 9) & 1; /* 0x0000020 */ in _util_cpu_detect_once()
861 util_cpu_caps.has_sse4_1 = (regs2[2] >> 19) & 1; in _util_cpu_detect_once()
[all …]