4 ms·
Wouldnt you get the SIMD stuff for free when compiling with `-O3` and `-march=native`? My guess would be that SIMD wouldn't improve this piece of code, because
by stabbles 9y ago
Wouldnt you get the SIMD stuff for free when compiling with `-O3` and `-march=native`?
My guess would be that SIMD wouldn't improve this piece of code, because all data is touched only once and the bottleneck is memory.
- Sharlin 9y agoAutovectorization is still largely an unsolved problem. In some cases, yes, but you shouldn't count on that.
- semi-extrinsic 9y agoSIMD is like people boarding an airplane. If you've gotten stuff lined up correctly, it's blazing fast, but usually you have a random mix that gives lots of idling.