This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Improve memcmp with unaligned loads.
- From: Florian Weimer <fweimer at redhat dot com>
- To: OndÅej BÃlka <neleai at seznam dot cz>, libc-alpha at sourceware dot org
- Date: Wed, 12 Feb 2014 13:20:58 +0100
- Subject: Re: [PATCH] Improve memcmp with unaligned loads.
- Authentication-results: sourceware.org; auth=none
- References: <20130918215808 dot GA31232 at domone>
On 09/18/2013 11:58 PM, OndÅej BÃlka wrote:
A solution come from bit unexpected direction, when I tried to implement
strcmp I noticed that a same idea applies to memcmp as well and this
gains us 10% in real workloads.
And more than that in some cases.
Can you add comments to the assembler version, indicating what each of
the section handles and documenting some of the tricks being used?
--
Florian Weimer / Red Hat Product Security Team