SIMD-enabled version of the primitive library