llvm-project
b6f210b2 - [X86] Correct CPUID checks for AVX10 (#172350)

Commit
35 days ago
[X86] Correct CPUID checks for AVX10 (#172350) This corrects a wrong condition for avx10 (AVX10Ver is always set to 0/1) and corrects how CPUID for avx10 is queried: per ISE table 1-3 we should query with EAX = 0x24 and ECX = 0x0 -- previously we omitted the latter. Issue reported by user Seraphimt here https://discourse.llvm.org/t/test-for-sys-gethostcpufeatures/89130
Author
Parents
Loading