3 ms·
My compiler knows SIMD. However, knowing the limitations of SIMD might help avoid a calculation that can't be optimized to use it.
by gblargg 3mo ago
My compiler knows SIMD. However, knowing the limitations of SIMD might help avoid a calculation that can't be optimized to use it.
- Jtarii 3mo agoYour compiler can vectorise trivial things, once your code gets complicated it will no longer vectorise.
- tmtvl 3mo agoOnce the code is complicated you don't need to make it more complicated lest it becomes unmaintainable.
- spider-mario 3mo agoIt really doesn’t take much complexity at all for autovectorisation to fail.