Hello, This is a summary of what has been happening on the SH side during 4.9. Applied.
Cheers, Oleg
? 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> -->