Lines Matching refs:ECX
487 static void getAvailableFeatures(unsigned ECX, unsigned EDX, unsigned MaxLeaf,
511 if ((ECX >> 0) & 1)
513 if ((ECX >> 1) & 1)
515 if ((ECX >> 9) & 1)
517 if ((ECX >> 12) & 1)
519 if ((ECX >> 19) & 1)
521 if ((ECX >> 20) & 1)
523 if ((ECX >> 23) & 1)
525 if ((ECX >> 25) & 1)
532 bool HasAVX = ((ECX & AVXBits) == AVXBits) && !getX86XCR0(&EAX, &EDX) &&
540 MaxLeaf >= 0x7 && !getX86CpuIDAndInfoEx(0x7, 0x0, &EAX, &EBX, &ECX, &EDX);
565 if (HasLeaf7 && ((ECX >> 1) & 1) && HasAVX512Save)
567 if (HasLeaf7 && ((ECX >> 6) & 1) && HasAVX512Save)
569 if (HasLeaf7 && ((ECX >> 8) & 1))
571 if (HasLeaf7 && ((ECX >> 10) & 1) && HasAVX)
573 if (HasLeaf7 && ((ECX >> 11) & 1) && HasAVX512Save)
575 if (HasLeaf7 && ((ECX >> 12) & 1) && HasAVX512Save)
577 if (HasLeaf7 && ((ECX >> 14) & 1) && HasAVX512Save)
586 getX86CpuIDAndInfo(0x80000000, &MaxExtLevel, &EBX, &ECX, &EDX);
589 !getX86CpuIDAndInfo(0x80000001, &EAX, &EBX, &ECX, &EDX);
590 if (HasExtLeaf1 && ((ECX >> 6) & 1))
592 if (HasExtLeaf1 && ((ECX >> 11) & 1))
594 if (HasExtLeaf1 && ((ECX >> 16) & 1))
639 unsigned EAX, EBX, ECX, EDX;
654 if (getX86CpuIDAndInfo(0, &MaxLeaf, &Vendor, &ECX, &EDX) || MaxLeaf < 1) {
658 getX86CpuIDAndInfo(1, &EAX, &EBX, &ECX, &EDX);
663 getAvailableFeatures(ECX, EDX, MaxLeaf, &Features, &Features2);