Update isa.c
added comments to AVX 10 detection for both AVX10.1 and AVX10.2
diff --git a/src/x86/isa.c b/src/x86/isa.c
index 36383f5..37c6217 100644
--- a/src/x86/isa.c
+++ b/src/x86/isa.c
@@ -432,12 +432,14 @@
isa.avx512f = avx512_regs && !!(structured_feature_info0.ebx & UINT32_C(0x00010000));
/*
- * AVX 10.1 instructions:
+ * AVX 10.1 instructions: avx 10 isa supported.
+ * - Intel: edx[bit 19] in structured feature info (ecx = 1).
*/
isa.avx10_1 = avx512_regs && !!(structured_feature_info1.edx & UINT32_C(0x00080000));
/*
- * AVX 10.2 instructions:
+ * AVX 10.2 instructions: avx 10 version information.
+ * - Intel: ebx[bits 0-7] in structured features info (eax = 24 ecx = 0).
*/
isa.avx10_2 = !!((structured_feature_info2.ebx & UINT32_C(0x000000FF)) >= 2) && isa.avx10_1;