Revert "Correct haswell function target for clang"
This reverts commit 1cc0494f7dbb0731533c7d691685bb50d3e1dd1a. 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:
parent
6323ccfa73
commit
6944b4df7b
@ -239,11 +239,7 @@ asm(
|
|||||||
//
|
//
|
||||||
// macOS's fat binaries support the "x86_64h" sub-architecture and the GNU libc
|
// 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).
|
// 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"
|
# define QT_FUNCTION_TARGET_STRING_ARCH_HASWELL "arch=haswell"
|
||||||
# endif
|
|
||||||
# if defined(__AVX2__) && defined(__BMI__) && defined(__BMI2__) && defined(__F16C__) && \
|
# if defined(__AVX2__) && defined(__BMI__) && defined(__BMI2__) && defined(__F16C__) && \
|
||||||
defined(__FMA__) && defined(__LZCNT__) && defined(__RDRND__)
|
defined(__FMA__) && defined(__LZCNT__) && defined(__RDRND__)
|
||||||
# define __haswell__ 1
|
# define __haswell__ 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user