News for hackers. Stuff that matters.
Re:Optimizations on Linear Search (2016) by formerly_proven on Saturday October 03, 2020 @12:26PM (#24673024)
There's really no point providing a hand-rolled SIMD implementation for stuff like std::max_element. It's a very trivial loop that any compiler can and will vectorize.

Auto-vectorization in general "just works" for basic stuff. It's only the complex stuff where you can really benefit from hand-rolled SIMD implementations; you'll know it when you see it.

There are no comments on this comment yet.