4 ms·
Clang -O2 .. -O3 didn't seem to make any appreciable difference. Re. the auto-vectorization, I really don't know. I didn't even read the assembly the compile
by jesse__ 1y ago
Clang -O2
..
-O3 didn't seem to make any appreciable difference.
Re. the auto-vectorization, I really don't know. I didn't even read the assembly the compiler generated until at least halfway through the process. Generally I've found that you basically can't rely on the compiler auto vectorizing anything, ever, if it actually matters.