Lines Matching refs:ecx
55 uint32_t eax, ebx, ecx, edx; in detect_vm_cpuid() local
61 if (__get_cpuid(1, &eax, &ebx, &ecx, &edx) == 0) in detect_vm_cpuid()
64 hypervisor = ecx & 0x80000000U; in detect_vm_cpuid()
73 __cpuid(0x40000000U, eax, ebx, ecx, edx); in detect_vm_cpuid()
76 sig.sig32[1] = ecx; in detect_vm_cpuid()
959 uint32_t eax, ebx, ecx, edx; in real_has_cpu_with_flag() local
961 if (__get_cpuid(1, &eax, &ebx, &ecx, &edx)) { in real_has_cpu_with_flag()
962 if (given_flag_in_set(flag, leaf1_ecx, ELEMENTSOF(leaf1_ecx), ecx)) in real_has_cpu_with_flag()
969 if (__get_cpuid(7, &eax, &ebx, &ecx, &edx)) { in real_has_cpu_with_flag()
974 if (__get_cpuid(0x80000001U, &eax, &ebx, &ecx, &edx)) { in real_has_cpu_with_flag()
975 if (given_flag_in_set(flag, leaf81_ecx, ELEMENTSOF(leaf81_ecx), ecx)) in real_has_cpu_with_flag()
982 if (__get_cpuid(0x80000007U, &eax, &ebx, &ecx, &edx)) in real_has_cpu_with_flag()