Revert "Correct haswell function target for clang"

This reverts commit 1cc0494f7d.

Reason for revert: Not a fix, but a break

Pick-to: 6.3 6.2
Change-Id: Ie41d8870dbd52f87059f6bad2335e272409c3046
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Allan Sandfeld Jensen 2022-02-18 10:33:35 +00:00
parent 6323ccfa73
commit 6944b4df7b

View File

@ -239,11 +239,7 @@ asm(
//
// macOS's fat binaries support the "x86_64h" sub-architecture and the GNU libc
// ELF loader also supports a "haswell/" subdir (e.g., /usr/lib/haswell).
# if defined(Q_CC_CLANG)
# define QT_FUNCTION_TARGET_STRING_ARCH_HASWELL "haswell"
# else
# define QT_FUNCTION_TARGET_STRING_ARCH_HASWELL "arch=haswell"
# endif
# define QT_FUNCTION_TARGET_STRING_ARCH_HASWELL "arch=haswell"
# if defined(__AVX2__) && defined(__BMI__) && defined(__BMI2__) && defined(__F16C__) && \
defined(__FMA__) && defined(__LZCNT__) && defined(__RDRND__)
# define __haswell__ 1