Patchwork [wwwdocs] Document SPARC changes for 4.6

login
register
mail settings
Submitter Eric Botcazou
Date Feb. 3, 2011, 1:40 p.m.
Message ID <201102031440.08081.ebotcazou@adacore.com>
Download mbox | patch
Permalink /patch/81648/
State New
Headers show

Comments

Eric Botcazou - Feb. 3, 2011, 1:40 p.m.
Patch for changes.html attached.  OK to install?
Gerald Pfeifer - Feb. 3, 2011, 4:54 p.m.
On Thu, 3 Feb 2011, Eric Botcazou wrote:
> Patch for changes.html attached.  OK to install?

You'd need to ask a SPARC maintainer. :-)

Seriously, it does look good to my eyes, thanks, Eric!  The only question 
I have is this:  I assume <code>--with-tune=leon</code> is a configure
option, whereas <code>-mtune=leon</code> is a GCC option?  For those not
so familiar with GNU tools or GCC, it might be helpful to make this
explicit in the description.

Gerald
Eric Botcazou - Feb. 7, 2011, 10:19 a.m.
> Seriously, it does look good to my eyes, thanks, Eric!  The only question
> I have is this:  I assume <code>--with-tune=leon</code> is a configure
> option, whereas <code>-mtune=leon</code> is a GCC option?  For those not
> so familiar with GNU tools or GCC, it might be helpful to make this
> explicit in the description.

OK, adjusted and commited, thanks.

Patch

Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.6/changes.html,v
retrieving revision 1.102
diff -u -r1.102 changes.html
--- changes.html	2 Feb 2011 22:33:50 -0000	1.102
+++ changes.html	3 Feb 2011 13:38:02 -0000
@@ -798,6 +798,19 @@ 
       using <code>-O3</code>.</li>
   </ul>
 
+<h3>SPARC</h3>
+  <ul>
+    <li>GCC now supports the LEON series of SPARC V8 processors.  The code
+    generated by the compiler can either be tuned to it by means of the
+    <code>--with-tune=leon</code> and <code>-mtune=leon</code> options, or
+    the compiler can be built for the <code>sparc-leon-{elf,linux}</code>
+    and <code>sparc-leon3-{elf,linux}</code> targets directly.</li>
+    <li>GCC has stopped sign/zero-extending parameter registers in the callee,
+    for functions taking parameters with sub-word size, in 32-bit mode since
+    this is redundant with the specification of the ABI.  GCC has never done
+    so in 64-bit mode since this is also redundant.</li>
+  </ul>
+
 <h2 id="os">Operating Systems</h2>
 
 <h3 id="android">Android</h3>