This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH][BZ #12100] strstr with unaligned loads.
- From: Liubov Dmitrieva <liubov dot dmitrieva at gmail dot com>
- To: Ondřej Bílka <neleai at seznam dot cz>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 26 Sep 2013 15:01:08 +0400
- Subject: Re: [PATCH][BZ #12100] strstr with unaligned loads.
- Authentication-results: sourceware.org; auth=none
- References: <20130825090758 dot GA23686 at domone dot kolej dot mff dot cuni dot cz> <20130923183149 dot GB11240 at domone dot podge> <CAHjhQ917c-+1Y8wg=GZujB28RE6rm6RXRL74e5X7Mw=UcRc-AA at mail dot gmail dot com> <CAHjhQ93N2wwcMJFpJa-jTGbymTRkiBZKrNO-Zjs7oYeFs5v=Og at mail dot gmail dot com> <20130925133907 dot GA24924 at domone dot podge>
I can't run your tests on Haswell. It got Segmentation fault.
http://kam.mff.cuni.cz/~ondra/benchmark_string/strstr.html
The patch impacts Haswell and Silvermont because they use sse4_2
version and we should check there.
--
Liubov
On Wed, Sep 25, 2013 at 5:39 PM, OndÅej BÃlka <neleai@seznam.cz> wrote:
> On Wed, Sep 25, 2013 at 05:04:12PM +0400, Liubov Dmitrieva wrote:
>> Hi,
>>
>> I see performance results are unavailable here.
>> http://kam.mff.cuni.cz/~ondra/benchmark_string/strstr.html
>>
> I probably wrote bad address there, results are available here
> http://kam.mff.cuni.cz/~ondra/benchmark_string/strstr_profile.html
>> --
>> Liubov
>>
>>
>> > On Mon, Sep 23, 2013 at 10:31 PM, OndÅej BÃlka <neleai@seznam.cz> wrote:
>> >>
>> >> ping.
>> >> On Sun, Aug 25, 2013 at 11:07:58AM +0200, OndÅej BÃlka wrote:
>> >> > Hi,
>> >> >
>> >> > This patch continues to remove ineffective sse4.2 functions. Now we
>> >> > focus on strstr.
>> >> >
>> >> > I use a techique of doing vectorized search for first pair of characters
>> >> > which is fastest in practice.
>> >> >
>> >>
>> >
>