01-19-2014, 07:29 AM
The real question is, why doesn't the C++ compiler optimize our (single) C++ code into those instruction sets? I'd very much prefer clean C++ code that would compile to slightly-less-than-ideal machine code, than squeeze out some 5 % of performance through such a huge code overhaul like this.
I know even VS2008 supports SSE2 instructions (at least it has a switch for them in the project properties UI), so it should be possible to have it output the optimized code somehow. It's more likely that we're not doing something right if our code doesn't get optimized.
I know even VS2008 supports SSE2 instructions (at least it has a switch for them in the project properties UI), so it should be possible to have it output the optimized code somehow. It's more likely that we're not doing something right if our code doesn't get optimized.