This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Make strcmp optimized for SSE2 with unaligned load/store as default


On Tue, Aug 25, 2015 at 11:59 AM, Roland McGrath <roland@hack.frob.com> wrote:
> Making ld.so use the same code as libc should be a separate change from
> anything changing anything about the strcmp implementation itself.  The
> latter is billed as a performance improvement and so needs a report about
> the benchmarks or other performance analysis that justify it.

ld.so and libc use the same code in sysdeps/x86_64/strcmp.S.  When we
move sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S to
sysdeps/x86_64/strcmp.S to make it the default in libc,  it is used by ld.so.
To make ld.so not to use it requires extra work, which doesn't make any
senses.  If it is OK for libc, it should be OK for ld.so.

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]