Lines Matching defs:EDX

596   unsigned EAX = 0, EBX = 0, ECX = 0, EDX = 0;
602 if (getX86CpuIDAndInfo(0, MaxLeaf, &EBX, &ECX, &EDX) || *MaxLeaf < 1)
606 if (EBX == 0x756e6547 && EDX == 0x49656e69 && ECX == 0x6c65746e)
610 if (EBX == 0x68747541 && EDX == 0x69746e65 && ECX == 0x444d4163)
1260 static void getAvailableFeatures(unsigned ECX, unsigned EDX, unsigned MaxLeaf,
1268 if ((EDX >> 15) & 1)
1270 if ((EDX >> 23) & 1)
1272 if ((EDX >> 25) & 1)
1274 if ((EDX >> 26) & 1)
1303 bool HasAVX = ((ECX & AVXBits) == AVXBits) && !getX86XCR0(&EAX, &EDX) &&
1319 MaxLeaf >= 0x7 && !getX86CpuIDAndInfoEx(0x7, 0x0, &EAX, &EBX, &ECX, &EDX);
1363 if (HasLeaf7 && ((EDX >> 2) & 1) && HasAVX512Save)
1365 if (HasLeaf7 && ((EDX >> 3) & 1) && HasAVX512Save)
1367 if (HasLeaf7 && ((EDX >> 8) & 1) && HasAVX512Save)
1374 !getX86CpuIDAndInfoEx(0x7, 0x1, &EAX, &EBX, &ECX, &EDX);
1379 getX86CpuIDAndInfo(0x80000000, &MaxExtLevel, &EBX, &ECX, &EDX);
1382 !getX86CpuIDAndInfo(0x80000001, &EAX, &EBX, &ECX, &EDX);
1390 if (HasExtLeaf1 && ((EDX >> 29) & 1))
1400 unsigned EAX = 0, EBX = 0, ECX = 0, EDX = 0;
1401 getX86CpuIDAndInfo(0x1, &EAX, &EBX, &ECX, &EDX);
1406 getAvailableFeatures(ECX, EDX, MaxLeaf, Features);
1812 unsigned EAX = 0, EBX = 0, ECX = 0, EDX = 0;
1816 if (getX86CpuIDAndInfo(0, &MaxLevel, &EBX, &ECX, &EDX) || MaxLevel < 1)
1819 getX86CpuIDAndInfo(1, &EAX, &EBX, &ECX, &EDX);
1821 Features["cx8"] = (EDX >> 8) & 1;
1822 Features["cmov"] = (EDX >> 15) & 1;
1823 Features["mmx"] = (EDX >> 23) & 1;
1824 Features["fxsr"] = (EDX >> 24) & 1;
1825 Features["sse"] = (EDX >> 25) & 1;
1826 Features["sse2"] = (EDX >> 26) & 1;
1843 bool HasXSave = ((ECX >> 27) & 1) && !getX86XCR0(&EAX, &EDX);
1865 getX86CpuIDAndInfo(0x80000000, &MaxExtLevel, &EBX, &ECX, &EDX);
1868 !getX86CpuIDAndInfo(0x80000001, &EAX, &EBX, &ECX, &EDX);
1879 Features["64bit"] = HasExtLeaf1 && ((EDX >> 29) & 1);
1884 !getX86CpuIDAndInfo(0x80000008, &EAX, &EBX, &ECX, &EDX);
1890 MaxLevel >= 7 && !getX86CpuIDAndInfoEx(0x7, 0x0, &EAX, &EBX, &ECX, &EDX);
1933 Features["uintr"] = HasLeaf7 && ((EDX >> 5) & 1);
1935 HasLeaf7 && ((EDX >> 8) & 1) && HasAVX512Save;
1936 Features["serialize"] = HasLeaf7 && ((EDX >> 14) & 1);
1937 Features["tsxldtrk"] = HasLeaf7 && ((EDX >> 16) & 1);
1941 // bit of EDX), while the EAX=0x1b leaf returns information on the
1948 Features["pconfig"] = HasLeaf7 && ((EDX >> 18) & 1);
1949 Features["amx-bf16"] = HasLeaf7 && ((EDX >> 22) & 1) && HasAMXSave;
1950 Features["avx512fp16"] = HasLeaf7 && ((EDX >> 23) & 1) && HasAVX512Save;
1951 Features["amx-tile"] = HasLeaf7 && ((EDX >> 24) & 1) && HasAMXSave;
1952 Features["amx-int8"] = HasLeaf7 && ((EDX >> 25) & 1) && HasAMXSave;
1957 !getX86CpuIDAndInfoEx(0x7, 0x1, &EAX, &EBX, &ECX, &EDX);
1969 Features["avxvnniint8"] = HasLeaf7Subleaf1 && ((EDX >> 4) & 1) && HasAVXSave;
1970 Features["avxneconvert"] = HasLeaf7Subleaf1 && ((EDX >> 5) & 1) && HasAVXSave;
1971 Features["amx-complex"] = HasLeaf7Subleaf1 && ((EDX >> 8) & 1) && HasAMXSave;
1972 Features["avxvnniint16"] = HasLeaf7Subleaf1 && ((EDX >> 10) & 1) && HasAVXSave;
1973 Features["prefetchi"] = HasLeaf7Subleaf1 && ((EDX >> 14) & 1);
1974 Features["usermsr"] = HasLeaf7Subleaf1 && ((EDX >> 15) & 1);
1975 bool HasAVX10 = HasLeaf7Subleaf1 && ((EDX >> 19) & 1);
1976 bool HasAPXF = HasLeaf7Subleaf1 && ((EDX >> 21) & 1);
1987 !getX86CpuIDAndInfoEx(0xd, 0x1, &EAX, &EBX, &ECX, &EDX);
1995 !getX86CpuIDAndInfoEx(0x14, 0x0, &EAX, &EBX, &ECX, &EDX);
2000 MaxLevel >= 0x19 && !getX86CpuIDAndInfo(0x19, &EAX, &EBX, &ECX, &EDX);
2004 !getX86CpuIDAndInfoEx(0x1e, 0x1, &EAX, &EBX, &ECX, &EDX);
2012 MaxLevel >= 0x24 && !getX86CpuIDAndInfo(0x24, &EAX, &EBX, &ECX, &EDX);