Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a2e2803e authored by Trilok Soni's avatar Trilok Soni Committed by Avaneesh Kumar Dwivedi
Browse files

arm: optimize memcpy_{from,to}io() and memset_io



Optimize memcpy_{from,to}io() and memset_io() by transferring in
double words as much as possible with minimized barrier usage.
This simplest optimization brings faster throughput compare to
current byte-by-byte read and write with barrier in the loop.
This patch is based on arm64 optimization.

Change-Id: Ib0b67ba516c25a17047314ff916a348db07350e9
Signed-off-by: default avatarTrilok Soni <tsoni@codeaurora.org>
parent 4fc46136
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment