aix: Power10 assembler invocation.
authorClément Chigot <clement.chigot@atos.net>
Thu, 10 Jun 2021 02:00:55 +0000 (22:00 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Thu, 10 Jun 2021 02:08:50 +0000 (22:08 -0400)
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.

gcc/config/rs6000/aix71.h
gcc/config/rs6000/aix72.h

index 807e260..38cfa9e 100644 (file)
@@ -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; \
index 36c5d99..4cd27e3 100644 (file)
@@ -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; \