From: Szabolcs Nagy <nsz@port70.net>
To: musl@lists.openwall.com
Subject: Re: Re: [PATCH] Added ARM optimised memcpy implementation
Date: Fri, 1 Mar 2013 08:26:17 +0100 [thread overview]
Message-ID: <20130301072617.GP6181@port70.net> (raw)
In-Reply-To: <A879C957-AA17-4737-8268-55B1FB7BB840@gmail.com>
* nwmcsween@gmail.com <nwmcsween@gmail.com> [2013-02-28 19:14:28 -0800]:
> Hmm what does this do that builtins cannot? What I'm asking is why is this more preformant than preload + word-at-a-time.
>
musl uses naive memcpy if src and dst are not congruent (src%4 != dst%4)
the android asm takes care of that by fetching a 32bytes
from src into registers and dumping it into dst with
apropriate shifts
and in the congruent case 32byte alignment is used (cacheline aligned)
next prev parent reply other threads:[~2013-03-01 7:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-01 1:24 Andre Renaud
2013-03-01 1:27 ` Andre Renaud
2013-03-01 3:14 ` nwmcsween
2013-03-01 7:26 ` Szabolcs Nagy [this message]
2013-03-02 20:28 ` Andre Renaud
2013-03-07 21:48 ` Andre Renaud
2013-03-08 8:24 ` Szabolcs Nagy
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=20130301072617.GP6181@port70.net \
--to=nsz@port70.net \
--cc=musl@lists.openwall.com \
/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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
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).