aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-12-15 11:46:54 -0800
committerH.J. Lu <hjl.tools@gmail.com>2015-12-15 11:46:54 -0800
commitc9afcaaafaf9126a973883528eed8d0058a264c0 (patch)
tree52df5095ecfc21d3529d5a7be2e2c5cb42b073fc /sysdeps
parent42d6443faf5e8b5c70474923bfcc021b77ee0095 (diff)
downloadglibc-c9afcaaafaf9126a973883528eed8d0058a264c0.tar
glibc-c9afcaaafaf9126a973883528eed8d0058a264c0.tar.gz
glibc-c9afcaaafaf9126a973883528eed8d0058a264c0.tar.bz2
glibc-c9afcaaafaf9126a973883528eed8d0058a264c0.zip
Enable Silvermont optimizations for Knights Landing
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.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/x86/cpu-features.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/x86/cpu-features.c b/sysdeps/x86/cpu-features.c
index fba3ef02a7..aff894cc1e 100644
--- a/sysdeps/x86/cpu-features.c
+++ b/sysdeps/x86/cpu-features.c
@@ -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: