Skip to content
Permalink
Browse files

Remove powerpc64 strspn, strcspn, and strpbrk implementation

This patch removes the powerpc64 optimized strspn, strcspn, and
strpbrk assembly implementation now that the default C one
implements the same strategy.  On internal glibc benchtests
current implementations shows similar performance with -O2.

Tested on powerpc64le (POWER8).

	* sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
	* sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
	* sysdeps/powerpc/powerpc64/strspn.S: Remove file.
  • Loading branch information...
Adhemerval Zanella
Adhemerval Zanella committed Mar 28, 2016
1 parent 282b71f commit 528ffb3a04966ce5dbc24e256c1926087876b6f7
Showing with 4 additions and 406 deletions.
  1. +4 −0 ChangeLog
  2. +0 −127 sysdeps/powerpc/powerpc64/strcspn.S
  3. +0 −135 sysdeps/powerpc/powerpc64/strpbrk.S
  4. +0 −144 sysdeps/powerpc/powerpc64/strspn.S
@@ -1,5 +1,9 @@
2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>

* sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
* sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
* sysdeps/powerpc/powerpc64/strspn.S: Remove file.

* string/strpbrk.c (strpbrk): Rewrite function.
* string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
(__strpbrk_c2): Likewise.

This file was deleted.

This file was deleted.

0 comments on commit 528ffb3

Please sign in to comment.
You can’t perform that action at this time.