[Bug 1793786] [NEW] libc6 2.27 lacks sse2 optimized strstr()

Paul Stephen Borile paul.borile at gmail.com
Fri Sep 21 16:17:58 UTC 2018


Public bug reported:

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

Is the removal of sse2 optimized code from strstr() an error of some kind ?
Best
-Paul

** Affects: glibc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1793786

Title:
  libc6 2.27 lacks sse2 optimized strstr()

Status in glibc package in Ubuntu:
  New

Bug description:
  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

  Is the removal of sse2 optimized code from strstr() an error of some kind ?
  Best
  -Paul

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1793786/+subscriptions



More information about the foundations-bugs mailing list