a587ad1e50
Tested on Linux with Clang 3.7, GCC 4.9, 5.1 and 6.0, ICC 16 beta; on OS X with Clang-XCode 6.4, ICC 16 beta; on Windows with MSVC 2013 and ICC 15. MinGW is not tested. GCC 4.9: AVX512F AVX512ER AVX512CD AVX512PF GCC 5 & 6: AVX512F AVX512ER AVX512CD AVX512PF AVX512DQ AVX512BW AVX512VL AVX512IFMA AVX512VBMI Clang 3.7: AVX512F AVX512ER AVX512CD Clang-XCode: <none> ICC 15 & 16: AVX512F AVX512ER AVX512CD AVX512PF AVX512DQ AVX512BW AVX512VL MSVC 2013: <none> Change-Id: Ib306f8f647014b399b87ffff13f1da1b161c31d7 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
13 lines
341 B
Prolog
13 lines
341 B
Prolog
SOURCES = avx512.cpp
|
|
CONFIG -= qt dylib release debug_and_release
|
|
CONFIG += debug console
|
|
|
|
isEmpty(AVX512): error("You must set the AVX512 variable!")
|
|
|
|
varname = QMAKE_CFLAGS_AVX512$$AVX512
|
|
value = $$eval($$varname)
|
|
isEmpty($$varname): error("This compiler does not support AVX512")
|
|
|
|
QMAKE_CXXFLAGS += $$value
|
|
DEFINES += AVX512WANT=$$AVX512
|