Commit 30e7f17e by David Edelsohn Committed by David Edelsohn

aix43.h (ASM_SPEC): Only emit -mppc64 if no -mcpu option.

        * config/rs6000/aix43.h (ASM_SPEC): Only emit -mppc64 if no -mcpu
        option.
        (ASM_CPU_SPEC): Use -m620 for Power3, Power4, 620, 630.
        * config/rs6000/aix51.h: Same.
        * config/rs6000/aix52.h: Same.

From-SVN: r63529
parent e7a1163c
2003-02-27 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/aix43.h (ASM_SPEC): Only emit -mppc64 if no -mcpu
option.
(ASM_CPU_SPEC): Use -m620 for Power3, Power4, 620, 630.
* config/rs6000/aix51.h: Same.
* config/rs6000/aix52.h: Same.
* config/rs6000/power4.md: Additional VMX bypasses.
2003-02-27 Geert Bosch <bosch@gnat.com>
......
......@@ -60,7 +60,7 @@ do { \
} while (0);
#undef ASM_SPEC
#define ASM_SPEC "-u %{maix64:-a64 -mppc64} %(asm_cpu)"
#define ASM_SPEC "-u %{maix64:-a64 %{!mcpu*:-mppc64}} %(asm_cpu)"
/* Common ASM definitions used by ASM_SPEC amongst the various targets
for handling -mcpu=xxx switches. */
......@@ -75,8 +75,8 @@ do { \
%{mcpu=common: -mcom} \
%{mcpu=power: -mpwr} \
%{mcpu=power2: -mpwr2} \
%{mcpu=power3: -m604} \
%{mcpu=power4: -m604} \
%{mcpu=power3: -m620} \
%{mcpu=power4: -m620} \
%{mcpu=powerpc: -mppc} \
%{mcpu=rios: -mpwr} \
%{mcpu=rios1: -mpwr} \
......@@ -90,8 +90,8 @@ do { \
%{mcpu=603e: -m603} \
%{mcpu=604: -m604} \
%{mcpu=604e: -m604} \
%{mcpu=620: -mppc} \
%{mcpu=630: -m604}"
%{mcpu=620: -m620} \
%{mcpu=630: -m620}"
#undef ASM_DEFAULT_SPEC
#define ASM_DEFAULT_SPEC "-mcom"
......
......@@ -60,7 +60,7 @@ do { \
} while (0);
#undef ASM_SPEC
#define ASM_SPEC "-u %{maix64:-a64 -mppc64} %(asm_cpu)"
#define ASM_SPEC "-u %{maix64:-a64 %{!mcpu*:-mppc64}} %(asm_cpu)"
/* Common ASM definitions used by ASM_SPEC amongst the various targets
for handling -mcpu=xxx switches. */
......@@ -75,8 +75,8 @@ do { \
%{mcpu=common: -mcom} \
%{mcpu=power: -mpwr} \
%{mcpu=power2: -mpwr2} \
%{mcpu=power3: -m604} \
%{mcpu=power4: -m604} \
%{mcpu=power3: -m620} \
%{mcpu=power4: -m620} \
%{mcpu=powerpc: -mppc} \
%{mcpu=rios: -mpwr} \
%{mcpu=rios1: -mpwr} \
......@@ -90,8 +90,8 @@ do { \
%{mcpu=603e: -m603} \
%{mcpu=604: -m604} \
%{mcpu=604e: -m604} \
%{mcpu=620: -mppc} \
%{mcpu=630: -m604}"
%{mcpu=620: -m620} \
%{mcpu=630: -m620}"
#undef ASM_DEFAULT_SPEC
#define ASM_DEFAULT_SPEC "-mcom"
......
......@@ -60,7 +60,7 @@ do { \
} while (0);
#undef ASM_SPEC
#define ASM_SPEC "-u %{maix64:-a64 -mppc64} %(asm_cpu)"
#define ASM_SPEC "-u %{maix64:-a64 %{!mcpu*:-mppc64}} %(asm_cpu)"
/* Common ASM definitions used by ASM_SPEC amongst the various targets
for handling -mcpu=xxx switches. */
......@@ -69,16 +69,16 @@ do { \
"%{!mcpu*: %{!maix64: \
%{mpowerpc64: -mppc64} \
%{!mpower64: %(asm_default)}}} \
%{mcpu=power3: -m604} \
%{mcpu=power4: -m604} \
%{mcpu=power3: -m620} \
%{mcpu=power4: -m620} \
%{mcpu=powerpc: -mppc} \
%{mcpu=rs64a: -mppc} \
%{mcpu=603: -m603} \
%{mcpu=603e: -m603} \
%{mcpu=604: -m604} \
%{mcpu=604e: -m604} \
%{mcpu=620: -mppc} \
%{mcpu=630: -m604}"
%{mcpu=620: -m620} \
%{mcpu=630: -m620}"
#undef ASM_DEFAULT_SPEC
#define ASM_DEFAULT_SPEC "-mppc"
......
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