This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Enable -mcpu=power7 for PowerPC


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}.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]