diff mbox

Change PPC64 Linux default to POWER8.

Message ID CAGWvnymk0jM++EksP8Ti0u_EAN8dfBAbsSbeciwQn2K-Y4PStA@mail.gmail.com
State New
Headers show

Commit Message

David Edelsohn May 2, 2014, 3:50 p.m. UTC
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.

Comments

Peter Bergner May 2, 2014, 3:57 p.m. UTC | #1
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
diff mbox

Patch

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.  */