Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | PowerPC: strncpy/stpncpy optimization for PPC64/POWER7 | Vidya Ranganathan | 2014-05-06 | 8 | -1/+231 |
| | | | | | | | | The optimization is achieved by following techniques: > data alignment [gain from aligned memory access on read/write] > POWER7 gains performance with loop unrolling/unwinding [gain by reduction of branch penalty]. > zero padding done by calling optimized memset | ||||
* | PowerPC: ifunc improvement for internal calls | Adhemerval Zanella | 2014-05-05 | 6 | -24/+48 |
| | | | | | | | This patch changes de default symbol redirection for internal call of memcpy, memset, memchr, and strlen to the IFUNC resolved ones. The performance improvement is noticeable in algorithms that uses these symbols extensible, like the regex functions. | ||||
* | PowerPC: optimized strpbrk for POWER7 | Adhemerval Zanella | 2014-03-20 | 5 | -1/+111 |
| | | | | | | | | | This patch add an optimized strpbrk 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 memory clear using VSX instructions. | ||||
* | PowerPC: optimized strcspn for PPC64/POWER7 | Adhemerval Zanella | 2014-03-20 | 5 | -1/+110 |
| | | | | | | | | | | 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). | ||||
* | PowerPC: Fix strspn for static build | Adhemerval Zanella | 2014-03-12 | 1 | -1/+1 |
| | | | | This patch makes the strspn ifunc selector build for static builds. | ||||
* | PowerPC: Fix bzero definition for static libc for PPC64 | Adhemerval Zanella | 2014-03-11 | 1 | -5/+6 |
| | | | | | | | | | This patch fixes an issue for powerpc64[le] static build where __bzero is definied in multiple places (memset-ppc64.o and bzero.o). It is now defined only in bzero.o and memset-ppc64.o only defined __bzero_ppc for both dynamic and static library. Fixes BZ#16683. | ||||
* | PowerPC: strspn optimization for PPC64/POWER7 | Vidya Ranganathan | 2014-03-11 | 5 | -1/+114 |
| | | | | | | | | 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. | ||||
* | PowerPC: strncat optimization for PPC64 | Adhemerval Zanella | 2014-03-10 | 5 | -1/+111 |
| | | | | | | | | The optimization is achieved by following techniques: 1. Doubleword aligned memory access and compares using cmpb instruction. 2. Loop unrolling for byte load/store. 3. CPU pre-fetch to avoid cache miss. | ||||
* | PowerPC: strrchr optimization for POWER7/PPC64 | Rajalakshmi Srinivasaraghavan | 2014-03-03 | 5 | -1/+117 |
| | | | | | | This patch optimizes strrchr() for ppc64. It uses aligned memory access along with cmpb instruction and CPU prefetch to avoid cache misses for speed improvement. | ||||
* | PowerPC: Fix compiler warnings | Adhemerval Zanella | 2014-01-03 | 4 | -4/+4 |
| | | | | | This patch fixes some compile warnings related to extra tokens at end of #undef directive from multilib patchset. | ||||
* | Update copyright notices with scripts/update-copyrights | Allan McRae | 2014-01-01 | 82 | -82/+82 |
| | |||||
* | PowerPC: multiarch stpcpy for PowerPC64 | Adhemerval Zanella | 2013-12-13 | 5 | -1/+130 |
| | |||||
* | PowerPC: multiarch strcpy for PowerPC64 | Adhemerval Zanella | 2013-12-13 | 5 | -1/+123 |
| | |||||
* | PowerPC: multiarch wordcopy for PowerPC64 | Adhemerval Zanella | 2013-12-13 | 5 | -1/+146 |
| | |||||
* | PowerPC: multiarch wcscpy for PowerPC64. | Adhemerval Zanella | 2013-12-13 | 6 | -1/+106 |
| | |||||
* | PowerPC: multiarch wcsrchr for PowerPC64 | Adhemerval Zanella | 2013-12-13 | 6 | -1/+107 |
| | |||||
* | PowerPC: multiarch wcschr for PowerPC64 | Adhemerval Zanella | 2013-12-13 | 6 | -1/+109 |
| | |||||
* | PowerPC: multiarch strchrnul for PowerPC64 | Adhemerval Zanella | 2013-12-13 | 5 | -1/+105 |
| | |||||
* | PowerPC: multiarch strchr for PowerPC64 | Adhemerval Zanella | 2013-12-13 | 6 | -1/+143 |
| | |||||
* | PowerPC: multiarch strncmp for PowerPC64 | Adhemerval Zanella | 2013-12-13 | 6 | -1/+169 |
| | |||||
* | PowerPC: multiarch strncasecmp for PowerPC64 | Adhemerval Zanella | 2013-12-13 | 6 | -1/+152 |
| | |||||
* | PowerPC: multiarch strcasecmp for PowerPC64 | Adhemerval Zanella | 2013-12-13 | 6 | -1/+182 |
| | |||||
* | PowerPC: multiarch strnlen for PowerPC64 | Adhemerval Zanella | 2013-12-13 | 5 | -1/+104 |
| | |||||
* | PowerPC: multiarch strlen for PowerPC64 | Adhemerval Zanella | 2013-12-13 | 5 | -1/+120 |
| | |||||
* | PowerPC: multiarch rawmemchr for PowerPC64 | Adhemerval Zanella | 2013-12-13 | 5 | -1/+102 |
| | |||||
* | PowerPC: multiarch memrchr for PowerPC64 | Adhemerval Zanella | 2013-12-13 | 5 | -1/+107 |
| | |||||
* | PowerPC: multiarch memchr for PowerPC64 | Adhemerval Zanella | 2013-12-13 | 5 | -1/+107 |
| | |||||
* | PowerPC: multiarch mempcpy for PowerPC64 | Adhemerval Zanella | 2013-12-13 | 5 | -1/+109 |
| | |||||
* | PowerPC: multiarch memset/bzero for PowerPC64 | Adhemerval Zanella | 2013-12-13 | 12 | -1/+377 |
| | |||||
* | PowerPC: multirach memcmp for PowerPC64 | Adhemerval Zanella | 2013-12-13 | 6 | -1/+166 |
| | |||||
* | PowerPC: multiarch memcpy for PowerPC64 | Adhemerval Zanella | 2013-12-13 | 10 | -0/+379 |