From: Matt Turner <mattst88@gmail.com>
To: Helge Deller <deller@gmx.de>
Cc: linux-parisc <linux-parisc@vger.kernel.org>,
James Bottomley <James.Bottomley@hansenpartnership.com>,
John David Anglin <dave.anglin@bell.net>
Subject: Re: [PATCH] parisc: Add assembly implementations for strlen, strcpy, strncpy and strcat
Date: Thu, 7 Feb 2019 14:53:29 -0800 [thread overview]
Message-ID: <CAEdQ38Fz8knn-vn7BeDGNiddu14ouX-VCGb-F6VphbtExRxnKQ@mail.gmail.com> (raw)
In-Reply-To: <a2f5a38f-61bf-ec8a-b855-49f88b59905d@gmx.de>
On Thu, Feb 7, 2019 at 2:22 PM Helge Deller <deller@gmx.de> wrote:
>
>
> On 07.02.19 18:46, Matt Turner wrote:
> > On Wed, Feb 6, 2019 at 2:21 PM Helge Deller <deller@gmx.de> wrote:
> >>
> >> Add performance-optimized versions of the strlen, strcpy, strncpy and
> >> strcat string functions.
> >
> > Can you say anything else about them?
>
> No.
>
> > E.g., are you using some feature that the compiler isn't able to
> > generate?
>
> Some assembler instructions are used which the compiler doesn't
> use by default for such use cases.
>
> > Do you have performance data?
>
> Not yet.
> Maybe someone wants to do that?
>
> > Except for strlen, they look like straightforward translations of the
> > simple C implementations.
>
> The code is much smaller than what the compiler generates and
> the layout of the bytes-stores are targetted the behaviour of
> the parisc 64bit CPUs.
So is that the rationale? I'm not sure how anyone can offer review if
they don't know what you're trying to accomplish.
prev parent reply other threads:[~2019-02-07 22:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-06 22:21 [PATCH] parisc: Add assembly implementations for strlen, strcpy, strncpy and strcat Helge Deller
2019-02-07 16:24 ` Sven Schnelle
2019-02-07 17:46 ` Matt Turner
2019-02-07 22:21 ` Helge Deller
2019-02-07 22:53 ` Matt Turner [this message]
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=CAEdQ38Fz8knn-vn7BeDGNiddu14ouX-VCGb-F6VphbtExRxnKQ@mail.gmail.com \
--to=mattst88@gmail.com \
--cc=James.Bottomley@hansenpartnership.com \
--cc=dave.anglin@bell.net \
--cc=deller@gmx.de \
--cc=linux-parisc@vger.kernel.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 NNTP newsgroup(s).