How to compile using SSE?

  • MiXih
    19th Oct 2010 Member 0 Permalink
    How to compile using SSE optimalizations?
  • pilojo
    19th Oct 2010 Member 0 Permalink
    I think it's a bit to complicated to try. But google was invented for a reason.
  • HolyExLxF
    19th Oct 2010 Member 0 Permalink
    Using Visual Studio?
  • devast8a
    19th Oct 2010 Former Staff 0 Permalink
    The performance gain isn't worth the effort.
  • HolyExLxF
    19th Oct 2010 Member 0 Permalink
    devast8a

    lol @ "effort"
    It's a flag in gcc and a checkbox in Visual Studio.
  • pilojo
    19th Oct 2010 Member 0 Permalink
    HolyExLxF
    Really? Which checkbox?
  • devast8a
    19th Oct 2010 Former Staff 0 Permalink
    HolyExLxF
    Dude, I once spent an entire page of text trying to explain to someone how to use Release mode.
    When I say effort, I mean effort in explaining it.
  • pilojo
    19th Oct 2010 Member 0 Permalink
    devast8a
    Haha. All you need for release mode is to do the wiki settings again while the box that says debug when you first follow the wiki says release. Either way. Can you tell me in a conversation or something which checkbox it is?
  • devast8a
    19th Oct 2010 Former Staff 0 Permalink
    pilojo
    Yeah... exactly what I mean.

    Under property page, go to C/C++ > Code Generation.
    It's the Enable Enhanced Instruction Set value you need to change.
    That's all I'm going to say.
  • pilojo
    19th Oct 2010 Member 0 Permalink
    devast8a
    I think I got it. I have two options.
    Streaming SIMD Extensions (/arch:SSE) (/arch:SSE) = SSE
    Streaming SIMD Extensions 2 (/arch:SSE2) (/arch:SSE2) = SSE2