Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/util/
Du_cpu_detect.c342 uint32_t regs2[4]; in util_cpu_detect() local
352 cpuid (0x00000001, regs2); in util_cpu_detect()
354 util_cpu_caps.x86_cpu_type = (regs2[0] >> 8) & 0xf; in util_cpu_detect()
356 … util_cpu_caps.x86_cpu_type = 8 + ((regs2[0] >> 20) & 255); /* use extended family (P4, IA64) */ in util_cpu_detect()
359 util_cpu_caps.has_tsc = (regs2[3] >> 4) & 1; /* 0x0000010 */ in util_cpu_detect()
360 util_cpu_caps.has_mmx = (regs2[3] >> 23) & 1; /* 0x0800000 */ in util_cpu_detect()
361 util_cpu_caps.has_sse = (regs2[3] >> 25) & 1; /* 0x2000000 */ in util_cpu_detect()
362 util_cpu_caps.has_sse2 = (regs2[3] >> 26) & 1; /* 0x4000000 */ in util_cpu_detect()
363 util_cpu_caps.has_sse3 = (regs2[2] >> 0) & 1; /* 0x0000001 */ in util_cpu_detect()
364 util_cpu_caps.has_ssse3 = (regs2[2] >> 9) & 1; /* 0x0000020 */ in util_cpu_detect()
[all …]