public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: "CHIGOT, CLEMENT" <clement.chigot@atos.net>
To: "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>
Cc: David Edelsohn <dje.gcc@gmail.com>
Subject: [PATCH] aix: add Power10 flag in ASM_CPU_SPEC
Date: Wed, 9 Jun 2021 11:11:21 +0000	[thread overview]
Message-ID: <PA4PR02MB6686EFBED9AE2C7B8F2A6E53EA369@PA4PR02MB6686.eurprd02.prod.outlook.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 192 bytes --]

Changelog:
2021-06-09  Clément Chigot  <clement.chigot@atos.net>

	* config/rs6000/aix71.h (ASM_CPU_SPEC): Add entry for Power10.
	* config/rs6000/aix72.h (ASM_CPU_SPEC): Likewise.




[-- Attachment #2: 0001-aix-add-Power10-flag-in-ASM_CPU_SPEC.patch --]
[-- Type: application/octet-stream, Size: 1401 bytes --]

From 0261d9562cbcf3d2b04095b866bb7fd30004ef2a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cl=C3=A9ment=20Chigot?= <clement.chigot@atos.net>
Date: Wed, 9 Jun 2021 12:53:58 +0200
Subject: [PATCH] aix: add Power10 flag in ASM_CPU_SPEC
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Changelog:
2021-06-09  Clément Chigot  <clement.chigot@atos.net>

	* config/rs6000/aix71.h (ASM_CPU_SPEC): Add entry for Power10.
	* config/rs6000/aix72.h (ASM_CPU_SPEC): Likewise.
---
 gcc/config/rs6000/aix71.h | 1 +
 gcc/config/rs6000/aix72.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/gcc/config/rs6000/aix71.h b/gcc/config/rs6000/aix71.h
index adcca983b6d..0878b2a8204 100644
--- a/gcc/config/rs6000/aix71.h
+++ b/gcc/config/rs6000/aix71.h
@@ -78,6 +78,7 @@ do {									\
 #undef ASM_CPU_SPEC
 #define ASM_CPU_SPEC \
 "%{mcpu=native: %(asm_cpu_native); \
+  mcpu=power10: -mpwr10; \
   mcpu=power9: -mpwr9; \
   mcpu=power8: -mpwr8; \
   mcpu=power7: -mpwr7; \
diff --git a/gcc/config/rs6000/aix72.h b/gcc/config/rs6000/aix72.h
index 2db9dbd56af..3448878097b 100644
--- a/gcc/config/rs6000/aix72.h
+++ b/gcc/config/rs6000/aix72.h
@@ -78,6 +78,7 @@ do {									\
 #undef ASM_CPU_SPEC
 #define ASM_CPU_SPEC \
 "%{mcpu=native: %(asm_cpu_native); \
+  mcpu=power10: -mpwr10; \
   mcpu=power9: -mpwr9; \
   mcpu=power8: -mpwr8; \
   mcpu=power7: -mpwr7; \
-- 
2.31.1


                 reply	other threads:[~2021-06-09 11:11 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=PA4PR02MB6686EFBED9AE2C7B8F2A6E53EA369@PA4PR02MB6686.eurprd02.prod.outlook.com \
    --to=clement.chigot@atos.net \
    --cc=dje.gcc@gmail.com \
    --cc=gcc-patches@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).