Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 committed Apr 1, 2016
1 parent 282b71f commit 528ffb3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 406 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
@@ -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.
Expand Down
127 changes: 0 additions & 127 deletions sysdeps/powerpc/powerpc64/strcspn.S

This file was deleted.

135 changes: 0 additions & 135 deletions sysdeps/powerpc/powerpc64/strpbrk.S

This file was deleted.

0 comments on commit 528ffb3

Please sign in to comment.