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.17-811-gd086fc7


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  d086fc7ba0d4b58c9db901780cb8adf415e1f2b5 (commit)
      from  747ef469ffc9c9179ca9d76854167925b4e44346 (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=d086fc7ba0d4b58c9db901780cb8adf415e1f2b5

commit d086fc7ba0d4b58c9db901780cb8adf415e1f2b5
Author: Liubov Dmitrieva <liubov.dmitrieva@intel.com>
Date:   Fri Jun 14 20:46:15 2013 +0200

    Set fast unaligned load flag for new Intel microarchitecture
    
    I have small patch for new Intel Silvermont machines.
    
    http://newsroom.intel.com/community/intel_newsroom/blog/2013/05/06/intel-launches-low-power-high-performance-silvermont-microarchitecture
    
    I checked this on my machine and see that strcpy, ... unaligned
    versions are faster than ssse3 versions.

diff --git a/ChangeLog b/ChangeLog
index 77ac803..86d98f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
+
+	* sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
+	Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
+
 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
 	    H.J. Lu  <hjl.tools@gmail.com>
 
diff --git a/sysdeps/x86_64/multiarch/init-arch.c b/sysdeps/x86_64/multiarch/init-arch.c
index 7daaf46..9524aee 100644
--- a/sysdeps/x86_64/multiarch/init-arch.c
+++ b/sysdeps/x86_64/multiarch/init-arch.c
@@ -78,6 +78,13 @@ __init_cpu_features (void)
 	      __cpu_features.feature[index_Slow_BSF] |= bit_Slow_BSF;
 	      break;
 
+	    case 0x37:
+	      /* Unaligned load versions are faster than SSSE3
+		 on Silvermont.  */
+	      __cpu_features.feature[index_Fast_Unaligned_Load]
+		|= bit_Fast_Unaligned_Load;
+	      break;
+
 	    default:
 	      /* Unknown family 0x06 processors.  Assuming this is one
 		 of Core i3/i5/i7 processors if AVX is available.  */

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

Summary of changes:
 ChangeLog                            |    5 +++++
 sysdeps/x86_64/multiarch/init-arch.c |    7 +++++++
 2 files changed, 12 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]