about summary refs log tree commit diff
path: root/sysdeps/x86_64/multiarch/strcmp.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/strcmp.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/strcmp.S')
-rw-r--r--sysdeps/x86_64/multiarch/strcmp.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/x86_64/multiarch/strcmp.S b/sysdeps/x86_64/multiarch/strcmp.S
index 2f4bf17d95..37985036aa 100644
--- a/sysdeps/x86_64/multiarch/strcmp.S
+++ b/sysdeps/x86_64/multiarch/strcmp.S
@@ -1659,6 +1659,7 @@ LABEL(unaligned_table):
 # undef ENTRY
 # define ENTRY(name) \
 	.type STRCMP_SSE2, @function; \
+	.align 16; \
 	STRCMP_SSE2: cfi_startproc; \
 	CALL_MCOUNT
 # undef END