Patchwork [committed] AIX 6.1 TARGET_DEFAULT is POWER4

login
register
mail settings
Submitter David Edelsohn
Date Sept. 19, 2012, 2:20 p.m.
Message ID <CAGWvnymT96TpT6XjeQ_pnmO-nVF7xFkxwg7p+jA9YopiYOMfWg@mail.gmail.com>
Download mbox | patch
Permalink /patch/185054/
State New
Headers show

Comments

David Edelsohn - Sept. 19, 2012, 2:20 p.m.
AIX 6.1 no longer supports POWER3 hardware, so this change adds the
basic POWER4 capabilities to TARGET_DEFAULTS.

Bootstrapped and regression tested on powerpc-ibm-aix7.1.0.0.

- David

        * config/rs6000/aix61.h (TARGET_DEFAULT): Add MASK_PPC_GPOPT,
MASK_PPC_GFXOPT,
        and MASK_MFCRF.

Patch

Index: aix61.h
===================================================================
--- aix61.h     (revision 191452)
+++ aix61.h     (working copy)
@@ -106,7 +106,7 @@ 
    %{pthread: -D_THREAD_SAFE}"

 #undef  TARGET_DEFAULT
-#define TARGET_DEFAULT 0
+#define TARGET_DEFAULT (MASK_PPC_GPOPT | MASK_PPC_GFXOPT | MASK_MFCRF)

 #undef  PROCESSOR_DEFAULT
 #define PROCESSOR_DEFAULT PROCESSOR_POWER7