Skip to content
- SSE instructions are processor specific. You can look up which processor supports which SSE version on wikipedia.
- If SSE code will be faster or not depends on many factors: The first is of course whether the problem is memory-bound or CPU-bound. If the memory bus is the bottleneck SSE will not help much. Try simplifying your integer calculations, if that makes the code faster, it’s probably CPU-bound, and you have a good chance of speeding it up.
- Be aware that writing SIMD-code is a lot harder than writing C++-code, and that the resulting code is much harder to change. Always keep the C++ code up to date, you’ll want it as a comment and to check the correctness of your assembler code.
- Think about using a library like the IPP, that implements common low-level SIMD operations optimized for various processors.
Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)