diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2014-06-24 17:34:07 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2014-07-25 17:48:53 +0200 |
commit | 1f0823cc271856b8d21be3c3bcbde57393e731f0 (patch) | |
tree | f7effe5244117f5cb06848d0c153d113c1807e57 /src/gui/painting/painting.pri | |
parent | 86ac3a98b50a29882e896a0703ec9201e71fe989 (diff) |
Rewrite simd.prf to share more code
This was a long-time coming.
One innovation from this commit is that it will add the source to
SOURCES if the compiler is already generating code for that specific
target. That is currently always the case for Neon, and the MIPS DSPs
since that is the only condition in which configure will enable those
targets. And because of qt_module.prf, it's also always the case for
SSE2 (but not for SSE3 or higher).
So simplify the .pri files by removing always-true conditions.
Change-Id: Ib24af74717b652c9a6be246e3c17a839470f37da
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Diffstat (limited to 'src/gui/painting/painting.pri')
-rw-r--r-- | src/gui/painting/painting.pri | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gui/painting/painting.pri b/src/gui/painting/painting.pri index 8fc0156c02..31c0c214d5 100644 --- a/src/gui/painting/painting.pri +++ b/src/gui/painting/painting.pri @@ -91,13 +91,11 @@ SOURCES += \ painting/qpaintbuffer.cpp \ painting/qpathsimplifier.cpp -contains(QT_CPU_FEATURES.$$QT_ARCH, sse2) { - SOURCES += painting/qdrawhelper_sse2.cpp - SSSE3_SOURCES += painting/qdrawhelper_ssse3.cpp -} +SSE2_SOURCES += painting/qdrawhelper_sse2.cpp +SSSE3_SOURCES += painting/qdrawhelper_ssse3.cpp IWMMXT_SOURCES += painting/qdrawhelper_iwmmxt.cpp -!ios:neon { +!ios { CONFIG += no_clang_integrated_as NEON_SOURCES += painting/qdrawhelper_neon.cpp NEON_HEADERS += painting/qdrawhelper_neon_p.h |