| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2017-01-01 | Update copyright dates with scripts/update-copyrights. | Joseph Myers | 1 | -1/+1 | |
| 2016-04-01 | Use PTR_ALIGN_DOWN on strcspn and strspn | Adhemerval Zanella | 1 | -1/+2 | |
| Tested on aarch64. * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN. * string/strspn.c (strspn): Likewise. | |||||
| 2016-04-01 | Improve generic strcspn performance | Wilco Dijkstra | 1 | -8/+38 | |
| Improve strcspn performance using a much faster algorithm. It is kept simple so it works well on most targets. It is generally at least 10 times faster than the existing implementation on bench-strcspn on a few AArch64 implementations, and for some tests 100 times as fast (repeatedly calling strchr on a small string is extremely slow...). In fact the string/bits/string2.h inlines make no longer sense, as GCC already uses strlen if reject is an empty string, strchrnul is 5 times as fast as __strcspn_c1, while __strcspn_c2 and __strcspn_c3 are slower than the strcspn main loop for large strings (though reject length 2-4 could be special cased in the future to gain even more performance). Tested on x86_64, i686, and aarch64. * string/Version (libc): Add GLIBC_2.24. * string/strcspn.c (strcspn): Rewrite function. * string/bits/string2.h (strcspn): Use __builtin_strcspn. (__strcspn_c1): Remove inline function. (__strcspn_c2): Likewise. (__strcspn_c3): Likewise. * string/string-inline.c [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add compatibility symbol. [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2): Likewise. [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3): Likewise. * sysdeps/i386/string-inlines.c: Include generic string-inlines.c. | |||||
| 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-20 | PowerPC: optimized strcspn for PPC64/POWER7 | Adhemerval Zanella | 1 | -15/+6 | |
| This patch add a optimized strcspn for POWER7 by using a different algorithm than default implementation: it constructs a table based on the 'accept' argument and use this table to check for any occurance on the input string. The idea is similar as x86_64 uses. For PowerPC some tunings were added, such as unroll loops and align stack memory to table to 16 bytes (so VSX clean can ran without alignment issues). | |||||
| 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/+51 | |
| 2004-12-22 | (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. | Ulrich Drepper | 1 | -51/+0 | |
| 2007-07-12 | 2.5-18.1 | Jakub Jelinek | 1 | -0/+51 | |
