aboutsummaryrefslogtreecommitdiff
path: root/string/test
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-08-26 16:08:53 -0300
committerSzabolcs Nagy <30925343+nsz-arm@users.noreply.github.com>2019-08-28 12:05:23 +0100
commitfbe165cbc1e6695bedfa6b981422e618dc157959 (patch)
tree249ac2755803469962520e59b25e16f9fa561101 /string/test
parentfe7ca84adb9f1119734995bf2415373ed3970757 (diff)
downloadarm-optimized-routines-fbe165cbc1e6695bedfa6b981422e618dc157959.tar.gz
Import aarch64 sve strchr and strchrnul
The only difference is changing the symbol name from strchr/strchrnul to __strchr_aarch64_sve and __strchrnul_aarch64_sve.
Diffstat (limited to 'string/test')
-rw-r--r--string/test/strchr.c3
-rw-r--r--string/test/strchrnul.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/string/test/strchr.c b/string/test/strchr.c
index b7e43d2..30c714f 100644
--- a/string/test/strchr.c
+++ b/string/test/strchr.c
@@ -21,6 +21,9 @@ static const struct fun
F(strchr)
#if __aarch64__
F(__strchr_aarch64)
+# if __ARM_FEATURE_SVE
+F(__strchr_aarch64_sve)
+# endif
#endif
#undef F
{0, 0}
diff --git a/string/test/strchrnul.c b/string/test/strchrnul.c
index 1d05845..c4260e6 100644
--- a/string/test/strchrnul.c
+++ b/string/test/strchrnul.c
@@ -23,6 +23,9 @@ static const struct fun
F(strchrnul)
#if __aarch64__
F(__strchrnul_aarch64)
+# if __ARM_FEATURE_SVE
+F(__strchrnul_aarch64_sve)
+# endif
#endif
#undef F
{0, 0}