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.

    Thanks

    Qt 5.4.1
    OSX 10.10.3
    Xcode 6.3.2


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.