Initial inner loop optimization with intrinsics