klogg
klogg copied to clipboard
Add check for required CPU instructions support
Klogg requires SSE2, SSSE3 and SSE4 instructions to be supported by CPU. However, instead of crashing we should check for supported CPU during installation and at program start (might not be always possible).
https://docs.microsoft.com/en-us/cpp/intrinsics/cpuid-cpuidex?redirectedfrom=MSDN&view=msvc-160
https://gcc.gnu.org/onlinedocs/gcc-4.8.2/gcc/X86-Built-in-Functions.html
Checks on startup should prevent some crashes. Checks in installer will be later