bca718
commit c9afcaaafaf9126a973883528eed8d0058a264c0
bca718
Author: H.J. Lu <hjl.tools@gmail.com>
bca718
Date:   Tue Dec 15 11:46:54 2015 -0800
bca718
bca718
    Enable Silvermont optimizations for Knights Landing
bca718
bca718
    Knights Landing processor is based on Silvermont.  This patch enables
bca718
    Silvermont optimizations for Knights Landing.
bca718
bca718
        * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
bca718
        Silvermont optimizations for Knights Landing.
bca718
bca718
diff --git a/sysdeps/x86/cpu-features.c b/sysdeps/x86/cpu-features.c
bca718
index fba3ef0..aff894c 100644
bca718
--- a/sysdeps/x86/cpu-features.c
bca718
+++ b/sysdeps/x86/cpu-features.c
bca718
@@ -78,6 +78,9 @@ init_cpu_features (struct cpu_features *cpu_features)
bca718
 	      cpu_features->feature[index_Slow_BSF] |= bit_Slow_BSF;
bca718
 	      break;
bca718
 
bca718
+	    case 0x57:
bca718
+	      /* Knights Landing.  Enable Silvermont optimizations.  */
bca718
+
bca718
 	    case 0x37:
bca718
 	    case 0x4a:
bca718
 	    case 0x4d: