summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/aix51.h
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-09 15:05:09 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-09 15:05:09 +0000
commit72943b59f4ef66e96a425b1949da04c53b45ef93 (patch)
tree1a228d77f8f585ce2b552d886920878e89b83260 /gcc/config/rs6000/aix51.h
parent14adadfc1e88ed3c648184c2ee18796c1c45ca83 (diff)
downloadgcc-72943b59f4ef66e96a425b1949da04c53b45ef93.tar.gz
* config/rs6000/{aix43.h,aix5.1} (ASM_CPU_SPEC): Add power3
synonym for 630. Add power4. Remove embedded processors. Use -m604 assembler option. (CPP_CPU_SPEC): Add power3 and power4. (PROCESSOR_DEFAULT): Change to 604e. * config/rs6000/rs6000.h (ASM_CPU_SPEC): Similar additions. (CPP_CPU_SPEC): Similar additions. (enum process_type): Add POWER4. (RTX_COSTS): Add POWER4. (CPP_CPU_SPEC): Similar additions. * config/rs6000/linux64.h (PROCESSOR_DEFAULT): Define. * config/rs6000/rs6000.c (rs6000_override_options): Add power4. (rs6000_adjust_cost): Add 603, 604, 604e, 620, 630, Power4 to branch adjustment. (rs6000_issue_rate): Add Power4. * config/rs6000/rs6000.md (cpu attr): Add power4. (iu compare): Remove 604, 604e, 620, 630. Add basic Power4 scheduling information. (mfcr/mtcrf): Change type attribute to cr_logical. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54405 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/aix51.h')
-rw-r--r--gcc/config/rs6000/aix51.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/gcc/config/rs6000/aix51.h b/gcc/config/rs6000/aix51.h
index eae90f6b91e..8b3fb2982c7 100644
--- a/gcc/config/rs6000/aix51.h
+++ b/gcc/config/rs6000/aix51.h
@@ -75,6 +75,8 @@ do { \
%{mcpu=common: -mcom} \
%{mcpu=power: -mpwr} \
%{mcpu=power2: -mpwr2} \
+%{mcpu=power3: -m604} \
+%{mcpu=power4: -m604} \
%{mcpu=powerpc: -mppc} \
%{mcpu=rios: -mpwr} \
%{mcpu=rios1: -mpwr} \
@@ -82,8 +84,6 @@ do { \
%{mcpu=rsc: -mpwr} \
%{mcpu=rsc1: -mpwr} \
%{mcpu=rs64a: -mppc} \
-%{mcpu=403: -mppc} \
-%{mcpu=505: -mppc} \
%{mcpu=601: -m601} \
%{mcpu=602: -mppc} \
%{mcpu=603: -m603} \
@@ -91,9 +91,7 @@ do { \
%{mcpu=604: -m604} \
%{mcpu=604e: -m604} \
%{mcpu=620: -mppc} \
-%{mcpu=630: -mppc} \
-%{mcpu=821: -mppc} \
-%{mcpu=860: -mppc}"
+%{mcpu=630: -m604}"
#undef ASM_DEFAULT_SPEC
#define ASM_DEFAULT_SPEC "-mcom"
@@ -135,6 +133,8 @@ do { \
%{mcpu=common: -D_ARCH_COM} \
%{mcpu=power: -D_ARCH_PWR} \
%{mcpu=power2: -D_ARCH_PWR2} \
+%{mcpu=power3: -D_ARCH_PPC} \
+%{mcpu=power4: -D_ARCH_PPC} \
%{mcpu=powerpc: -D_ARCH_PPC} \
%{mcpu=rios: -D_ARCH_PWR} \
%{mcpu=rios1: -D_ARCH_PWR} \
@@ -142,17 +142,13 @@ do { \
%{mcpu=rsc: -D_ARCH_PWR} \
%{mcpu=rsc1: -D_ARCH_PWR} \
%{mcpu=rs64a: -D_ARCH_PPC} \
-%{mcpu=403: -D_ARCH_PPC} \
-%{mcpu=505: -D_ARCH_PPC} \
%{mcpu=601: -D_ARCH_PPC -D_ARCH_PWR} \
%{mcpu=602: -D_ARCH_PPC} \
%{mcpu=603: -D_ARCH_PPC} \
%{mcpu=603e: -D_ARCH_PPC} \
%{mcpu=604: -D_ARCH_PPC} \
%{mcpu=620: -D_ARCH_PPC} \
-%{mcpu=630: -D_ARCH_PPC} \
-%{mcpu=821: -D_ARCH_PPC} \
-%{mcpu=860: -D_ARCH_PPC}"
+%{mcpu=630: -D_ARCH_PPC}"
#undef CPP_DEFAULT_SPEC
#define CPP_DEFAULT_SPEC "-D_ARCH_COM"
@@ -161,7 +157,7 @@ do { \
#define TARGET_DEFAULT MASK_NEW_MNEMONICS
#undef PROCESSOR_DEFAULT
-#define PROCESSOR_DEFAULT PROCESSOR_PPC604
+#define PROCESSOR_DEFAULT PROCESSOR_PPC604e
/* Define this macro as a C expression for the initializer of an
array of string to tell the driver program which options are