projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9646a32
)
aix: detect power10 processor.
author
David Edelsohn
<dje.gcc@gmail.com>
Wed, 17 Nov 2021 18:26:36 +0000
(13:26 -0500)
committer
David Edelsohn
<dje.gcc@gmail.com>
Thu, 18 Nov 2021 14:31:12 +0000
(09:31 -0500)
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.
gcc/config/rs6000/driver-rs6000.c
patch
|
blob
|
history
diff --git
a/gcc/config/rs6000/driver-rs6000.c
b/gcc/config/rs6000/driver-rs6000.c
index
e23c445
..
4de373d
100644
(file)
--- 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";
}