path: root/COPYRIGHT
diff options
authorRich Felker <>2013-08-14 03:06:21 -0400
committerRich Felker <>2013-08-14 03:06:21 -0400
commitcccc1844be95549e5b6c91ffc1f2c2ba3d3aab16 (patch)
treebf9cd7643d50131983f17d4631432b70db274d9c /COPYRIGHT
parentfb72a97df9222be61ec582ba7b1e9ce496b65e3e (diff)
add arm-optimized memcpy implementation from bionic libc
the approach of this implementation was heavily investigated prior to adopting it. attempts to obtain similar performance with pure C code were capping out at about 75% of the performance of the asm, with considerably larger code size, and were fragile in that the compiler would sometimes compile part of memcpy into a call to itself. therefore, just using the asm seems to be the best option. this commit is the first to make use of the new subarch-specific asm framework. the new armel directory is the location for arm asm that should not be used for all arm subarchs, only the default one. armhf is the name of the little-endian hardfloat-ABI subarch, which can use the exact same asm. in both cases, the build system finds the asm by following a memcpy.sub file. the other two subarchs, armeb and armebhf, would need a big-endian variant of this code. it would not be hard to adapt the code to big endian, but I will hold off on doing so until there is demand for it.
Diffstat (limited to 'COPYRIGHT')
1 files changed, 4 insertions, 0 deletions
index 4bd99879..a3a495b9 100644
@@ -74,6 +74,10 @@ The powerpc port was also originally written by Richard Pennington,
and later supplemented and integrated by John Spencer. It is licensed
under the standard MIT terms.
+The ARM memcpy code is Copyright © 2008 The Android Open Source
+Project and is licensed under a two-clause BSD license. It was taken
+from Bionic libc, used on Android.
All other files which have no copyright comments are original works
Copyright © 2005-2013 Rich Felker, the main author of this library.
The decision to exclude such comments is intentional, as it should be