[PATCH] Change PPC64 Linux default to POWER8.

David Edelsohn dje.gcc@gmail.com
Fri May 2 15:50:00 GMT 2014


This patch updates the default processor tuning to POWER8 for any
PPC64 Linux target, not only little endian (ELFv2).

Any objection?

Thanks, David

* config/rs6000/linux64.h (PROCESSOR_DEFAULT): Change to PROCESSOR_POWER8.
(PROCESSOR_DEFAULT64): Same.

Index: linux64.h
===================================================================
--- linux64.h   (revision 209981)
+++ linux64.h   (working copy)
@@ -69,13 +69,9 @@
 #endif

 #undef  PROCESSOR_DEFAULT
-#define PROCESSOR_DEFAULT PROCESSOR_POWER7
+#define PROCESSOR_DEFAULT PROCESSOR_POWER8
 #undef  PROCESSOR_DEFAULT64
-#ifdef LINUX64_DEFAULT_ABI_ELFv2
 #define PROCESSOR_DEFAULT64 PROCESSOR_POWER8
-#else
-#define PROCESSOR_DEFAULT64 PROCESSOR_POWER7
-#endif

 /* We don't need to generate entries in .fixup, except when
    -mrelocatable or -mrelocatable-lib is given.  */



More information about the Gcc-patches mailing list