[PATCH] ARM: NEON detected memcpy.

Shih-Yuan Lee (FourDollars) sylee@canonical.com
Wed Apr 3 07:58:00 GMT 2013


Hi,

I am working on the NEON detected memcpy.
This is based on what Siarhei Siamashka did at 2009 [1].

The idea is to use HWCAP and check NEON bit.
If there is a NEON bit, using NEON optimized memcpy.
If not, using the original memcpy instead.

If using NEON optimized memcpy, the performance of memcpy will be
raised up by about 50% [2].

How do you think about this idea? Any comment is welcome.

[1]: http://sourceware.org/ml/libc-ports/2009-07/msg00003.html
[2]: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka13544.html

Regards,
$4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ARM-NEON-optimized-implementation-of-memcpy.patch
Type: application/octet-stream
Size: 4198 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-ports/attachments/20130403/9b7b50d0/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-ARM-NEON-detected-memcpy.patch
Type: application/octet-stream
Size: 4577 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-ports/attachments/20130403/9b7b50d0/attachment-0001.obj>


More information about the Libc-ports mailing list