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

Paul Stephen Borile paul.borile at gmail.com
Wed Sep 26 14:43:25 UTC 2018


** Description changed:

  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 ?
+ Looks like the indirect function part of glibc is not working correctly
+ : any test I can do to spot the problem ?
+ 
  Best
  -Paul

-- 
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

  Looks like the indirect function part of glibc is not working
  correctly : any test I can do to spot the problem ?

  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