Update -mtune=knl for Knights Landing

From:

https://software.intel.com/sites/default/files/managed/e9/b5/Knights-Corner-is-your-path-to-Knights-Landing.pdf

Knights Landing is “Based on Intel Atom core (based on Silvermont
microarchitecture) with many HPC enhancements.”

This patch replaces CPU_KNL with CPU_SLM to tune for Knights Landing.

	* config/i386/i386.c (processor_alias_table): Replace CPU_KNL
	with CPU_SLM.
	* config/i386/i386.md (cpu): Remove knl.

From-SVN: r226765
This commit is contained in:
H.J. Lu 2015-08-10 18:59:35 +00:00 committed by H.J. Lu
parent 0238e1e98a
commit 52ec072692
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (processor_alias_table): Replace CPU_KNL
with CPU_SLM.
* config/i386/i386.md (cpu): Remove knl.
2015-08-10 Thomas Schwinge <thomas@codesourcery.com>
PR libgomp/65742

View File

@ -3351,7 +3351,7 @@ ix86_option_override_internal (bool main_args_p,
{"atom", PROCESSOR_BONNELL, CPU_ATOM, PTA_BONNELL},
{"silvermont", PROCESSOR_SILVERMONT, CPU_SLM, PTA_SILVERMONT},
{"slm", PROCESSOR_SILVERMONT, CPU_SLM, PTA_SILVERMONT},
{"knl", PROCESSOR_KNL, CPU_KNL, PTA_KNL},
{"knl", PROCESSOR_KNL, CPU_SLM, PTA_KNL},
{"intel", PROCESSOR_INTEL, CPU_SLM, PTA_NEHALEM},
{"geode", PROCESSOR_GEODE, CPU_GEODE,
PTA_MMX | PTA_3DNOW | PTA_3DNOW_A | PTA_PREFETCH_SSE | PTA_PRFCHW},

View File

@ -409,7 +409,7 @@
;; Processor type.
(define_attr "cpu" "none,pentium,pentiumpro,geode,k6,athlon,k8,core2,nehalem,
atom,slm,generic,amdfam10,bdver1,bdver2,bdver3,bdver4,
btver2,knl"
btver2"
(const (symbol_ref "ix86_schedule")))
;; A basic instruction type. Refinements due to arguments to be