Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
好吧,我想知道 C++ 是否可以检查计算机是否具有SSE4、SSE5和Cool 'n' Quiet。这是可能的?如何?我看到了isProcessorFeaturePresent但我没有看到任何关于那里的内容。
您可以通过检查cpuid处理器功能标志来做到这一点,msdn 页面__cpuid有一个关于枚举它们的长示例
cpuid
__cpuid