public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
To: libc-alpha@sourceware.org
Subject: Re: [PATCH] powerpc64: strrchr optimization for power8
Date: Tue, 28 Feb 2017 07:32:00 -0000	[thread overview]
Message-ID: <00958c35-0b2d-60c9-f618-cfcd185710e8@linux.vnet.ibm.com> (raw)
In-Reply-To: <139ea9b7-005d-fd33-a223-fe36fc995f4d@redhat.com>



On 02/20/2017 09:36 PM, Carlos O'Donell wrote:
> On 02/20/2017 11:01 AM, Rajalakshmi Srinivasaraghavan wrote:
>>
>>
>> On 02/20/2017 07:12 PM, Carlos O'Donell wrote:
>>> On 02/14/2017 06:05 AM, Rajalakshmi Srinivasaraghavan wrote:
>>>> P7 code is used for <=32B strings and for > 32B vectorized loops are used.
>>>> This shows as an average 25% improvement depending on the position of search
>>>> character.  The performance is same for shorter strings.
>>>> Tested on ppc64 and ppc64le.
>>> What did you use to test the 25% improvement?
>>
>> This improvement is seen when compared to power7. Benchtest is
>> modified to use length from 0 to 400  to find the average for
>> different lengths.
>
> Could you post your modifications for review an explain your
> process in a little more detail. I'm curious about the changes
> you made.

Carlos,
Posted benchtest modification here:
https://sourceware.org/ml/libc-alpha/2017-02/msg00380.html
-- 
Thanks
Rajalakshmi S

  parent reply	other threads:[~2017-02-28  7:32 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-14 11:06 Rajalakshmi Srinivasaraghavan
2017-02-20 13:10 ` Gabriel F. T. Gomes
2017-02-20 13:43 ` Carlos O'Donell
2017-02-20 16:01   ` Rajalakshmi Srinivasaraghavan
2017-02-20 16:06     ` Carlos O'Donell
2017-02-20 16:50       ` Rajalakshmi Srinivasaraghavan
2017-02-28  7:32       ` Rajalakshmi Srinivasaraghavan [this message]
2017-03-09  6:14         ` Rajalakshmi Srinivasaraghavan
2017-03-17 15:38           ` Carlos O'Donell
2017-03-20  8:39             ` Rajalakshmi Srinivasaraghavan
2017-03-20 16:34               ` Carlos O'Donell
2017-03-21  5:15             ` Rajalakshmi Srinivasaraghavan
2017-04-03 15:30             ` Tulio Magno Quites Machado Filho
2017-04-17 15:20               ` Carlos O'Donell
2017-02-21 17:02 ` Carlos Eduardo Seo
  -- strict thread matches above, loose matches on Subject: below --
2017-02-09  5:01 Rajalakshmi Srinivasaraghavan
2017-02-09 15:26 ` Gabriel F. T. Gomes
2017-02-13 16:18 ` Peter Bergner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=00958c35-0b2d-60c9-f618-cfcd185710e8@linux.vnet.ibm.com \
    --to=raji@linux.vnet.ibm.com \
    --cc=libc-alpha@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).