diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-02-18 10:33:35 +0000 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-02-19 00:52:32 +0000 |
commit | 6944b4df7bac464eaee8e03ea724db25303fdbc1 (patch) | |
tree | 76fb53df07af0368fcb524df23b7351c5b88ffe7 /src | |
parent | 6323ccfa733da6ca55f8a69c0398f12a78bb32f7 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/global/qsimd_p.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/corelib/global/qsimd_p.h b/src/corelib/global/qsimd_p.h index ab865f0985..432db8f3b5 100644 --- a/src/corelib/global/qsimd_p.h +++ b/src/corelib/global/qsimd_p.h @@ -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 |