3 ms·
Usually the compiler will probably not generate those
by saagarjha 5mo ago
Usually the compiler will probably not generate those
- bigfishrunning 5mo ago> Usually...probably... you're betting against the compiler ever improving.
- saagarjha 5mo agoThis would be a regression
- bigfishrunning 5mo agoWhy? 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?
- saagarjha 5mo agoIf you are using SIMD instructions on x86 you probably want the unaligned ones