On Fri, 4 Feb 2011, Michael Meissner wrote: > After updating the mainline and 4.5 trees with the fix for PR > target/47272 that restores vec_ld and vec_st to generate only Altivec > memory instructions, I added the following to the documentation:
Here are some minor editorial changes I applied on top of this. (Note, re "On Power7 systems, there is a potential problem" I am not sure it is clear to users what steps they need to take?) Gerald Index: gcc-4.5/changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.5/changes.html,v retrieving revision 1.102 diff -u -r1.102 changes.html --- gcc-4.5/changes.html 29 Oct 2011 19:51:21 -0000 1.102 +++ gcc-4.5/changes.html 30 Oct 2011 12:53:23 -0000 @@ -877,7 +877,7 @@ complete (that is, it is possible that some PRs that have been fixed are not listed here).</p> -<p>On the PowerPC compiler, the altivec builtin functions <code>vec_ld</code> +<p>On the PowerPC compiler, the Altivec builtin functions <code>vec_ld</code> and <code>vec_st</code> have been modified to generate the Altivec memory instructions <code>LVX</code> and <code>STVX</code>, even if the <code>-mvsx</code> option is used. In the initial GCC 4.5 release, these Index: gcc-4.6/changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.6/changes.html,v retrieving revision 1.135 diff -u -r1.135 changes.html --- gcc-4.6/changes.html 29 Oct 2011 19:02:39 -0000 1.135 +++ gcc-4.6/changes.html 30 Oct 2011 12:53:24 -0000 @@ -895,7 +895,7 @@ for <code>MODEL</code> are <code>small</code>, <code>medium</code>, or <code>large</code>.</li> - <li>The altivec builtin functions <code>vec_ld</code> and <code>vec_st</code> + <li>The Altivec builtin functions <code>vec_ld</code> and <code>vec_st</code> have been modified to generate the Altivec memory instructions <code>LVX</code> and <code>STVX</code>, even if the <code>-mvsx</code> option is used. In the initial GCC 4.5 release, these builtin functions @@ -1083,7 +1083,7 @@ <li> On Power7 systems, there is a potential problem if you build the GCC - compiler with a host compiler using options that enables the VSX + compiler with a host compiler using options that enable the VSX instruction set generation. If the host compiler has been patched so that the <code>vec_ld</code> and <code>vec_st</code> builtin functions generate Altivec memory instructions instead of VSX memory instructions,