This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PATCH: Improve 32 bit memchr, memrchr, rawmemchr with SSE2
- From: Ulrich Drepper <drepper at gmail dot com>
- To: Dmitrieva Liubov <liubov dot dmitrieva at gmail dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Fri, 7 Oct 2011 11:44:39 -0400
- Subject: Re: PATCH: Improve 32 bit memchr, memrchr, rawmemchr with SSE2
- References: <CAHjhQ93pc2GC_L7hx6DiNzE9w26f9FetPQk8X9n+VCJ1YOanWQ@mail.gmail.com>
On Mon, Sep 12, 2011 at 11:43, Dmitrieva Liubov
<liubov.dmitrieva@gmail.com> wrote:
> Â Â Â Â* string/memchr.c
> Â Â Â Â(MEMCHR): New macro.
> Â Â Â Â* string/rawmemchr.c
> Â Â Â Â(RAWMEMCHR): New macro.
Why would you need this? The fallback should be the implementation in
sysdeps/i386. If that implementation is bad then it should be fixed
up or removed. But I guess you just copied what is done for other
functions.