Searched refs:regs2 (Results 1 – 4 of 4) sorted by relevance
/external/virglrenderer/src/gallium/auxiliary/util/ |
D | u_cpu_detect.c | 343 uint32_t regs2[4]; in util_cpu_detect() local 353 cpuid (0x00000001, regs2); in util_cpu_detect() 355 util_cpu_caps.x86_cpu_type = (regs2[0] >> 8) & 0xf; in util_cpu_detect() 357 … util_cpu_caps.x86_cpu_type = 8 + ((regs2[0] >> 20) & 255); /* use extended family (P4, IA64) */ in util_cpu_detect() 360 util_cpu_caps.has_tsc = (regs2[3] >> 4) & 1; /* 0x0000010 */ in util_cpu_detect() 361 util_cpu_caps.has_mmx = (regs2[3] >> 23) & 1; /* 0x0800000 */ in util_cpu_detect() 362 util_cpu_caps.has_sse = (regs2[3] >> 25) & 1; /* 0x2000000 */ in util_cpu_detect() 363 util_cpu_caps.has_sse2 = (regs2[3] >> 26) & 1; /* 0x4000000 */ in util_cpu_detect() 364 util_cpu_caps.has_sse3 = (regs2[2] >> 0) & 1; /* 0x0000001 */ in util_cpu_detect() 365 util_cpu_caps.has_ssse3 = (regs2[2] >> 9) & 1; /* 0x0000020 */ in util_cpu_detect() [all …]
|
/external/mesa3d/src/util/ |
D | u_cpu_detect.c | 580 uint32_t regs2[4]; in util_cpu_detect_once() local 590 cpuid (0x00000001, regs2); in util_cpu_detect_once() 592 util_cpu_caps.x86_cpu_type = (regs2[0] >> 8) & 0xf; in util_cpu_detect_once() 595 util_cpu_caps.x86_cpu_type += ((regs2[0] >> 20) & 0xff); in util_cpu_detect_once() 610 util_cpu_caps.has_tsc = (regs2[3] >> 4) & 1; /* 0x0000010 */ in util_cpu_detect_once() 611 util_cpu_caps.has_mmx = (regs2[3] >> 23) & 1; /* 0x0800000 */ in util_cpu_detect_once() 612 util_cpu_caps.has_sse = (regs2[3] >> 25) & 1; /* 0x2000000 */ in util_cpu_detect_once() 613 util_cpu_caps.has_sse2 = (regs2[3] >> 26) & 1; /* 0x4000000 */ in util_cpu_detect_once() 614 util_cpu_caps.has_sse3 = (regs2[2] >> 0) & 1; /* 0x0000001 */ in util_cpu_detect_once() 615 util_cpu_caps.has_ssse3 = (regs2[2] >> 9) & 1; /* 0x0000020 */ in util_cpu_detect_once() [all …]
|
/external/linux-kselftest/tools/testing/selftests/kvm/x86_64/ |
D | evmcs_test.c | 76 struct kvm_regs regs1, regs2; in main() local 143 memset(®s2, 0, sizeof(regs2)); in main() 144 vcpu_regs_get(vm, VCPU_ID, ®s2); in main() 145 TEST_ASSERT(!memcmp(®s1, ®s2, sizeof(regs2)), in main() 147 (ulong) regs2.rdi, (ulong) regs2.rsi); in main()
|
D | state_test.c | 124 struct kvm_regs regs1, regs2; in main() local 185 memset(®s2, 0, sizeof(regs2)); in main() 186 vcpu_regs_get(vm, VCPU_ID, ®s2); in main() 187 TEST_ASSERT(!memcmp(®s1, ®s2, sizeof(regs2)), in main() 189 (ulong) regs2.rdi, (ulong) regs2.rsi); in main()
|