Hacker News new | ask | show | jobs
by bigfishrunning 24 days ago
> Usually...probably...

you're betting against the compiler ever improving.

1 comments

This would be a regression
Why? Automatic vectorization is pretty bad and has been for years, but wouldn't it be nice if the compiler could unroll-loops and use SIMD instructions to make your code faster while also being correct?
If you are using SIMD instructions on x86 you probably want the unaligned ones