ad65bbe4c0
It's probably a user mistake that they didn't know what they really wanted. Since no processor that supports AVX2 fails to support the rest of x86-64-v3, we should enable all of that so we can make use of its features. Notably, we may want to use FMA at some point in QtGui, and the compiler will likely use BMI, BMI2, and LZCNT on its own (see qnumeric.h). Compiling with -mavx2 will produce GCC these errors: qsimd_p.h:266:8: error: #error "Please enable all x86-64-v3 extensions; you probably want to use -march=haswell or -march=x86-64-v3 instead of -mavx2" qsimd_p.h:263:49: error: ‘__BMI__’ was not declared in this scope qsimd_p.h:263:59: error: ‘__BMI2__’ was not declared in this scope qsimd_p.h:263:70: error: ‘__F16C__’ was not declared in this scope qsimd_p.h:263:81: error: ‘__FMA__’ was not declared in this scope qsimd_p.h:263:91: error: ‘__LZCNT__’ was not declared in this scope; did you mea Change-Id: Ib42b3adc93bf4d43bd55fffd16c10f8b6a775f3f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> |
||
---|---|---|
.github/workflows | ||
bin | ||
cmake | ||
coin | ||
config.tests | ||
dist | ||
doc | ||
examples | ||
lib | ||
libexec | ||
mkspecs | ||
qmake | ||
src | ||
tests | ||
util | ||
.cmake.conf | ||
.gitattributes | ||
.gitignore | ||
.lgtm.yml | ||
.tag | ||
CMakeLists.txt | ||
conanfile.py | ||
config_help.txt | ||
configure | ||
configure.bat | ||
configure.cmake | ||
dependencies.yaml | ||
LICENSE.FDL | ||
LICENSE.GPL2 | ||
LICENSE.GPL3 | ||
LICENSE.GPL3-EXCEPT | ||
LICENSE.LGPL3 | ||
LICENSE.QT-LICENSE-AGREEMENT | ||
qt_cmdline.cmake | ||
sync.profile |