Patchwork [wwwdocs] SH 4.9 changes update

login
register
mail settings
Submitter Oleg Endo
Date Dec. 8, 2013, 10:34 p.m.
Message ID <1386542047.14008.146.camel@yam-132-YW-E178-FTW>
Download mbox | patch
Permalink /patch/298898/
State New
Headers show

Comments

Oleg Endo - Dec. 8, 2013, 10:34 p.m.
Hello,

This is a summary of what has been happening on the SH side during 4.9.
Applied.

Cheers,
Oleg

Patch

? sh_changes_49_1.patch
Index: htdocs/gcc-4.9/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.9/changes.html,v
retrieving revision 1.46
diff -u -r1.46 changes.html
--- htdocs/gcc-4.9/changes.html	6 Dec 2013 18:27:14 -0000	1.46
+++ htdocs/gcc-4.9/changes.html	8 Dec 2013 22:29:41 -0000
@@ -438,6 +438,29 @@ 
     </li>
   </ul>
 
+<h3 id="sh">SH</h3>
+  <ul>
+    <li>Minor improvements to code generated for integer arithmetic and code
+    that involves the T bit.</li>
+
+    <li>Added support for the SH2A <code>clips</code> and <code>clipu</code>
+    instructions.  The compiler will now try to utilize them for min/max
+    expressions such as <code>max (-128, min (127, x))</code>.</li>
+
+    <li>Added support for the <code>cmp/str</code> instruction through built-in
+    functions such as <code>__builtin_strlen</code>.  When not optimizing for
+    size, the compiler will now expand calls to e.g. <code>strlen</code> as an
+    inlined sequences which utilize the <code>cmp/str</code> instruction.</li>
+
+    <li>Improved code generated around volatile memory loads and stores.</li>
+
+    <li>The option <code>-mcbranchdi</code> has been deprecated.  Specifying it
+    will result in a warning and will not influence code generation.</li> 
+
+    <li>The option <code>-mcmpeqdi</code> has been deprecated.  Specifying it
+    will result in a warning and will not influence code generation.</li> 
+  </ul>
+
 <!--
 <h2>Documentation improvements</h2>
 -->