]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Enable Silvermont optimizations for Knights Landing
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 15 Dec 2015 19:46:54 +0000 (11:46 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 15 Dec 2015 19:46:54 +0000 (11:46 -0800)
Knights Landing processor is based on Silvermont.  This patch enables
Silvermont optimizations for Knights Landing.

* sysdeps/x86/cpu-features.c (init_cpu_features): Enable
Silvermont optimizations for Knights Landing.

ChangeLog
sysdeps/x86/cpu-features.c

index 7995a58067d38efab1938fd68cc6a4e73b93e65d..5bff90f88646a1f69d17aed96b60d8d7beaf7036 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
+       Silvermont optimizations for Knights Landing.
+
 2015-12-15  Andreas Schwab  <schwab@suse.de>
 
        [BZ #17197]
index fba3ef02a71f7fd2b3759cb0950b48ce72725a30..aff894cc1ee651226bb1aeea8962d78dd33f4852 100644 (file)
@@ -78,6 +78,9 @@ init_cpu_features (struct cpu_features *cpu_features)
              cpu_features->feature[index_Slow_BSF] |= bit_Slow_BSF;
              break;
 
+           case 0x57:
+             /* Knights Landing.  Enable Silvermont optimizations.  */
+
            case 0x37:
            case 0x4a:
            case 0x4d: