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 release/2.23/master updated. glibc-2.23-14-gb445647


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, release/2.23/master has been updated
       via  b4456470a64a1e4e466a98dca3b51bf63fb5a13c (commit)
      from  3ac64b00b596d9a7f1ab0ff8d7e191d6e01b2de7 (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=b4456470a64a1e4e466a98dca3b51bf63fb5a13c

commit b4456470a64a1e4e466a98dca3b51bf63fb5a13c
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.
    
    (cherry picked from commit 2b35e48c0c547b3f6f81996ce7ad7d67e24c7329)

diff --git a/ChangeLog b/ChangeLog
index 1417e38..a539098 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-03-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+	[BZ #19759]
+	* sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
+
 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
 
 	[BZ #19762]
diff --git a/NEWS b/NEWS
index 1b67919..663c716 100644
--- a/NEWS
+++ b/NEWS
@@ -14,6 +14,7 @@ Security related changes:
 The following bugs are resolved with this release:
 
   [19679] gcc-4.9.3 C++ exception handling broken due to unaligned stack
+  [19759] Don't inline mempcpy for x86
   [19762] Use HAS_ARCH_FEATURE with Fast_Rep_String
   [19792] MIPS: backtrace yields infinite backtrace with makecontext
 
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 +++++
 NEWS                      |    1 +
 sysdeps/x86/bits/string.h |    3 +++
 3 files changed, 9 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]