Commit bd2010ac by David Edelsohn Committed by David Edelsohn

* config/rs6000/aix72.h: Update to match aix71.h changes.

From-SVN: r266574
parent 5456f30d
2018-11-28 David Edelsohn <dje.gcc@gmail.com>
* config/rs6000/aix72.h: Update to match aix71.h changes.
2018-11-28 Jeff Law <law@redhat.com> 2018-11-28 Jeff Law <law@redhat.com>
* config/h8300/constraints.md: Add "C" constraint for call insns. * config/h8300/constraints.md: Add "C" constraint for call insns.
/* Definitions of target machine for GNU compiler, /* Definitions of target machine for GNU compiler,
for IBM RS/6000 POWER running AIX V7.2. for IBM RS/6000 POWER running AIX V7.2.
Copyright (C) 2002-2017 Free Software Foundation, Inc. Copyright (C) 2002-2018 Free Software Foundation, Inc.
Contributed by David Edelsohn (edelsohn@gnu.org). Contributed by David Edelsohn (edelsohn@gnu.org).
This file is part of GCC. This file is part of GCC.
...@@ -59,7 +59,7 @@ do { \ ...@@ -59,7 +59,7 @@ do { \
} while (0) } while (0)
#undef ASM_SPEC #undef ASM_SPEC
#define ASM_SPEC "-u %{maix64:-a64 %{!mcpu*:-mppc64}} %(asm_cpu)" #define ASM_SPEC "-u %{maix64:-a64} %(asm_cpu)"
/* Common ASM definitions used by ASM_SPEC amongst the various targets for /* Common ASM definitions used by ASM_SPEC amongst the various targets for
handling -mcpu=xxx switches. There is a parallel list in driver-rs6000.c to handling -mcpu=xxx switches. There is a parallel list in driver-rs6000.c to
...@@ -67,31 +67,29 @@ do { \ ...@@ -67,31 +67,29 @@ do { \
you make changes here, make them there also. */ you make changes here, make them there also. */
#undef ASM_CPU_SPEC #undef ASM_CPU_SPEC
#define ASM_CPU_SPEC \ #define ASM_CPU_SPEC \
"%{!mcpu*: %{!maix64: \ "%{mcpu=native: %(asm_cpu_native); \
%{mpowerpc64: -mppc64} \ mcpu=power9: -mpwr9; \
%{maltivec: -m970} \ mcpu=power8: -mpwr8; \
%{!maltivec: %{!mpowerpc64: %(asm_default)}}}} \ mcpu=power7: -mpwr7; \
%{mcpu=native: %(asm_cpu_native)} \ mcpu=power6x|mcpu=power6: -mpwr6; \
%{mcpu=power3: -m620} \ mcpu=power5+: -mpwr5x; \
%{mcpu=power4: -mpwr4} \ mcpu=power5: -mpwr5; \
%{mcpu=power5: -mpwr5} \ mcpu=power4: -mpwr4; \
%{mcpu=power5+: -mpwr5x} \ mcpu=power3: -m620; \
%{mcpu=power6: -mpwr6} \ mcpu=powerpc: -mppc; \
%{mcpu=power6x: -mpwr6} \ mcpu=rs64a: -mppc; \
%{mcpu=power7: -mpwr7} \ mcpu=603: -m603; \
%{mcpu=power8: -mpwr8} \ mcpu=603e: -m603; \
%{mcpu=power9: -mpwr9} \ mcpu=604: -m604; \
%{mcpu=powerpc: -mppc} \ mcpu=604e: -m604; \
%{mcpu=rs64a: -mppc} \ mcpu=620: -m620; \
%{mcpu=603: -m603} \ mcpu=630: -m620; \
%{mcpu=603e: -m603} \ mcpu=970|mcpu=G5: -m970; \
%{mcpu=604: -m604} \ !mcpu*: %{mvsx: -mpwr6; \
%{mcpu=604e: -m604} \ maltivec: -m970; \
%{mcpu=620: -m620} \ maix64|mpowerpc64: -mppc64; \
%{mcpu=630: -m620} \ : %(asm_default)}; \
%{mcpu=970: -m970} \ :%eMissing -mcpu option in ASM_SPEC_CPU?\n} \
%{mcpu=G5: -m970} \
%{mvsx: %{!mcpu*: -mpwr7}} \
-many" -many"
#undef ASM_DEFAULT_SPEC #undef ASM_DEFAULT_SPEC
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment