[PATCH] powerpc64: strrchr optimization for power8

Carlos Eduardo Seo cseo@linux.vnet.ibm.com
Tue Feb 21 17:02:00 GMT 2017



On 2/14/17, 9:05 AM, "Rajalakshmi Srinivasaraghavan" <libc-alpha-owner@sourceware.org on behalf of raji@linux.vnet.ibm.com> wrote:

    Changes from previous version [1]
    
      - Comments correction and alignment changes.
    
    --
    P7 code is used for <=32B strings and for > 32B vectorized loops are used.
    This shows as an average 25% improvement depending on the position of search
    character.  The performance is same for shorter strings.
    Tested on ppc64 and ppc64le.
    
LGTM.

--
Carlos Eduardo Seo
Software Engineer - Linux on Power Toolchain
cseo@linux.vnet.ibm.com
 





More information about the Libc-alpha mailing list