SSE2 yes, but there are no packed AVX instructions in the output from 1.35 with `target-feature=+avx,+fma`, How do I force this without running a nightly build? Btw you have a couple of "target-features" in the examples in the target-feature section of the rustc docs that hinder the scan and copy pasta workflow.
The flags don't need nightly but the compiler only produces scalar SIMD instructions with them. Nightly appears to be needed to get the performance shown in this article, because I can't get near it with Rust stable.
2
u/steveklabnik1 May 26 '19
Note this article is old, see today: https://www.reddit.com/r/programming/comments/bsuurg/making_the_obvious_code_fast/eosxkeb/