This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] PowerPC: fix memrchr for POWER7
- From: Adhemerval Zanella <azanella at linux dot vnet dot ibm dot com>
- To: libc-alpha at sourceware dot org
- Date: Thu, 05 Sep 2013 11:34:18 -0300
- Subject: Re: [PATCH] PowerPC: fix memrchr for POWER7
- Authentication-results: sourceware.org; auth=none
- References: <52288372 dot 9060307 at linux dot vnet dot ibm dot com> <CAAKybw8nzWXkD4Pz8SFU8kK9Wi3bZDhgZZyGk_QqJpqGnOUgiw at mail dot gmail dot com>
On 05-09-2013 11:05, Ryan S. Arnold wrote:
> On Thu, Sep 5, 2013 at 8:13 AM, Adhemerval Zanella
> <azanella@linux.vnet.ibm.com> wrote:
>> My memrchr testcase uncovered a nasty bug in memrchr implementation for POWER7
>> that triggers an invalid memory access for in calculation of remaining bytes
>> for some large inputs.
>>
>> Tested on PPC32/POWER7 and PPC64/POWER7. Ok to apply?
> Yes, and please backport to 2.18.
>
> Ryan S. Arnold
>
Pushed as 5430fc65a118300b35a834a1112caea3441ff12e.