4 ms·
LLVM and rustc are pretty fickle with what they'll autovectorize. The idea of faster is to make things which are impossible to autovectorize easy to write as SI
by vvimpcrvsh 9y ago
LLVM and rustc are pretty fickle with what they'll autovectorize. The idea of faster is to make things which are impossible to autovectorize easy to write as SIMD.
A few examples I'm targeting for the next point release are matrix determinants, cross products, byte-aligned encoding (like https://github.com/AdamNiederer/base100/blob/master/src/lib.rs https://github.com/AdamNiederer/base100/blob/master/src/lib....), and reductive operations like strcmp. AFAIK none of that can be autovectorized at all.