[PATCH] x86-64: Add memcmp/wmemcmp optimized with AVX2

H.J. Lu hjl.tools@gmail.com
Fri Jun 2 13:37:00 GMT 2017


On Thu, Jun 1, 2017 at 11:17 PM, Florian Weimer <fweimer@redhat.com> wrote:
> On 06/02/2017 12:29 AM, H.J. Lu wrote:
>> +     /* Use overlapping loads and bswap to avoid branches.  */
>
> This comment is outdated.  I think the commit message needs a bit of
> rewording, too.
>
> Have you benchmarked this version against the original one?
>

Yes, I did.  Performance difference is within noises.


-- 
H.J.



More information about the Libc-alpha mailing list