I’d like to introduce some SSE commands to my C++ code. Such as this one:
http://msdn.microsoft.com/en-us/library/afh0zf75(v=VS.80).aspx
If I understand correctly, I have to set the floating point precision to single in order to use this kind of commands. Am I right?
If so, where do I do that? I work with visual studio 2010 and checked:
project->properties->c/c++->code generation->Floating point model
The options there are:
Precise (/fp:precise)
Strict (/fp:Strict )
Fast (/fp:Fast )
Fast=2 (/fp:Fast = 2)
Is the one before last option the one I need? If not, what should I do?
Thanks!!!
No, you just use it. Include the header, and use the instruction.