On Wed, Nov 09, 2011 at 04:32:58PM -0800, Richard Henderson wrote: > Not pretty at all. But given the corresponding irritation in writing > assembler > wrapper functions, it seems like it's about a wash. > > Tested with and without HAVE_AS_AVX on x86_64-linux.
Shouldn't -mavx be also not passed in that case? Then you wouldn't need
to undef __AVX__ and we wouldn't risk gcc doesn't decide to optimize memcpy
or something similar using AVX instructions...
Jakub
