This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] powerpc: Optimized strcat for POWER8/PPC64
- From: OndÅej BÃlka <neleai at seznam dot cz>
- To: Adhemerval Zanella <azanella at linux dot vnet dot ibm dot com>
- Cc: "GNU C. Library" <libc-alpha at sourceware dot org>
- Date: Sat, 3 Jan 2015 11:10:44 +0100
- Subject: Re: [PATCH] powerpc: Optimized strcat for POWER8/PPC64
- Authentication-results: sourceware.org; auth=none
- References: <549AAEC6 dot 2090006 at linux dot vnet dot ibm dot com>
On Wed, Dec 24, 2014 at 10:17:10AM -0200, Adhemerval Zanella wrote:
> Hi,
>
> With new optimized strcpy for POWER8 [1], this patch adds an optimized
> strcat which uses it along with default implementation at strings/.
>
> I see good improvements over POWER7 version on POWER8 machine, specially
> for unaligned cases (where the new strcpy aims to optimize). Benchtests
> result in attachments.
>
> Tested on powerpc64 and powerpc64le.
>
So its just generic strcat where you use ifunc to avoid plt in strcpy
call. Seems ok.