Hi, I recently committed a patch: http://gcc.gnu.org/ml/gcc-patches/2013-06/msg01349.html to allow x86 intrinsics to be called from functions with appropriate target attributes without having to compile the entire file with -mxxx. I have added a release note for this. Please see if this is ok to commit.
Thanks Sri
? .changes.html.swp ? x86_intrinsics_release_notes.txt cvs diff: Diffing . Index: changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.9/changes.html,v retrieving revision 1.17 diff -r1.17 changes.html 177a178,187 > <h3 id="rx">IA-32/x86-64</h3> > <ul> > <li> It is now possible to call x86 intrinsics from select functions in > a file that are marked with the appropriate target attribute without > having to compile the entire file with the -mxxx option. This improves > the usability of x86 intrinsics and is particularly useful when doing <a > href="http://gcc.gnu.org/onlinedocs/gcc/Function-Multiversioning.html" > >Function Multiversioning</a>. > </li> > </ul>