You can't disable SSE2 for x86-64

Fixes: QTBUG-88013
Change-Id: Iec571ef3fccbec46145617ca8d983c3a333090e4
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
bb10
Allan Sandfeld Jensen 2020-10-29 12:47:15 +01:00
parent 30a1683f65
commit 4c36d64bb3
1 changed files with 11 additions and 4 deletions

View File

@ -567,10 +567,17 @@ qt_internal_extend_target(Gui CONDITION ((QT_FEATURE_png) AND (WIN32 AND MINGW))
)
if(NOT ANDROID)
qt_internal_add_simd_part(Gui SIMD sse2
SOURCES
painting/qdrawhelper_sse2.cpp
)
if(TEST_architecture_arch STREQUAL x86_64)
qt_internal_extend_target(Gui
SOURCES
painting/qdrawhelper_sse2.cpp
)
else()
qt_internal_add_simd_part(Gui SIMD sse2
SOURCES
painting/qdrawhelper_sse2.cpp
)
endif()
qt_internal_add_simd_part(Gui SIMD ssse3
SOURCES