FS#6528 - ARM optimised memcpy/memmove

Attached to Project: Rockbox
Opened by Daniel Ankers (dan_a) - Thursday, 11 January 2007, 22:19 GMT
Task Type Patches
Category Operating System/Drivers
Status Closed
Assigned To No-one
Operating System PortalPlayer-based
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


This patch adds the ARM optimised memcpy and memmove functions from glibc. It is almost a verbatim copy, with just a couple of changes to make it compile under Rockbox.

It increases the core size by nearly 1k, but I saw the CPU boost when playing MP3s on my 3G iPod drop below 100% for the first time ever with this patch.
This task depends upon

Closed by  Nicolas Pennequin (nicolas_p)
Sunday, 14 January 2007, 02:02 GMT
Reason for closing:  Accepted
Additional comments about closing:  Daniel committed this to SVN.
Comment by David Hall (Soap) - Saturday, 13 January 2007, 19:09 GMT
I performed each test three times.
Build 1 = 2007-01-13 SVN checkout + 64MB buffer patch on my (iPod 5th gen):
53 seconds to fill audio buffer and 70% boost @7 minutes into playback.

Build 2 = 2007-01-13 SVN checkout + 64MB buffer patch + this patch (on my iPod 5th gen):
47 seconds to fill audio buffer and 58% boost @7 minutes into playback.