Lines Matching defs:EAX
257 static void detectX86FamilyModel(unsigned EAX, unsigned *Family,
259 *Family = (EAX >> 8) & 0xf; // Bits 8 - 11
260 *Model = (EAX >> 4) & 0xf; // Bits 4 - 7
264 *Family += (EAX >> 20) & 0xff; // Bits 20 - 27
266 *Model += ((EAX >> 16) & 0xf) << 4; // Bits 16 - 19
492 unsigned EAX, EBX;
532 bool HasAVX = ((ECX & AVXBits) == AVXBits) && !getX86XCR0(&EAX, &EDX) &&
533 ((EAX & 0x6) == 0x6);
534 bool HasAVX512Save = HasAVX && ((EAX & 0xe0) == 0xe0);
540 MaxLeaf >= 0x7 && !getX86CpuIDAndInfoEx(0x7, 0x0, &EAX, &EBX, &ECX, &EDX);
589 !getX86CpuIDAndInfo(0x80000001, &EAX, &EBX, &ECX, &EDX);
639 unsigned EAX, EBX, ECX, EDX;
658 getX86CpuIDAndInfo(1, &EAX, &EBX, &ECX, &EDX);
659 detectX86FamilyModel(EAX, &Family, &Model);