Re: [PATCH] Change PPC64 Linux default to POWER8.

2014-05-02 Thread Peter Bergner
On Fri, 2014-05-02 at 11:50 -0400, David Edelsohn wrote:
> 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.

That looks good to me.  Thanks.

Peter




[PATCH] Change PPC64 Linux default to POWER8.

2014-05-02 Thread David Edelsohn
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.  */