On 9/1/2012 7:33 AM, Gerald Pfeifer wrote:
On Tue, 28 Aug 2012, Walter Lee wrote:
This patch adds support for the -mcmodel=MODEL flag on TILE-Gx.
At which point I cannot help asking for an update to the
release notes at http://gcc.gnu.org/gcc-4.8/changes.html. ;-)

Let me know if you need help with that.

How does this look:

--- changes.html        6 Sep 2012 03:42:45 -0000       1.28
+++ changes.html        14 Sep 2012 20:40:39 -0000
@@ -298,6 +298,13 @@ by this change.</p>
     <li>Added optimized instruction scheduling for Niagara4.</li>
   </ul>

+<h3 id="tilegx">TILE-Gx</h3>
+
+  <ul>
+    <li>Added support for the -mcmodel=MODEL command-line option.  The
+    models supported are small and large.</li>
+  </ul>
+
 <h3 id="xstormy16">XStormy16</h3>

   <ul>

  @emph{TILEPro Options}
  @gccoptlist{-mcpu=CPU -m32}
Why are only -mcpu and -m32 listed here?

Those are the only options supported on TILEPro. -m32 is basically a no-op as tilepro does not support other models.

I've fixed the remaining grammar/spelling issues you pointed out. See patch below.

Thanks,

Walter

    * doc/invoke.texi (Option Summary): fix typesetting for -mcpu
    option for TILEPro and TILE-Gx.
    (TILE-Gx Options): Fix grammar and spellings in documentation for
    -mcmodel.

--- gcc/doc/invoke.texi    (revision 191306)
+++ gcc/doc/invoke.texi    (working copy)
@@ -932,10 +932,10 @@ See RS/6000 and PowerPC Options.
 @gccoptlist{-Qy  -Qn  -YP,@var{paths}  -Ym,@var{dir}}

 @emph{TILE-Gx Options}
-@gccoptlist{-mcpu=CPU -m32 -m64 -mcmodel=@var{code-model}}
+@gccoptlist{-mcpu=@var{cpu} -m32 -m64 -mcmodel=@var{code-model}}

 @emph{TILEPro Options}
-@gccoptlist{-mcpu=CPU -m32}
+@gccoptlist{-mcpu=@var{cpu} -m32}

 @emph{V850 Options}
 @gccoptlist{-mlong-calls  -mno-long-calls  -mep  -mno-ep @gol
@@ -19003,13 +19003,13 @@ These @samp{-m} options are supported on
 @table @gcctabopt
 @item -mcmodel=small
 @opindex mcmodel=small
-Generate code for the small model.  Distance for direct calls is
+Generate code for the small model.  The distance for direct calls is
 limited to 500M in either direction.  PC-relative addresses are 32
 bits.  Absolute addresses support the full address range.

 @item -mcmodel=large
 @opindex mcmodel=large
-Generate code for the large model.  There is no limiation on call
+Generate code for the large model.  There is no limitation on call
 distance, pc-relative addresses, or absolute addresses.

 @item -mcpu=@var{name}

Reply via email to