OSDN Git Service

* doc/invoke.texi: Add cpu_type power6.
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Jun 2006 15:44:13 +0000 (15:44 +0000)
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Jun 2006 15:44:13 +0000 (15:44 +0000)
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114309 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config.gcc
gcc/config/rs6000/aix52.h
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.h
gcc/doc/invoke.texi

index 1dea455..e842227 100644 (file)
@@ -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.
index 7608d04..b184a40 100644 (file)
@@ -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 \
index 723986f..87d2157 100644 (file)
@@ -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} \
index 53b1082..3a8e78a 100644 (file)
@@ -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},
index f47324e..3465992 100644 (file)
@@ -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} \
index f493418..e877d7c 100644 (file)
@@ -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}.