public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-9246] aix: detect power10 processor.
@ 2021-11-18 15:06 David Edelsohn
0 siblings, 0 replies; only message in thread
From: David Edelsohn @ 2021-11-18 15:06 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:f62039efd679ffa8719732c71535457eb3ec61e0
commit r11-9246-gf62039efd679ffa8719732c71535457eb3ec61e0
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.
gcc/ChangeLog:
* config/rs6000/driver-rs6000.c (detect_processor_aix): Add
power10.
(cherry picked from commit e3dbd2e14020d5a4f3401fa60dd5792b99fae108)
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";
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-18 15:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-18 15:06 [gcc r11-9246] aix: detect power10 processor David Edelsohn
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).