This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] powerpc: strcasecmp/strncasecmp optmization for power8 [BZ 20327]
- From: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- To: Tulio Magno Quites Machado Filho <tuliom at linux dot vnet dot ibm dot com>, Rajalakshmi Srinivasaraghavan <raji at linux dot vnet dot ibm dot com>, Florian Weimer <fweimer at redhat dot com>, libc-alpha at sourceware dot org
- Date: Tue, 5 Jul 2016 11:32:40 -0300
- Subject: Re: [PATCH] powerpc: strcasecmp/strncasecmp optmization for power8 [BZ 20327]
- Authentication-results: sourceware.org; auth=none
- References: <1461919871-30348-1-git-send-email-raji@linux.vnet.ibm.com> <87eg809a1i.fsf@totoro.br.ibm.com> <575FD251.7010705@linux.vnet.ibm.com> <6b38e864-0607-0bba-ff18-617f536f4146@redhat.com> <577BA36D.5060601@linux.vnet.ibm.com> <87vb0kfal3.fsf@totoro.br.ibm.com>
On 05/07/2016 11:01, Tulio Magno Quites Machado Filho wrote:
> Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com> writes:
>
>> On 07/04/2016 07:46 PM, Florian Weimer wrote:
>>> On 06/14/2016 11:45 AM, Rajalakshmi Srinivasaraghavan wrote:
>> Subject: [PATCH] POWER8: Fix return code of strcasecmp for unaligned inputs
>
> Could you replace POWER8 by powerpc, please?
>
>> If the input values are unaligned and if there are null characters in the
>> memory before the starting address of the input values, strcasecmp
>> gives incorrect return code. Fixed it by adding mask the bits that
>> are not part of the string.
>>
>> Tested on ppc64 and ppc64le.
>
> Despite this being a bug fix, I believe we need the approval from Adhemerval
> before integrating it during the freeze window.
>
Bugfixes are ok for current phase and I was sorting out the release blockers
yesterday. I will send a message about it in a couple of hours.