diff mbox

[wwwdocs] SH update for 4.7

Message ID 1330293466.2929.93.camel@yam-132-YW-E178-FTW
State New
Headers show

Commit Message

Oleg Endo Feb. 26, 2012, 9:57 p.m. UTC
Hello,

The attached patch adds some SH update notes for GCC 4.7.
OK to commit?

Cheers,
Oleg

Comments

Kaz Kojima Feb. 27, 2012, 12:10 a.m. UTC | #1
Oleg Endo <oleg.endo@t-online.de> wrote:
> The attached patch adds some SH update notes for GCC 4.7.
> OK to commit?

Looks fine to me, though it requires OK from wwwdocs maintainer.

Regards,
	kaz
diff mbox

Patch

Index: htdocs/gcc-4.7/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.7/changes.html,v
retrieving revision 1.88
diff -u -r1.88 changes.html
--- htdocs/gcc-4.7/changes.html	23 Feb 2012 13:24:36 -0000	1.88
+++ htdocs/gcc-4.7/changes.html	26 Feb 2012 21:55:51 -0000
@@ -735,6 +735,24 @@ 
 	being defined in preprocessor output.</li>
   </ul>
 
+<h3>SH</h3>
+  <ul>
+    <li>A new option <code>-msoft-atomic</code> has been added.  When it is
+        specified, GCC will generate GNU/Linux compatible gUSA atomic sequences
+        for the new <code>__atomic</code> routines.
+    <li>Since it is neither supported by GAS nor officially documented, code
+        generation for little endian SH2A has been disabled.  Specifying
+        <code>-ml</code> with <code>-m2a*</code> will now result in a compiler
+        error.
+    <li>The defunct <code>-mbranch-cost</code> option has been fixed.
+    <li>Some improvements to the generated code of:
+      <ul>
+        <li>Utilization of the <code>tst #imm,R0</code> instruction.
+        <li>Dynamic shift instructions on SH2A.
+        <li>Integer absolute value calculations.
+      </ul>
+  </ul>
+
 <h3>SPARC</h3>
   <ul>
     <li>The option <code>-mflat</code> has been reinstated.  When it is