diff options
-rw-r--r-- | README | 11 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | scripts/bench.py | 10 |
3 files changed, 18 insertions, 5 deletions
@@ -1,16 +1,19 @@ = Cortex-A String Routines = This package contains optimised string routines including memcpy(), -memset(), strcpy(), strlen(), and for the ARM Cortex-A series -of processors. Variants are available for the Cortex-A8 and -Cortex-A9, as well as variants that make use of the optional NEON -unit. +memset(), strcpy(), strlen() for the ARM Cortex-A series +of processors. These routines were optimised for the Cortex-A9, work +well on the Cortex-A8, and include variants that can make use of the +NEON SIMD unit. == Getting started == First configure and then install libcortex-strings.so. To make other applications use this library, either add -lcortex-strings to the link command or use LD_PRELOAD to load the library into existing applications. +Our intent is to get these routines into the common C libraries such +as GLIBC, Bionic, and Newlib. Your system may already include them! + == Contents == * src/ contains the routines themselves * tests/ contains the unit tests diff --git a/configure.ac b/configure.ac index 0e7a539..7669895 100644 --- a/configure.ac +++ b/configure.ac @@ -23,7 +23,7 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -AC_INIT(cortex-strings, 0.2~bzr) +AC_INIT(cortex-strings, 1.0~bzr) AM_INIT_AUTOMAKE(foreign subdir-objects color-tests) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_FILES(Makefile) diff --git a/scripts/bench.py b/scripts/bench.py index edbbc44..9678a01 100644 --- a/scripts/bench.py +++ b/scripts/bench.py @@ -1,5 +1,15 @@ #!/usr/bin/env python +"""Simple harness that benchmarks different variants of the routines, +caches the results, and emits all of the records at the end. + +Results are generated for different values of: + * Source + * Routine + * Length + * Alignment +""" + import subprocess import math import sys |