diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-12-15 11:46:54 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2016-04-02 10:23:08 -0700 |
commit | fe24aedc3530037d7bb614b84d309e6b816686bf (patch) | |
tree | 0af2db8deb33ac26d2d5e9c9ebcdba33556a70dc | |
parent | 33130a3b008ba9ee9b75594abf022ee87c4e9966 (diff) | |
download | glibc-fe24aedc3530037d7bb614b84d309e6b816686bf.tar glibc-fe24aedc3530037d7bb614b84d309e6b816686bf.tar.gz glibc-fe24aedc3530037d7bb614b84d309e6b816686bf.tar.bz2 glibc-fe24aedc3530037d7bb614b84d309e6b816686bf.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.
-rw-r--r-- | sysdeps/x86/cpu-features.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/x86/cpu-features.c b/sysdeps/x86/cpu-features.c index 587080c1a4..fa54744e9f 100644 --- a/sysdeps/x86/cpu-features.c +++ b/sysdeps/x86/cpu-features.c @@ -69,6 +69,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: |