This is the mail archive of the glibc-bugs@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]

[Bug string/23709] New: glibc 2.27 lacks sse2 optimized strstr()


https://sourceware.org/bugzilla/show_bug.cgi?id=23709

            Bug ID: 23709
           Summary: glibc 2.27 lacks sse2 optimized strstr()
           Product: glibc
           Version: 2.27
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: string
          Assignee: unassigned at sourceware dot org
          Reporter: paul.borile at gmail dot com
  Target Milestone: ---

Hi,
looks like code using strstr() and libc-2.27 is running 4 times slower than was
with libc-2.23. Having a look at profiled code executed in various moments show
different versions of strstr :

- libc-2.27.so: strstr.c, str-two-way.h - this is current version ubuntu
18.04.1

Same code, profiled March 13, 2018 :

- libc-2.23.so: strstr-sse2-unaligned.S - this version was 4 times faster

Was the sse2 optimized code removed from strstr() in 2.27 ? Any plans to
reintroduce it ?

-Paul

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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