This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug string/23709] New: glibc 2.27 lacks sse2 optimized strstr()
- From: "paul.borile at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 25 Sep 2018 12:14:59 +0000
- Subject: [Bug string/23709] New: glibc 2.27 lacks sse2 optimized strstr()
- Auto-submitted: auto-generated
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.