3 ms·
"Hand-optimized code: 800% speedup" It really depends. Especially in how naively the "non-optimized" code was written. I can see vectorization accelerate fro
by raverbashing 13y ago
"Hand-optimized code: 800% speedup"
It really depends.
Especially in how naively the "non-optimized" code was written.
I can see vectorization accelerate from 2x to 4x (per core), but not much more than that (which the Intel compiler does best)
But even GCC can vectorize better today than in the early days of 4.0
- sounds 13y agoSure, it depends. I've seen embarrassingly parallel (yeah, that's a real term) code with speedups in the 20's. My personal best was a 9x speedup, partly by using SSSE3 and partly by some really good prefetching and non-temporal writes. If you look at what I said in the very narrowest light, I agree that SSE2 all by itself typically delivers a 2x speedup per core over non-SSE code.