summaryrefslogtreecommitdiff
path: root/string/test
diff options
context:
space:
mode:
Diffstat (limited to 'string/test')
-rw-r--r--string/test/memcpy.c5
-rw-r--r--string/test/memmove.c5
-rw-r--r--string/test/memset.c5
3 files changed, 12 insertions, 3 deletions
diff --git a/string/test/memcpy.c b/string/test/memcpy.c
index fa15a95b2bda..dc95844bd45a 100644
--- a/string/test/memcpy.c
+++ b/string/test/memcpy.c
@@ -1,7 +1,7 @@
/*
* memcpy test.
*
- * Copyright (c) 2019-2022, Arm Limited.
+ * Copyright (c) 2019-2023, Arm Limited.
* SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
*/
@@ -31,6 +31,9 @@ static const struct fun
# if __ARM_FEATURE_SVE
F(__memcpy_aarch64_sve, 1)
# endif
+# if WANT_MOPS
+ F(__memcpy_aarch64_mops, 1)
+# endif
#elif __arm__
F(__memcpy_arm, 0)
#endif
diff --git a/string/test/memmove.c b/string/test/memmove.c
index 5d509c03affa..b85dd1e864ef 100644
--- a/string/test/memmove.c
+++ b/string/test/memmove.c
@@ -1,7 +1,7 @@
/*
* memmove test.
*
- * Copyright (c) 2019-2022, Arm Limited.
+ * Copyright (c) 2019-2023, Arm Limited.
* SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
*/
@@ -31,6 +31,9 @@ static const struct fun
# if __ARM_FEATURE_SVE
F(__memmove_aarch64_sve, 1)
# endif
+# if WANT_MOPS
+ F(__memmove_aarch64_mops, 1)
+# endif
#endif
{0, 0, 0}
// clang-format on
diff --git a/string/test/memset.c b/string/test/memset.c
index 5543f44bb026..7d09c267ffec 100644
--- a/string/test/memset.c
+++ b/string/test/memset.c
@@ -1,7 +1,7 @@
/*
* memset test.
*
- * Copyright (c) 2019-2020, Arm Limited.
+ * Copyright (c) 2019-2023, Arm Limited.
* SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
*/
@@ -25,6 +25,9 @@ static const struct fun
F(memset, 0)
#if __aarch64__
F(__memset_aarch64, 1)
+# if WANT_MOPS
+ F(__memset_aarch64_mops, 1)
+# endif
#elif __arm__
F(__memset_arm, 0)
#endif