This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[SPARC] Adjust native setting for SPARC-T5


There is no -m{cpu,tune}=niagara5 setting so use niagara4 for SPARC-T5.

Tested on SPARC64/Linux, applied to mainline and 7 & 6 branches.


2017-06-14  Eric Botcazou  <ebotcazou@adacore.com>

	* config/sparc/driver-sparc.c (cpu_names): Add SPARC-T5 entry.

-- 
Eric Botcazou
Index: config/sparc/driver-sparc.c
===================================================================
--- config/sparc/driver-sparc.c	(revision 249091)
+++ config/sparc/driver-sparc.c	(working copy)
@@ -57,6 +57,7 @@ static const struct cpu_names {
   { "UltraSPARC-T2+",	"niagara2" },
   { "SPARC-T3",		"niagara3" },
   { "SPARC-T4",		"niagara4" },
+  { "SPARC-T5",		"niagara4" },
 #else
   { "SuperSparc",	"supersparc" },
   { "HyperSparc",	"hypersparc" },
@@ -73,6 +74,7 @@ static const struct cpu_names {
   { "UltraSparc T2",	"niagara2" },
   { "UltraSparc T3",	"niagara3" },
   { "UltraSparc T4",	"niagara4" },
+  { "UltraSparc T5",	"niagara4" },
   { "LEON",		"leon3" },
 #endif
   { "SPARC-M7",		"niagara7" },

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]