fix detection of AVX10

This commit is contained in:
MITSUNARI Shigeo 2023-12-19 17:13:52 +09:00
parent 48551f5cc3
commit e2d36c662c

View file

@ -635,7 +635,7 @@ public:
if (EDX & (1U << 21)) type_ |= tAPX_F;
}
}
if (has(tAVX10) && maxNum >= 24) {
if (has(tAVX10) && maxNum >= 0x24) {
getCpuidEx(0x24, 0, data);
avx10version_ = EBX & mask(7);
}