Re:Flavors of SIMD
by jancsika on Tuesday February 19, 2019 @11:43AM
(#19200261)
If a failure of auto-vectorization in a hot code path decreases performance enough for the user to perceive it as a bug, then it seems like explicitly maintaining SIMD/NEON code-paths would be preferable to dealing with auto-vectorization black magic.
Re:Flavors of SIMD
by gnufx on Tuesday February 19, 2019 @06:29PM
(#19204058)
Vectorization failures (where vectorization would be correct) should be reported as a bug. Note that GCC has some parameters to tune vectorization about from forcing it with pragmas.
But I've never done either.