在Visual Studio中检测SSE/SSE2指令集的可用性 [英] Detect the availability of SSE/SSE2 instruction set in Visual Studio
本文介绍了在Visual Studio中检测SSE/SSE2指令集的可用性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在代码中检查Visual Studio编译器是否启用了SSE/SSE2?
How can I check in code whether SSE/SSE2 is enabled or not by the Visual Studio compiler?
我尝试了#ifdef __SSE__
,但是没有用.
I have tried #ifdef __SSE__
but it didn't work.
推荐答案
查看全文