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] [x86_32] Don't use SSE4_2 instructions on Intel Silvermont Micro Architecture.


On Mon, Jul 1, 2013 at 12:27 PM, Liubov Dmitrieva
<liubov.dmitrieva@gmail.com> wrote:
> It is disabled for both. Where do you see it doesn't?
>

From:

http://sourceware.org/git/?p=glibc.git;a=blob_plain;f=sysdeps/i386/i686/multiarch/strcasecmp.S;hb=HEAD

I see __strcasecmp_sse4_2 is used when SHARED is define.

> --
> Liubov
>
> On Mon, Jul 1, 2013 at 7:12 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
>> On Mon, Jul 1, 2013 at 5:46 AM, Liubov Dmitrieva
>> <liubov.dmitrieva@gmail.com> wrote:
>>> It doesn't look very good when I summarized the results because there
>>> are too many small lengths cases in your benchmarks.
>>> And small cases are more inaccurate.
>>> Ssse3 looks asymptotically faster. Actually it would better to use
>>> sse2 unaligned versions for Silvermont but we don't have it in glibc
>>> at the moment.
>>> Bot sse4_2 and ssse3 are not the best for SLM.
>>>
>>
>> Why is SSE4.2 strcasecmp disabled only for libc.a,
>> not libc.so? Libc.so is used by most of applications.
>>
>>
>> --
>> H.J.



--
H.J.


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