This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] powerpc: Clean up strlen and strnlen for power8
- From: "Tulio Magno Quites Machado Filho" <tuliom at linux dot vnet dot ibm dot com>
- To: Rajalakshmi Srinivasaraghavan <raji at linux dot vnet dot ibm dot com>, libc-alpha at sourceware dot org
- Cc:
- Date: Fri, 30 Jun 2017 17:56:46 -0300
- Subject: Re: [PATCH] powerpc: Clean up strlen and strnlen for power8
- Authentication-results: sourceware.org; auth=none
- References: <1498628366-26658-1-git-send-email-raji@linux.vnet.ibm.com>
Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com> writes:
> To align a quadword aligned address to 64 bytes, maximum of three
> 16 bytes load is needed for worst case instead of loading four times.
>
> 2017-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
>
> * sysdeps/powerpc/powerpc64/power8/strlen.S: Remove unreachable code.
> * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
LGTM.
--
Tulio Magno