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 6/7] Use SSE optimized strcmp in x86-64 ld.so


On Tue, Aug 25, 2015 at 07:35:50AM -0700, H.J. Lu wrote:
> On Tue, Aug 25, 2015 at 7:00 AM, OndÅej BÃlka <neleai@seznam.cz> wrote:
> > On Tue, Aug 25, 2015 at 05:24:08AM -0700, H.J. Lu wrote:
> >> Since ld.so preserves vector registers now, we can SSE optimized strcmp
> >> in x86-64 ld.so.
> >>
> >> OK for master?
> >>
> > Not completely, while I agree that we should use optimized strcmp I
> > think that better default would be strcmp_sse2_unaligned.
> >
> > Its best for processors from core2 upwards and works everywhere as it
> > uses only sse2.
> >
> > I forgot to ask about changing that when I submitted that patch.
> 
> I think it is a good idea to make strcmp_sse2_unaligned as the
> default and uses __strcmp_sse2 if Fast_Unaligned_Load is
> off.
>
Which does some thing as ifunc, but its possible.


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