diff mbox

[MIPS] Add Octeon2 cpu support to GCC

Message ID CA+=Sn1k+nNLFtN9oGO_zot=cLNJ7vjaLOpTzojqDK+CDzR9ziw@mail.gmail.com
State New
Headers show

Commit Message

Andrew Pinski Jan. 4, 2012, 7:54 p.m. UTC
On Fri, Dec 16, 2011 at 2:22 PM, Joseph S. Myers
<joseph@codesourcery.com> wrote:
> On Mon, 12 Dec 2011, Andrew Pinski wrote:
>
>> * config/mips/mips-cpus.def: Add Octeon2.
>
> You need to update the documentation for MIPS -march= in invoke.texi,
> which lists the supported CPUs.

Woops, I had missed that.  Here is the patch which adds both octeon+
and octeon2 to that list.

I committed as obvious after a build.

Thanks,
Andrew Pinski

* doc/invoke.texi (-march=@var{arch}): Add octeon+ and octeon2.

Comments

Gerald Pfeifer Jan. 7, 2012, 1:40 p.m. UTC | #1
On Wed, 4 Jan 2012, Andrew Pinski wrote:
> Woops, I had missed that.  Here is the patch which adds both octeon+
> and octeon2 to that list.
> 
> I committed as obvious after a build.

You may want to update the release notes as well 
(htdocs/gcc-4.7/changes.html).

Gerald
Richard Sandiford Jan. 9, 2012, 7:14 p.m. UTC | #2
Gerald Pfeifer <gerald@pfeifer.com> writes:
> On Wed, 4 Jan 2012, Andrew Pinski wrote:
>> Woops, I had missed that.  Here is the patch which adds both octeon+
>> and octeon2 to that list.
>> 
>> I committed as obvious after a build.
>
> You may want to update the release notes as well 
> (htdocs/gcc-4.7/changes.html).

FWIW, I'm planning to do a sweep of MIPS changes in time for 4.7.
(I prefer to write them all at once, although I realise there are
good arguments for doing them as soon as the patch goes in.)

Richard
diff mbox

Patch

Index: doc/invoke.texi
===================================================================
--- doc/invoke.texi	(revision 182884)
+++ doc/invoke.texi	(working copy)
@@ -14812,7 +14812,7 @@  The processor names are:
 @samp{1004kc}, @samp{1004kf2_1}, @samp{1004kf1_1},
 @samp{loongson2e}, @samp{loongson2f}, @samp{loongson3a},
 @samp{m4k},
-@samp{octeon},
+@samp{octeon}, @samp{octeon+}, @samp{octeon2},
 @samp{orion},
 @samp{r2000}, @samp{r3000}, @samp{r3900}, @samp{r4000}, @samp{r4400},
 @samp{r4600}, @samp{r4650}, @samp{r6000}, @samp{r8000},