This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, rs6000] Change default tuning to POWER7
- From: Peter Bergner <bergner at vnet dot ibm dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Cc: David Edelsohn <dje dot gcc at gmail dot com>
- Date: Thu, 10 Feb 2011 08:26:48 -0600
- Subject: [PATCH, rs6000] Change default tuning to POWER7
This patch changes the default processor tuning for powerpc64-linux builds
to POWER7. This passed bootstrapping and regtesting. Ok for mainline?
Peter
* config/rs6000/linux64.h (PROCESSOR_DEFAULT): Change to
PROCESSOR_POWER7.
(PROCESSOR_DEFAULT64): Likewise.
Index: config/rs6000/linux64.h
===================================================================
--- config/rs6000/linux64.h (revision 169982)
+++ config/rs6000/linux64.h (working copy)
@@ -73,9 +73,9 @@ extern int dot_symbols;
#endif
#undef PROCESSOR_DEFAULT
-#define PROCESSOR_DEFAULT PROCESSOR_POWER6
+#define PROCESSOR_DEFAULT PROCESSOR_POWER7
#undef PROCESSOR_DEFAULT64
-#define PROCESSOR_DEFAULT64 PROCESSOR_POWER6
+#define PROCESSOR_DEFAULT64 PROCESSOR_POWER7
/* We don't need to generate entries in .fixup, except when
-mrelocatable or -mrelocatable-lib is given. */