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: OndÅej BÃlka <neleai at seznam dot cz>
- To: Liubov Dmitrieva <liubov dot dmitrieva at gmail dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Fri, 27 Sep 2013 20:12:13 +0200
- 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> <CAHjhQ915AbEGizEsbQxGOk1XbU3Y7-ME5rxVqdpDW1PJXXpVbw at mail dot gmail dot com>
On Thu, Sep 26, 2013 at 03:01:08PM +0400, Liubov Dmitrieva wrote:
> 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.
>
I added results for silvermont and haswell, a performance characteristic
are similar to one of ivy bridge.
http://kam.mff.cuni.cz/~ondra/benchmark_string/strstr_profile.html
I will post modification of this algorithm for ssse3 once this is
approved.