public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: David Edelsohn <dje@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r14-270] aix: Default AIX 7.2 to POWER7 server and AIX 7.3 to POWER8 server.
Date: Wed, 26 Apr 2023 17:25:17 +0000 (GMT)	[thread overview]
Message-ID: <20230426172517.A73403858D1E@sourceware.org> (raw)

https://gcc.gnu.org/g:469b655b30dae58b41232b0dea5d1ccc072356a9

commit r14-270-g469b655b30dae58b41232b0dea5d1ccc072356a9
Author: David Edelsohn <dje.gcc@gmail.com>
Date:   Sun Apr 23 11:22:06 2023 -0400

    aix: Default AIX 7.2 to POWER7 server and AIX 7.3 to POWER8 server.
    
    AIX 7.2 minimum ISA is POWER7 and AIX 7.3 minimum ISA is POWER8.
    This patch changes the aix72.h configuration to POWER7 with VSX enabled
    by default (with the AIX VSX ABI limitations), matching LLVM on AIX,
    and changes the aix73.h configuration to POWER8.
    
    gcc/ChangeLog:
            * config/rs6000/aix72.h (TARGET_DEFAULT): Use ISA_2_6_MASKS_SERVER.
            * config/rs6000/aix73.h (TARGET_DEFAULT): Use ISA_2_7_MASKS_SERVER.
            (PROCESSOR_DEFAULT): Use PROCESSOR_POWER8.
    
    Signed-off-by: David Edelsohn <dje.gcc@gmail.com>

Diff:
---
 gcc/config/rs6000/aix72.h | 4 ++--
 gcc/config/rs6000/aix73.h | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/gcc/config/rs6000/aix72.h b/gcc/config/rs6000/aix72.h
index 5ea89fc9340..3c72fc55629 100644
--- a/gcc/config/rs6000/aix72.h
+++ b/gcc/config/rs6000/aix72.h
@@ -138,9 +138,9 @@ do {									\
 
 #undef  TARGET_DEFAULT
 #ifdef RS6000_BI_ARCH
-#define TARGET_DEFAULT (ISA_2_6_MASKS_EMBEDDED | MASK_POWERPC64 | MASK_64BIT)
+#define TARGET_DEFAULT (ISA_2_6_MASKS_SERVER | MASK_POWERPC64 | MASK_64BIT)
 #else
-#define TARGET_DEFAULT ISA_2_6_MASKS_EMBEDDED
+#define TARGET_DEFAULT ISA_2_6_MASKS_SERVER
 #endif
 
 #undef  PROCESSOR_DEFAULT
diff --git a/gcc/config/rs6000/aix73.h b/gcc/config/rs6000/aix73.h
index 8cd93fa0df9..afbf52e4caf 100644
--- a/gcc/config/rs6000/aix73.h
+++ b/gcc/config/rs6000/aix73.h
@@ -139,15 +139,15 @@ do {									\
 
 #undef  TARGET_DEFAULT
 #ifdef RS6000_BI_ARCH
-#define TARGET_DEFAULT (ISA_2_6_MASKS_EMBEDDED | MASK_POWERPC64 | MASK_64BIT)
+#define TARGET_DEFAULT (ISA_2_7_MASKS_SERVER | MASK_POWERPC64 | MASK_64BIT)
 #else
-#define TARGET_DEFAULT ISA_2_6_MASKS_EMBEDDED
+#define TARGET_DEFAULT ISA_2_7_MASKS_SERVER
 #endif
 
 #undef  PROCESSOR_DEFAULT
-#define PROCESSOR_DEFAULT PROCESSOR_POWER7
+#define PROCESSOR_DEFAULT PROCESSOR_POWER8
 #undef  PROCESSOR_DEFAULT64
-#define PROCESSOR_DEFAULT64 PROCESSOR_POWER7
+#define PROCESSOR_DEFAULT64 PROCESSOR_POWER8
 
 /* AIX 7.2 kernel and assembler have necessary support for Altivec and VSX.  */
 #undef OS_MISSING_ALTIVEC

                 reply	other threads:[~2023-04-26 17:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230426172517.A73403858D1E@sourceware.org \
    --to=dje@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).