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 libc/12100] QoI regression: strstr() slowed from O(n) to O(n^2) on SSE4 machines


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

--- Comment #17 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  daa4db69fc5b8de46755c3da8a068d36ca8ad8c3 (commit)
      from  772e741ba5afede4892078102a620e30aeac0c87 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=daa4db69fc5b8de46755c3da8a068d36ca8ad8c3

commit daa4db69fc5b8de46755c3da8a068d36ca8ad8c3
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Aug 20 12:47:20 2015 -0700

    Remove the unused IFUNC files

    sysdeps/i386/i686/multiarch/strcasestr-c.c became unused after

    commit 1818483b15d22016b0eae41d37ee91cc87b37510
    Author: Andreas Schwab <schwab@suse.de>
    Date:   Wed Dec 18 11:53:27 2013 +1000

        Remove use of SSE4.2 functions for strstr on i686

    which contains

    -sysdep_routines += strcspn-c strpbrk-c strspn-c strstr-c strcasestr-c
    +sysdep_routines += strcspn-c strpbrk-c strspn-c

    sysdeps/x86_64/multiarch/strcasestr.c became useless after

    t 584b18eb4df61ccd447db2dfe8c8a7901f8c8598
    Author: OndÅej BÃlka <neleai@seznam.cz>
    Date:   Sat Dec 14 19:33:56 2013 +0100

        Add strstr with unaligned loads. Fixes bug 12100.

    which changes sysdeps/x86_64/multiarch/strcasestr.c to

    libc_ifunc (__strcasestr, __strcasestr_sse2);

    This patch removes these file.

        * i386/i686/multiarch/strcasestr-c.c: Removed.
        * x86_64/multiarch/strcasestr.c: Likewise.
        * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
        Remove strcasestr.

-----------------------------------------------------------------------

Summary of changes:
 sysdeps/i386/i686/multiarch/strcasestr-c.c |    4 ----
 sysdeps/x86_64/multiarch/ifunc-impl-list.c |    4 ----
 sysdeps/x86_64/multiarch/strcasestr.c      |   13 -------------
 3 files changed, 0 insertions(+), 21 deletions(-)
 delete mode 100644 sysdeps/i386/i686/multiarch/strcasestr-c.c
 delete mode 100644 sysdeps/x86_64/multiarch/strcasestr.c

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