aboutsummaryrefslogtreecommitdiff
path: root/string
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-01-10 18:00:51 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-02-06 16:19:35 -0300
commitd45890b28c8712dbbbb3a39da1eef952d4bf98d1 (patch)
treeb75a8f9d9a0f395e851417b1f75e6d864648ce89 /string
parentd1a9b6d8e736db997b5e825df92031645db5d96c (diff)
downloadglibc-d45890b28c8712dbbbb3a39da1eef952d4bf98d1.zip
glibc-d45890b28c8712dbbbb3a39da1eef952d4bf98d1.tar.gz
glibc-d45890b28c8712dbbbb3a39da1eef952d4bf98d1.tar.bz2
Parameterize OP_T_THRES from memcopy.h
It moves OP_T_THRES out of memcopy.h to its own header and adjust each architecture that redefines it. Checked with a build and check with run-built-tests=no for all major Linux ABIs. Co-authored-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> Reviewed-by: Carlos O'Donell <carlos@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'string')
-rw-r--r--string/memcmp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/string/memcmp.c b/string/memcmp.c
index ea0fa03..047ca4f 100644
--- a/string/memcmp.c
+++ b/string/memcmp.c
@@ -48,9 +48,6 @@
and store. Must be an unsigned type. */
# define OPSIZ (sizeof (op_t))
-/* Threshold value for when to enter the unrolled loops. */
-# define OP_T_THRES 16
-
/* Type to use for unaligned operations. */
typedef unsigned char byte;