http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59657
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |jakub at gcc dot gnu.org Resolution|--- |INVALID --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Feature. By compiling with -mavx, any function can use AVX instructions. You can either define the functions in different files and use -mavx to compile one and -msse2 or whatever to compile the other one, or you can use the target attribute or #pragma GCC target.