about summary refs log tree commit diff
path: root/sysdeps/x86_64/multiarch/strlen.S
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-07-03 03:01:57 -0700
committerUlrich Drepper <drepper@redhat.com>2009-07-03 03:01:57 -0700
commitd6485c981b2b5aa4eb7cedc1ed1508183cb686f8 (patch)
treea7ad0d4032ea0f219996198142f867f45580d554 /sysdeps/x86_64/multiarch/strlen.S
parent06e51c8f3de38761f8855700841bc49cf495c8c0 (diff)
downloadglibc-d6485c981b2b5aa4eb7cedc1ed1508183cb686f8.tar.gz
glibc-d6485c981b2b5aa4eb7cedc1ed1508183cb686f8.tar.xz
glibc-d6485c981b2b5aa4eb7cedc1ed1508183cb686f8.zip
Align functions to 16-byte boundary.
Some of the new multi-arch string functions for x86-64 were
not aligned to 16 byte boundarie,s possibly creating unnecessary
cache line misses and delays.
Diffstat (limited to 'sysdeps/x86_64/multiarch/strlen.S')
-rw-r--r--sysdeps/x86_64/multiarch/strlen.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/x86_64/multiarch/strlen.S b/sysdeps/x86_64/multiarch/strlen.S
index 79e6a977ec..82b03ccc28 100644
--- a/sysdeps/x86_64/multiarch/strlen.S
+++ b/sysdeps/x86_64/multiarch/strlen.S
@@ -77,6 +77,7 @@ __strlen_sse42:
 # undef ENTRY
 # define ENTRY(name) \
 	.type __strlen_sse2, @function; \
+	.align 16; \
 	__strlen_sse2: cfi_startproc; \
 	CALL_MCOUNT
 # undef END