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
This commit is contained in:
David Edelsohn 2003-02-27 21:51:19 +00:00 committed by David Edelsohn
parent e7a1163cc5
commit 30e7f17ed6
4 changed files with 20 additions and 15 deletions

View File

@ -1,5 +1,10 @@
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>

View File

@ -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"

View File

@ -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"

View File

@ -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"