This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Enable -mcpu=power7 for PowerPC
- From: Peter Bergner <bergner at vnet dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: David Edelsohn <dje at watson dot ibm dot com>, Pat Haugen <pthaugen at vervain dot rchland dot ibm dot com>
- Date: Sun, 03 Aug 2008 18:12:53 -0500
- Subject: Re: [PATCH] Enable -mcpu=power7 for PowerPC
- References: <20080803224349.GA21069@vervain.rchland.ibm.com>
On Sun, 2008-08-03 at 17:43 -0500, Peter Bergner wrote:
> This patch enables new -mcpu and -mtune options for POWER7. The -mcpu=power7
> option will be an alias for power6. The affect of these options will be
> expanded when more technical details are released by IBM.
>
> Bootstrapped and regtested on powerpc64-linux. Ok for mainline?
>
> David, I didn't know exactly what to do with the aix*.h files and what
> assembler options we should be passing. Should we just be passing what
> the power6 options are for each of those files?
Oops, I forgot this hunk from the patch.
Peter
* doc/invoke.texi: Add cpu_type power7.
Index: doc/invoke.texi
===================================================================
--- doc/invoke.texi (revision 138568)
+++ doc/invoke.texi (working copy)
@@ -13022,7 +13022,7 @@ Supported values for @var{cpu_type} are
@samp{860}, @samp{970}, @samp{8540}, @samp{e300c2}, @samp{e300c3},
@samp{e500mc}, @samp{ec603e}, @samp{G3}, @samp{G4}, @samp{G5},
@samp{power}, @samp{power2}, @samp{power3}, @samp{power4},
-@samp{power5}, @samp{power5+}, @samp{power6}, @samp{power6x},
+@samp{power5}, @samp{power5+}, @samp{power6}, @samp{power6x}, @samp{power7}
@samp{common}, @samp{powerpc}, @samp{powerpc64}, @samp{rios},
@samp{rios1}, @samp{rios2}, @samp{rsc}, and @samp{rs64}.