Inaccurate CPUID bits in : https://wiki.osdev.org/SSE
Posted: Sun Sep 18, 2022 12:12 pm
Faulty CPUID Bits written in osdev : https://wiki.osdev.org/SSE
Straight forward from the CPUID page in wikipedia, https://en.wikipedia.org/wiki/CPUID#EAX ... d_Features
- EDX[26] is the IBRS_IBPB / spec_ctrl features, not AVX2
- AVX2 is detected through CPUID [EAX=7, ECX=0] EBX Bit 5
- AVX512 Separated features are detected also through CPUIDEX 7, it is easier to detect AVX512 just by checking the AVX512F Bit (AVX-512 Foundation) in EBX[16] (SubFunction 0).
Devc1,
Straight forward from the CPUID page in wikipedia, https://en.wikipedia.org/wiki/CPUID#EAX ... d_Features
- EDX[26] is the IBRS_IBPB / spec_ctrl features, not AVX2
- AVX2 is detected through CPUID [EAX=7, ECX=0] EBX Bit 5
- AVX512 Separated features are detected also through CPUIDEX 7, it is easier to detect AVX512 just by checking the AVX512F Bit (AVX-512 Foundation) in EBX[16] (SubFunction 0).
Devc1,