I udpated the powerpc changes in the GCC 4.7 summary:

--- htdocs/gcc-4.7/changes.html.~1~     2011-12-30 18:43:34.885278709 -0500
+++ htdocs/gcc-4.7/changes.html 2011-12-30 18:55:33.455278920 -0500
@@ -576,19 +576,32 @@ well.</p></li>
 <h3>PowerPC/PowerPC64</h3>
   <ul>
     <li>Vectors of type <i>vector long long</i> or <i>vector long</i> are
-       passed and returned in the same method as other vectors with the VSX
-       instruction set.  Previously the GCC compiler did not adhere to the ABI
-       for 128-bit vectors with 64-bit integer base types (PR 48857).
-       This will also be fixed in the GCC 4.6.1 and 4.5.4 releases.</li>
-
-     <li>A new option (<code>-mno-r11)</code> was added to allow AIX
-       32-bit/64-bit and GNU/Linux 64-bit PowerPC users to specify that
-       the compiler should not load up the chain register
-       (<code>r11</code>) before calling a
-       function through a pointer.  If you use this option, you cannot call
-       nested functions through a pointer, or call other languages that might
-       use the static chain.
-     </li>
+       passed and returned in the same method as other vectors with the VSX
+       instruction set.  Previously the GCC compiler did not adhere to the ABI
+       for 128-bit vectors with 64-bit integer base types (PR 48857).
+       This will also be fixed in the GCC 4.6.1 and 4.5.4 releases.</li>
+
+     <li>A new option (<code>-mno-pointers-to-nested-functions)</code> was
+       added to allow AIX 32-bit/64-bit and GNU/Linux 64-bit PowerPC users to
+       specify that the compiler should not load up the chain register
+       (<code>r11</code>) before calling a function through a pointer.
+       If you use this option, you cannot call nested functions through a
+       pointer, or call other languages that might use the static chain.</li>
+
+     <li>A new option (<code>msave-toc-indirect</code> was added to allow AIX
+       32-bit/64-bit and GNU/Linux 64-bit PowerPC users control whether we
+       save the TOC in the prologue for indirect calls or generate the save
+       inline.  This can speed up some programs that call through a function
+       pointer a lot, but it can slow down other functions that only call
+       through a function pointer in exceptional cases.</li>
+
+      <li>The powerpc will now enable machine specific builtin functions when
+       the user switches the target machine using the
+       <code>#pragma GCC target</code> or <code>GCC target attribute</code>
+       code sequences.  In additon, the target macros are updated.
+       However, due to the way the <code>-save-temps</code> switch is
+       implemented, you won't see the effect of these additional macros
+       being defined in preprocessor output.</li>
   </ul>
 
 <h3>SPARC</h3>

-- 
Michael Meissner, IBM
5 Technology Place Drive, M/S 2757, Westford, MA 01886-3141, USA
meiss...@linux.vnet.ibm.com     fax +1 (978) 399-6899

Reply via email to