A vector/SIMD (when available) implementation.