This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2] x86-64: AVX2 Optimize strcat/strcpy/stpcpy routines
> > strcpy did not change between versions, so we have the same
> > numbers.
> > strcpy code density was decrease considerably on this version
> > because
> > all preprocessor macros for non-strcpy functions were removed but
> > strcpy code remains the same.
>
> Okay, the question then is: Why not use strlen + memcpy for strcpy,
> too?
clearly, I did not bench enough for v2: This is the result [1] for 20-
run (mean values computed from the corresponding bench*.out files) for
the related functions. Clearly, the v1 wins most times.
v1 ok for master?
[1]
https://github.com/lsandoval/strcpy-comparison/blob/master/speedup-v1-v2.png
>
> Thanks,
> Florian