Qt Creator enable AVX2 without auto vectorizing on OS X?
Is there a way to use AVX2 instructions without enabling AVX2 auto vectorizing on OS X in QtCreator? I'm trying to write an application, that will run on none AVX2 hardware and does use AVX2 on hardware, that has support for it. But when I use
QMAKE_CXXFLAGS += $QMAKE_CFLAGS_AVX2the whole application doesn't run on none AVX2 hardware anymore.