CMake: update ARCH_HASWELL flag

We don't support older compilers from before they accepted
the architecture codenames.

Change-Id: If13a10ed95b34007858bfffd1631a08b425fa9c3
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
This commit is contained in:
Thiago Macieira 2020-09-04 09:11:02 -07:00
parent 29ed0e3391
commit 3deb154d22

View File

@ -53,7 +53,7 @@ if(GCC OR CLANG)
set(QT_CFLAGS_RDSEED "-mrdseed")
set(QT_CFLAGS_AVX "-mavx")
set(QT_CFLAGS_AVX2 "-mavx2")
set(QT_CFLAGS_ARCH_HASWELL "-march=core-avx2")
set(QT_CFLAGS_ARCH_HASWELL "-march=haswell")
set(QT_CFLAGS_AVX512F "-mavx512f")
set(QT_CFLAGS_AVX512ER "-mavx512er")
set(QT_CFLAGS_AVX512CD "-mavx512cd")