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: "Carlos O'Donell" <carlos at redhat dot com>
- To: Adhemerval Zanella <azanella at linux dot vnet dot ibm dot com>
- Cc: "GNU C. Library" <libc-alpha at sourceware dot org>
- Date: Fri, 06 Sep 2013 00:32:32 -0400
- 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> <52295A9D dot 3050501 at redhat dot com>
On 09/06/2013 12:31 AM, Carlos O'Donell wrote:
> On 09/05/2013 09:13 AM, Adhemerval Zanella 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.
>
> Any reason not to contribute your memrchr test as a regression test? :-)
Well that's what I get for reading the list mail backwards.
I saw your post with the test case.
Thanks!
c.