| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2016-04-01 | Use PTR_ALIGN_DOWN on strcspn and strspn | Adhemerval Zanella | 1 | -1/+3 | |
| Tested on aarch64. * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN. * string/strspn.c (strspn): Likewise. | |||||
| 2016-04-01 | Improve generic strspn performance | Adhemerval Zanella | 1 | -15/+42 | |
| As for strcspn, this patch improves strspn performance using a much faster algorithm. It first constructs a 256-entry table based on the accept string and then uses it as a lookup table for the input string. As for strcspn optimization, it is generally at least 10 times faster than the existing implementation on bench-strspn on a few AArch64 implementations. Also the string/bits/string2.h inlines make no longer sense, as current implementation will already implement most of the optimizations. Tested on x86_64, i686, and aarch64. * string/strspn.c (strcspn): Rewrite function. * string/bits/string2.h (strspn): Use __builtin_strcspn. (__strspn_c1): Remove inline function. (__strspn_c2): Likewise. (__strspn_c3): Likewise. * string/string-inlines.c [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add compatibility symbol. [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2): Likewise. [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3): Likewise. | |||||
| 2016-01-04 | Update copyright dates with scripts/update-copyrights. | Joseph Myers | 1 | -1/+1 | |
| 2015-01-02 | Update copyright dates with scripts/update-copyrights. | Joseph Myers | 1 | -1/+1 | |
| 2014-03-11 | PowerPC: strspn optimization for PPC64/POWER7 | Vidya Ranganathan | 1 | -3/+4 | |
| The optimization is achieved by following techniques: > hashing of needle. > hashing avoids scanning of duplicate entries in needle across the string. > initializing the hash table with Vector instructions (VSX) by quadword access. > unrolling when scanning for character in string across hash table. | |||||
| 2014-01-01 | Update copyright notices with scripts/update-copyrights | Allan McRae | 1 | -1/+1 | |
| 2013-01-02 | Update copyright notices with scripts/update-copyrights. | Joseph Myers | 1 | -1/+1 | |
| 2012-02-09 | Replace FSF snail mail address with URLs. | Paul Eggert | 1 | -3/+2 | |
| 2005-12-14 | Moved to csu/errno-loc.c. | Ulrich Drepper | 1 | -0/+47 | |
| 2004-12-22 | (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. | Ulrich Drepper | 1 | -47/+0 | |
| 2007-07-12 | 2.5-18.1 | Jakub Jelinek | 1 | -0/+47 | |
