3 ms·
LLVM is about on par with the GCC. You just keep moving variables around it decides the moons of Jupiter are properly positioned to vectorize your code. System
by valarauca1 11y ago
LLVM is about on par with the GCC. You just keep moving variables around it decides the moons of Jupiter are properly positioned to vectorize your code.
System intrinsics are always your best bet, just really annoying.
- vonmoltke 11y agoWe ended up doing some hand-rolled vectorization that way on the POWER7, because SIMD only really worked well if the data was aligned with the SIMD register width. Intel fixed that problem with a relatively low-cost unaligned load instruction.