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 r12-5371] aix: detect power10 processor.
Date: Thu, 18 Nov 2021 14:27:05 +0000 (GMT)	[thread overview]
Message-ID: <20211118142705.908953857817@sourceware.org> (raw)

https://gcc.gnu.org/g:e3dbd2e14020d5a4f3401fa60dd5792b99fae108

commit r12-5371-ge3dbd2e14020d5a4f3401fa60dd5792b99fae108
Author: David Edelsohn <dje.gcc@gmail.com>
Date:   Wed Nov 17 13:26:36 2021 -0500

    aix: detect power10 processor.
    
            For -mcpu=native, GCC needs to detect the processor.  This
    patch adds the processor value for Power10.
    
            Suggested by Kevin Alder.
    
            * config/rs6000/driver-rs6000.c (detect_processor_aix): Add
            power10.

Diff:
---
 gcc/config/rs6000/driver-rs6000.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gcc/config/rs6000/driver-rs6000.c b/gcc/config/rs6000/driver-rs6000.c
index e23c445b198..4de373da95a 100644
--- a/gcc/config/rs6000/driver-rs6000.c
+++ b/gcc/config/rs6000/driver-rs6000.c
@@ -418,6 +418,9 @@ detect_processor_aix (void)
     case 0x20000:
       return "power9";
 
+    case 0x40000:
+      return "power10";
+
     default:
       return "powerpc";
     }


                 reply	other threads:[~2021-11-18 14:27 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=20211118142705.908953857817@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).