This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.23-79-g2b35e48


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  2b35e48c0c547b3f6f81996ce7ad7d67e24c7329 (commit)
      from  183a34dc4a07cad723cd78e494d16a5ef0b6a63e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=2b35e48c0c547b3f6f81996ce7ad7d67e24c7329

commit 2b35e48c0c547b3f6f81996ce7ad7d67e24c7329
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Mar 8 10:57:31 2016 -0800

    Define _HAVE_STRING_ARCH_mempcpy to 1 for x86
    
    Since x86 has an optimized mempcpy and GCC can inline mempcpy on x86,
    define _HAVE_STRING_ARCH_mempcpy to 1 for x86.
    
    	[BZ #19759]
    	* sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.

diff --git a/ChangeLog b/ChangeLog
index 585c9c2..4a7e019 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+	[BZ #19759]
+	* sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
+
 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
 
 	* sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
diff --git a/sysdeps/x86/bits/string.h b/sysdeps/x86/bits/string.h
index e4e019f..8dfce05 100644
--- a/sysdeps/x86/bits/string.h
+++ b/sysdeps/x86/bits/string.h
@@ -23,6 +23,9 @@
 /* Use the unaligned string inline ABI.  */
 #define _STRING_INLINE_unaligned 1
 
+/* Don't inline mempcpy into memcpy as x86 has an optimized mempcpy.  */
+#define _HAVE_STRING_ARCH_mempcpy 1
+
 /* Enable inline functions only for i486 or better when compiling for
    ia32.  */
 #if !defined __x86_64__ && (defined __i486__ || defined __pentium__	      \

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                 |    5 +++++
 sysdeps/x86/bits/string.h |    3 +++
 2 files changed, 8 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]