summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qdrawhelper_p.h
diff options
context:
space:
mode:
authorBenjamin Poulain <benjamin.poulain@nokia.com>2010-02-23 10:32:43 (GMT)
committerBenjamin Poulain <benjamin.poulain@nokia.com>2010-02-23 16:21:51 (GMT)
commit69abc957bca39bce4ed954b0469eb6abce8173fa (patch)
tree6a87bfcb3f41fdc713ef7c84b89f980fddcd53d9 /src/gui/painting/qdrawhelper_p.h
parentf09fc6c958ac8f0307686cd8a59a1adc92771b0c (diff)
downloadQt-69abc957bca39bce4ed954b0469eb6abce8173fa.zip
Qt-69abc957bca39bce4ed954b0469eb6abce8173fa.tar.gz
Qt-69abc957bca39bce4ed954b0469eb6abce8173fa.tar.bz2
Move the SIMD detection from QtGui to QtCore
The SIMD instructions are useful outside painting code, the common functions are moved to QtCore Reviewed-by: Samuel Rødal
Diffstat (limited to 'src/gui/painting/qdrawhelper_p.h')
-rw-r--r--src/gui/painting/qdrawhelper_p.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gui/painting/qdrawhelper_p.h b/src/gui/painting/qdrawhelper_p.h
index 6c47aac..474ebcf 100644
--- a/src/gui/painting/qdrawhelper_p.h
+++ b/src/gui/painting/qdrawhelper_p.h
@@ -67,15 +67,6 @@
#include "QtGui/qscreen_qws.h"
#endif
-// Disable MMX and SSE on Mac/PPC builds, or if the compiler
-// does not support -Xarch argument passing
-#if defined(QT_NO_MAC_XARCH) || (defined(Q_OS_DARWIN) && (defined(__ppc__) || defined(__ppc64__)))
-#undef QT_HAVE_SSE2
-#undef QT_HAVE_SSE
-#undef QT_HAVE_3DNOW
-#undef QT_HAVE_MMX
-#endif
-
QT_BEGIN_NAMESPACE
#if defined(Q_CC_MSVC) && _MSCVER <= 1300 && !defined(Q_CC_INTEL)