How do I enable the SSE/SSE2 instruction set in Visual Studio 2008 (using CMake)?

后端 未结 4 1169
庸人自扰
庸人自扰 2021-01-11 11:39

In Visual Studio 2005 I went in:

View --> Property Pages --> C/C++ --> Code Generation --> Enable Enhanced Instruction Set

But in Visual Studio 200

4条回答
  •  抹茶落季
    2021-01-11 12:03

    If you are using inline assembler __asm { .... } you don't need to enable it.

    But if you enable SSE you have to be careful. It may be that the code is slower than normal FPU code.

提交回复
热议问题