diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2013-12-08 19:58:37 -0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-16 02:59:49 +0100 |
commit | 1b12c0608be2359baa2f96ae28b135a84abd388c (patch) | |
tree | 2767974eb19dc2eaa94f5389cb0ed48e90256fb1 /src/gui/image/image.pri | |
parent | d006e69da61bfddb8be9a400e4cb1c25542bb9d9 (diff) |
Remove runtime detection of Neon on ARM CPUs
Now the only way to enable Neon support is to change the mkspec.
[ChangeLog][Important Behavior Changes] Qt no longer checks for
support for the Neon FPU on ARM platforms at runtime. Code optimized
for Neon must be enabled unconditionally at compile time by ensuring
the compiler supports Neon. You may need to edit your mkspec for that.
Task-number: QTBUG-30440
Change-Id: I4df9b2bf3cd022f8ed70f02f16878cb2cb3fe6fb
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/gui/image/image.pri')
-rw-r--r-- | src/gui/image/image.pri | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/image/image.pri b/src/gui/image/image.pri index ad860ef2db..0745cc0302 100644 --- a/src/gui/image/image.pri +++ b/src/gui/image/image.pri @@ -78,7 +78,9 @@ contains(QT_CONFIG, jpeg):include($$PWD/qjpeghandler.pri) contains(QT_CONFIG, gif):include($$PWD/qgifhandler.pri) # SIMD -NEON_SOURCES += image/qimage_neon.cpp +contains(QT_CPU_FEATURES.$$QT_ARCH, neon) { + SOURCES += image/qimage_neon.cpp +} contains(QT_CPU_FEATURES.$$QT_ARCH, sse2) { SOURCES += image/qimage_sse2.cpp SSSE3_SOURCES += image/qimage_ssse3.cpp |