]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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>
Tue, 6 Jul 2021 19:16:58 +0000 (15:16 -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.

(cherry picked from commit f8b067056ba5dd53f7bc883a1f59833efc26bd3e)

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

index 3612ed2593b0b8f98c70510e8f8de192d7ba9013..17f0a0222eb6ed6d3f10bf03c48f26fbe3bddc85 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 d34909283cc6e3aae101b3dbe6155f6a5bd5b778..c414a9256360c5753e617359a85b087625478958 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; \