Page 1 of 1

Why no SSE2 on Windows?

Posted: Thu Apr 18, 2013 10:47 pm
by Hexenhammer
The Visual Studio project for 0.8.0 is set not to use SSE2. I just wonder why.
Lua uses "double" (C speak) as its native number type and SSE2 really speeds up all operations on doubles.

Re: Why no SSE2 on Windows?

Posted: Fri Apr 19, 2013 11:29 am
by Boolsheet
Because people still use Pentium II and Athlon XP processors.

Also, what I have seen is that MSVC's SSE2 code generator is shitty and is actually slower than its x87 code.

Re: Why no SSE2 on Windows?

Posted: Fri Apr 19, 2013 3:38 pm
by Hexenhammer
Thanks for the explanation!