This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[wwwdocs] SH update for 4.7


Hello,

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

Cheers,
Oleg


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]