3 ms·
Recently I checked how different compilers vectorize various C++ standard algorithms: http://0x80.pl/notesen/2019-02-02-autovectorization-gcc-clang.html http://
by wmu 8y ago
Recently I checked how different compilers vectorize various C++ standard algorithms: http://0x80.pl/notesen/2019-02-02-autovectorization-gcc-clang.html http://0x80.pl/notesen/2019-02-02-autovectorization-gcc-clan...
You'll also find there a hint how to rewrite std::replace algorithm to make it vectorizable.