about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-05-18 14:02:02 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-05-18 14:02:02 -0700
commita7fbedff76494b5b694f647e9c681cf8988056ce (patch)
tree9a5a4855137419b9e3e5985c1e95ffb875133cb6 /sysdeps
parentce79740bdbccea312df6cfcf70689efb57792fc9 (diff)
downloadglibc-a7fbedff76494b5b694f647e9c681cf8988056ce.tar.gz
glibc-a7fbedff76494b5b694f647e9c681cf8988056ce.tar.xz
glibc-a7fbedff76494b5b694f647e9c681cf8988056ce.zip
Correct comments in x86_64/multiarch/memcmp.S
	* sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
	comments.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/x86_64/multiarch/memcmp.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/x86_64/multiarch/memcmp.S b/sysdeps/x86_64/multiarch/memcmp.S
index 82623173d6..6129820093 100644
--- a/sysdeps/x86_64/multiarch/memcmp.S
+++ b/sysdeps/x86_64/multiarch/memcmp.S
@@ -56,9 +56,9 @@ END(memcmp)
 
 # ifdef SHARED
 #  undef libc_hidden_builtin_def
-/* IFUNC doesn't work with the hidden functions in shared library since
-   they will be called without setting up EBX needed for PLT which is
-   used by IFUNC.  */
+/* It doesn't make sense to send libc-internal memcmp calls through a PLT.
+   The speedup we get from using SSE4 instructions is likely eaten away
+   by the indirect call in the PLT.  */
 #  define libc_hidden_builtin_def(name) \
 	.globl __GI_memcmp; __GI_memcmp = __memcmp_sse2
 # endif