Hacker News new | ask | show | jobs
by spiznnx 4101 days ago
Why stop at -O3? If you're going to compare with vectorized asm, you can get the compiler to use avx vector instructions in its optimizations. Add -mavx to your flags and the vector instructions will show up there as well.