Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | powerpc: Add powerpc64 strpbrk optimization | Adhemerval Zanella | 2014-12-02 | 1 | -40/+0 |
| | | | | | | This patch makes the POWER7 optimized strpbrk generic by using default doubleword stores to zero the hash, instead of VSX instructions. Performance on POWER7/POWER8 does not change. | ||||
* | PowerPC: optimized strpbrk for POWER7 | Adhemerval Zanella | 2014-03-20 | 1 | -0/+40 |
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. |