aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorClément Chigot <clement.chigot@atos.net>2021-06-09 22:00:55 -0400
committerDavid Edelsohn <dje.gcc@gmail.com>2021-06-09 22:08:50 -0400
commitf8b067056ba5dd53f7bc883a1f59833efc26bd3e (patch)
tree0cbd7f8e9d7b367843d3c0c031d6f613304746d1 /gcc
parent4f625f47b4456e5c05a025fca4d072831e59126c (diff)
downloadgcc-f8b067056ba5dd53f7bc883a1f59833efc26bd3e.zip
gcc-f8b067056ba5dd53f7bc883a1f59833efc26bd3e.tar.gz
gcc-f8b067056ba5dd53f7bc883a1f59833efc26bd3e.tar.bz2
aix: Power10 assembler invocation.
gcc/ChangeLog: 2021-06-09 Clement Chigot <clement.chigot@atos.net> * config/rs6000/aix71.h (ASM_CPU_SPEC): Add Power10 directive. * config/rs6000/aix72.h (ASM_CPU_SPEC): Likewise.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/rs6000/aix71.h1
-rw-r--r--gcc/config/rs6000/aix72.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/rs6000/aix71.h b/gcc/config/rs6000/aix71.h
index 807e260..38cfa9e 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 36c5d99..4cd27e3 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; \