News for hackers. Stuff that matters.
Re:Incrementing vectors by masklinn on Tuesday August 27, 2019 @06:45AM (#20808122)
It does if you use iterators as totalperspectiv did in their alternate version https://godbolt.org/z/JpwcRN

Because Rust bounds-checks indexes, which likely breaks LLVM's vectorisation (you'd have to reimplement vectorisation & vectorised bounds-checking in MIR for it to work I guess e.g. bounds-check the entire chunk before applying the vectorised operation).

There are no comments on this comment yet.