From: H.J. Lu Date: Tue, 15 Dec 2015 19:46:54 +0000 (-0800) Subject: Enable Silvermont optimizations for Knights Landing X-Git-Tag: glibc-2.23~121 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9afcaaafaf9126a973883528eed8d0058a264c0;p=thirdparty%2Fglibc.git 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. --- diff --git a/ChangeLog b/ChangeLog index 7995a58067d..5bff90f8864 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-12-15 H.J. Lu + + * sysdeps/x86/cpu-features.c (init_cpu_features): Enable + Silvermont optimizations for Knights Landing. + 2015-12-15 Andreas Schwab [BZ #17197] diff --git a/sysdeps/x86/cpu-features.c b/sysdeps/x86/cpu-features.c index fba3ef02a71..aff894cc1ee 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: