diff options
author | Wilco Dijkstra <wilco.dijkstra@arm.com> | 2020-05-20 17:00:43 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2020-05-20 18:18:32 +0100 |
commit | 0c9a5f3ef64fc801eb6d28971659867284c3000b (patch) | |
tree | f4e57c2378ee5fce601ef0d164d8c62fff4885b7 /string/test | |
parent | a99a1a9615b953b59e98fa22d780087a34a7e22b (diff) | |
download | arm-optimized-routines-0c9a5f3ef64fc801eb6d28971659867284c3000b.tar.gz |
string: Add optimized strcpy-mte and stpcpy-mte
Add optimized MTE-compatible strcpy-mte and stpcpy-mte. On various micro
architectures the speedup over the non-MTE version is 53% on large strings
and 20-60% on small strings.
Diffstat (limited to 'string/test')
-rw-r--r-- | string/test/stpcpy.c | 1 | ||||
-rw-r--r-- | string/test/strcpy.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/string/test/stpcpy.c b/string/test/stpcpy.c index de17df9..de51ad8 100644 --- a/string/test/stpcpy.c +++ b/string/test/stpcpy.c @@ -24,6 +24,7 @@ static const struct fun F(stpcpy) #if __aarch64__ F(__stpcpy_aarch64) + F(__stpcpy_aarch64_mte) # if __ARM_FEATURE_SVE F(__stpcpy_aarch64_sve) # endif diff --git a/string/test/strcpy.c b/string/test/strcpy.c index 753203f..b751661 100644 --- a/string/test/strcpy.c +++ b/string/test/strcpy.c @@ -23,6 +23,7 @@ static const struct fun F(strcpy) #if __aarch64__ F(__strcpy_aarch64) + F(__strcpy_aarch64_mte) # if __ARM_FEATURE_SVE F(__strcpy_aarch64_sve) # endif |