SIMD: Move the #include for qsimd_x86_p.h a bit lower in qsimd_p.h
It needs to be after our extra #defines for CPU features, otherwise the qCompilerCpuFeatures variable won't be set correctly. Change-Id: Iff4151c519c144d580c4fffd153a0a93ca01bbe6 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
parent
f05d1b0856
commit
74ce4ffff6
@ -179,7 +179,6 @@
|
||||
|
||||
#ifdef Q_PROCESSOR_X86
|
||||
/* -- x86 intrinsic support -- */
|
||||
# include "qsimd_x86_p.h"
|
||||
|
||||
# if defined(Q_CC_MSVC) && (defined(_M_X64) || _M_IX86_FP >= 2)
|
||||
// MSVC doesn't define __SSE2__, so do it ourselves
|
||||
@ -233,6 +232,8 @@
|
||||
# define __RDRND__ 1
|
||||
# endif
|
||||
|
||||
# include "qsimd_x86_p.h"
|
||||
|
||||
#endif /* Q_PROCESSOR_X86 */
|
||||
|
||||
// Clang compiler fix, see http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20160222/151168.html
|
||||
|
Loading…
x
Reference in New Issue
Block a user