Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 1 Mar 2013 08:26:17 +0100
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: Re: [PATCH] Added ARM optimised memcpy implementation

* nwmcsween@...il.com <nwmcsween@...il.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)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.