Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Correctly check for AVX support in x64CPUDetect
It's not enough to check for the CPUID bit to know if AVX is supported since AVX requires OS support (new set of registers == more registers to be saved when context switching). If the OS does not support, the cpuid bit will still be set but using YMM registers will cause an illegal exception fault.
- Loading branch information