[PATCH] x86-64: Add memcmp/wmemcmp optimized with AVX2
H.J. Lu
hjl.tools@gmail.com
Mon Jun 5 17:37:00 GMT 2017
On Fri, Jun 2, 2017 at 6:37 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> 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.
>
I will check it in today.
--
H.J.
More information about the Libc-alpha
mailing list