aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPete Steinmetz <steinmtz@us.ibm.com>2006-06-01 15:44:13 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2006-06-01 11:44:13 -0400
commite118597e1909cbb4d59374306ec219a386a8a42a (patch)
tree950d5d2963a77cdd425296be45d1ccd0d33fa780 /gcc
parentd3f27077c42ca8959ef37b8e7541e06826094d42 (diff)
downloadgcc-e118597e1909cbb4d59374306ec219a386a8a42a.zip
gcc-e118597e1909cbb4d59374306ec219a386a8a42a.tar.gz
gcc-e118597e1909cbb4d59374306ec219a386a8a42a.tar.bz2
invoke.texi: Add cpu_type power6.
* doc/invoke.texi: Add cpu_type power6. * config.gcc: Add cpu_type power6. * config/rs6000/rs6000.c (rs6000_override_options): Alias power6 to power5+ with Altivec. * config/rs6000/aix52.h (ASM_CPU_SPEC): Add power6. * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add power6. From-SVN: r114309
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/config.gcc4
-rw-r--r--gcc/config/rs6000/aix52.h1
-rw-r--r--gcc/config/rs6000/rs6000.c3
-rw-r--r--gcc/config/rs6000/rs6000.h1
-rw-r--r--gcc/doc/invoke.texi2
6 files changed, 17 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1dea455..e842227 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,12 @@
+2006-06-01 Pete Steinmetz <steinmtz@us.ibm.com>
+
+ * doc/invoke.texi: Add cpu_type power6.
+ * config.gcc: Add cpu_type power6.
+ * config/rs6000/rs6000.c (rs6000_override_options): Alias power6
+ to power5+ with Altivec.
+ * config/rs6000/aix52.h (ASM_CPU_SPEC): Add power6.
+ * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add power6.
+
2006-05-30 Anatoly Sokolov <aesok@post.ru>
* config/avr/avr.h (SET_ASM_OP): Define.
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 7608d04..b184a40 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -301,7 +301,7 @@ powerpc*-*-*)
extra_headers="ppc-asm.h altivec.h spe.h"
need_64bit_hwint=yes
case x$with_cpu in
- xpowerpc64|xdefault64|x6[23]0|x970|xG5|xpower[345]|xrs64a)
+ xpowerpc64|xdefault64|x6[23]0|x970|xG5|xpower[3456]|xrs64a)
cpu_is_64bit=yes
;;
esac
@@ -2808,7 +2808,7 @@ case "${target}" in
eval "with_$which=405"
;;
"" | common \
- | power | power[2345] | powerpc | powerpc64 \
+ | power | power[23456] | powerpc | powerpc64 \
| rios | rios1 | rios2 | rsc | rsc1 | rs64a \
| 401 | 403 | 405 | 405fp | 440 | 440fp | 505 \
| 601 | 602 | 603 | 603e | ec603e | 604 \
diff --git a/gcc/config/rs6000/aix52.h b/gcc/config/rs6000/aix52.h
index 723986f..87d2157 100644
--- a/gcc/config/rs6000/aix52.h
+++ b/gcc/config/rs6000/aix52.h
@@ -68,6 +68,7 @@ do { \
%{mcpu=power4: -m620} \
%{mcpu=power5: -m620} \
%{mcpu=power5+: -m620} \
+%{mcpu=power6: -m620} \
%{mcpu=powerpc: -mppc} \
%{mcpu=rs64a: -mppc} \
%{mcpu=603: -m603} \
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 53b1082..3a8e78a 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -1194,6 +1194,9 @@ rs6000_override_options (const char *default_cpu)
{"power5+", PROCESSOR_POWER5,
POWERPC_BASE_MASK | MASK_POWERPC64 | MASK_PPC_GFXOPT
| MASK_MFCRF | MASK_POPCNTB | MASK_FPRND},
+ {"power6", PROCESSOR_POWER5,
+ POWERPC_7400_MASK | MASK_POWERPC64 | MASK_MFCRF | MASK_POPCNTB
+ | MASK_FPRND},
{"powerpc", PROCESSOR_POWERPC, POWERPC_BASE_MASK},
{"powerpc64", PROCESSOR_POWERPC64,
POWERPC_BASE_MASK | MASK_PPC_GFXOPT | MASK_POWERPC64},
diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h
index f47324e..3465992 100644
--- a/gcc/config/rs6000/rs6000.h
+++ b/gcc/config/rs6000/rs6000.h
@@ -74,6 +74,7 @@
%{mcpu=power4: -mpower4} \
%{mcpu=power5: -mpower4} \
%{mcpu=power5+: -mpower4} \
+%{mcpu=power6: -mpower4 -maltivec} \
%{mcpu=powerpc: -mppc} \
%{mcpu=rios: -mpwr} \
%{mcpu=rios1: -mpwr} \
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index f493418..e877d7c 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -11286,7 +11286,7 @@ Supported values for @var{cpu_type} are @samp{401}, @samp{403},
@samp{7450}, @samp{750}, @samp{801}, @samp{821}, @samp{823},
@samp{860}, @samp{970}, @samp{8540}, @samp{ec603e}, @samp{G3},
@samp{G4}, @samp{G5}, @samp{power}, @samp{power2}, @samp{power3},
-@samp{power4}, @samp{power5}, @samp{power5+},
+@samp{power4}, @samp{power5}, @samp{power5+}, @samp{power6},
@samp{common}, @samp{powerpc}, @samp{powerpc64},
@samp{rios}, @samp{rios1}, @samp{rios2}, @samp{rsc}, and @samp{rs64}.