Y
Hacker News
new
|
ask
|
show
|
jobs
by
saagarjha
27 days ago
Usually the compiler will probably not generate those
1 comments
bigfishrunning
27 days ago
> Usually...probably...
you're betting against the compiler ever improving.
link
saagarjha
27 days ago
This would be a regression
link
bigfishrunning
26 days ago
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?
link
saagarjha
26 days ago
If you are using SIMD instructions on x86 you probably want the unaligned ones
link
you're betting against the compiler ever improving.