aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64/strlen.S
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2022-07-12 12:29:01 -0700
committerNoah Goldstein <goldstein.w.n@gmail.com>2022-07-13 14:55:31 -0700
commit58e6cd4bcbe9f29949f1545953a17145bf732aa0 (patch)
treed7b1785858dee9ebb7cee91d6881127125b352cf /sysdeps/x86_64/strlen.S
parent60a583ec601351c7d9b026e6a62ee6bab0cbf80b (diff)
downloadglibc-58e6cd4bcbe9f29949f1545953a17145bf732aa0.zip
glibc-58e6cd4bcbe9f29949f1545953a17145bf732aa0.tar.gz
glibc-58e6cd4bcbe9f29949f1545953a17145bf732aa0.tar.bz2
x86: Move strlen SSE2 implementation to multiarch/strlen-sse2.S
This commit doesn't affect libc.so.6, its just housekeeping to prepare for adding explicit ISA level support. Tested build on x86_64 and x86_32 with/without multiarch.
Diffstat (limited to 'sysdeps/x86_64/strlen.S')
-rw-r--r--sysdeps/x86_64/strlen.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/x86_64/strlen.S b/sysdeps/x86_64/strlen.S
index e1f0b19..c2f5674 100644
--- a/sysdeps/x86_64/strlen.S
+++ b/sysdeps/x86_64/strlen.S
@@ -16,6 +16,7 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
-#include "multiarch/strlen-vec.S"
+#define STRLEN strlen
+#include "multiarch/strlen-sse2.S"
libc_hidden_builtin_def (strlen)