Home
last modified time | relevance | path

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

/external/virglrenderer/src/gallium/auxiliary/util/
Du_cpu_detect.c343 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/gallium/auxiliary/util/
Du_cpu_detect.c403 uint32_t regs2[4]; in util_cpu_detect() local
413 cpuid (0x00000001, regs2); in util_cpu_detect()
415 util_cpu_caps.x86_cpu_type = (regs2[0] >> 8) & 0xf; in util_cpu_detect()
417 … util_cpu_caps.x86_cpu_type = 8 + ((regs2[0] >> 20) & 255); /* use extended family (P4, IA64) */ in util_cpu_detect()
420 util_cpu_caps.has_tsc = (regs2[3] >> 4) & 1; /* 0x0000010 */ in util_cpu_detect()
421 util_cpu_caps.has_mmx = (regs2[3] >> 23) & 1; /* 0x0800000 */ in util_cpu_detect()
422 util_cpu_caps.has_sse = (regs2[3] >> 25) & 1; /* 0x2000000 */ in util_cpu_detect()
423 util_cpu_caps.has_sse2 = (regs2[3] >> 26) & 1; /* 0x4000000 */ in util_cpu_detect()
424 util_cpu_caps.has_sse3 = (regs2[2] >> 0) & 1; /* 0x0000001 */ in util_cpu_detect()
425 util_cpu_caps.has_ssse3 = (regs2[2] >> 9) & 1; /* 0x0000020 */ in util_cpu_detect()
[all …]
/external/linux-kselftest/tools/testing/selftests/kvm/x86_64/
Devmcs_test.c79 struct kvm_regs regs1, regs2; in main() local
151 memset(&regs2, 0, sizeof(regs2)); in main()
152 vcpu_regs_get(vm, VCPU_ID, &regs2); in main()
153 TEST_ASSERT(!memcmp(&regs1, &regs2, sizeof(regs2)), in main()
155 (ulong) regs2.rdi, (ulong) regs2.rsi); in main()
Dstate_test.c128 struct kvm_regs regs1, regs2; in main() local
190 memset(&regs2, 0, sizeof(regs2)); in main()
191 vcpu_regs_get(vm, VCPU_ID, &regs2); in main()
192 TEST_ASSERT(!memcmp(&regs1, &regs2, sizeof(regs2)), in main()
194 (ulong) regs2.rdi, (ulong) regs2.rsi); in main()
/external/syzkaller/sys/linux/
Dbpf.txt230 regs2 const[0, int8]
242 regs2 const[0, int8]