Lines Matching defs:regs
474 uint32_t regs[4];
516 cpuid(0x00000001, regs);
517 unsigned apic_id = regs[1] >> 24;
521 if (regs[3] & (1 << 28))
522 core_count = (regs[1] >> 16) & 0xff;
527 cpuid_count(0x8000001D, 3, regs);
528 unsigned cache_level = (regs[0] >> 5) & 0x7;
529 unsigned cores_per_L3 = ((regs[0] >> 14) & 0xfff) + 1;
685 uint32_t regs[4];
691 cpuid(0x00000000, regs);
693 if (regs[0] >= 0x00000001) {
745 if (util_cpu_caps.has_avx && regs[0] >= 0x00000007) {
768 if (regs[1] == 0x756e6547 && regs[2] == 0x6c65746e && regs[3] == 0x49656e69) {
773 cpuid(0x80000000, regs);
775 if (regs[0] >= 0x80000001) {
788 if (regs[0] >= 0x80000006) {