Search code examples
c++cpuprocessorinstructions

SSE4, SSE5 & AMD Cool n Quiet


Well, i we're wondering if C++ can check if the computer has SSE4, SSE5, and Cool 'n' Quiet. It's possible? How? I saw the isProcessorFeaturePresent but i don't see anything about those there.


Solution

  • You'd do this by checking the cpuid processor features flags, the msdn page for __cpuid has a long example on enumerating them