This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[wwwdoc][Patch] Mention Loongson 3a1000 3a2000 3a3000 2k1000 support in gcc9
- From: Paul Hua <paul dot hua dot gm at gmail dot com>
- To: Gerald Pfeifer <gerald at pfeifer dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 31 Dec 2018 18:27:07 +0800
- Subject: [wwwdoc][Patch] Mention Loongson 3a1000 3a2000 3a3000 2k1000 support in gcc9
Hi Gerald,
The attached patch mention Loongson 3a1000 3a2000 3a3000 2k1000 support in gcc9.
ok for commit?
Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-9/changes.html,v
retrieving revision 1.30
diff -u -r1.30 changes.html
--- changes.html 3 Dec 2018 17:20:20 -0000 1.30
+++ changes.html 31 Dec 2018 10:21:32 -0000
@@ -214,6 +214,44 @@
</li>
</ul>
+<h3 id="mips">MIPS</h3>
+<ul>
+ <li>
+ The Loongson <code>loongson-mmi</code> and <code>loongson-ext</code>
+ extension has now been splited from <code>loongson3a</code>:
+ <ul>
+ <li><code>loongson-mmi</code> which contains
+ the Loongson MultiMedia extension Instructions operations.</li>
+ <li><code>loongson-ext</code> which contains
+ the Loongson EXTension instructions.</li>
+ </ul>
+ <li>
+ The Loongson EXTension R2 instructions is now supported.
+ <ul>
+ <li><code>loongson-ext2</code> which contains the Loongson EXTension R2 instructions.</li>
+ </ul>
+ Use -mxxx or -mno-xxx will enable or disable those extersions.
+ for example: Using <code>-mloongson-mmi</code>/<code>-mno-loongson-mmi</code>
+ will enable/disable Loongson MultiMedia Instructions extensions.
+ <li>
+ Support has been added for the following processors
+ (GCC identifiers in parentheses):
+ <ul>
+ <li>Loongson 3A1000 (<code>gs464</code>)
+ which default enable <code>loongson-mmi</code>, <code>loongson-ext</code>.</li>
+ <li>Loongson 3A2000/3A3000 (<code>gs464e</code>)
+ which default enable <code>loongson-mmi</code>, <code>loongson-ext</code>, <code>loongson-ext2</code>.</li>
+ <li>Loongson 2K1000 (<code>gs264e</code>)
+ which default enable <code>loongson-ext</code>, <code>loongson-ext2</code>, <code>msa</code>.</li>
+ </ul>
+ The GCC identifiers can be used
+ as arguments to the <code>-mcpu</code> or <code>-mtune</code> options,
+ for example: <code>-mcpu=gs464</code> or
+ <code>-mtune=gs464e</code> or as arguments to the equivalent target
+ attributes and pragmas.
+ </li>
+</ul>
+
<!-- <h3 id="hsa">Heterogeneous Systems Architecture</h3> -->
<!-- <h3 id="x86">IA-32/x86-64</h3> -->