http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36041
--- Comment #13 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Marc Glisse from comment #12) > Created attachment 30381 [details] > IFUNC proof of concept patch I think it is a bad idea to use ifunc for such a function as most of the time it is link against statically in most cases. Why can't you compile your code with -march=native for the places where you know you are going to compile and run directly on the same machine?