[wwwdocs] SH update for 4.7

Message ID alpine.LNX.2.00.1202270129050.4645@gerinyyl.fvgr
State New
Headers show

Commit Message

Gerald Pfeifer Feb. 27, 2012, 12:38 a.m.
On Mon, 27 Feb 2012, Kaz Kojima 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.

It does not. :-)  As port maintainer, you are more then welcome
(and obviously qualified), Kaz!

Oleg, just one detail regarding markup: please close all list
items with </li> at the end, or the validator will haunt you.

I was going to show this using an example, but then figured,
why not be helpful and go ahead and make this change for you?
The patch now looks as follows and I applied it already.



Index: changes.html
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.7/changes.html,v
retrieving revision 1.88
diff -u -3 -p -r1.88 changes.html
--- changes.html	23 Feb 2012 13:24:36 -0000	1.88
+++ changes.html	27 Feb 2012 00:30:46 -0000
@@ -735,6 +735,24 @@  int add_values (const __flash int *p, in
 	being defined in preprocessor output.</li>
+  <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>
+    <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>
+    <li>The defunct <code>-mbranch-cost</code> option has been fixed.</li>
+    <li>Some improvements to the generated code of:
+      <ul>
+        <li>Utilization of the <code>tst #imm,R0</code> instruction.</li>
+	<li>Dynamic shift instructions on SH2A.</li>
+        <li>Integer absolute value calculations.</li>
+      </ul></li>
+  </ul>
     <li>The option <code>-mflat</code> has been reinstated.  When it is