summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/qt.prf
diff options
context:
space:
mode:
authorBenjamin Poulain <benjamin.poulain@nokia.com>2010-08-03 10:04:35 (GMT)
committerBenjamin Poulain <benjamin.poulain@nokia.com>2010-08-03 10:49:10 (GMT)
commitb86691f854adb24060cec61e4954c986fc350821 (patch)
tree672c4c29d02455a64ccead686282200b748e9153 /mkspecs/features/qt.prf
parent0c6f61ccdf24259d9dc64ae0d0bcd004a957cd46 (diff)
downloadQt-b86691f854adb24060cec61e4954c986fc350821.zip
Qt-b86691f854adb24060cec61e4954c986fc350821.tar.gz
Qt-b86691f854adb24060cec61e4954c986fc350821.tar.bz2
Move the SIMD defines to the common declaration of Qt symbols
Move the #defines for the SIMD extension to the common code in order to be able to use them from any module without copying their definition. Reviewed-by: Andreas Kling
Diffstat (limited to 'mkspecs/features/qt.prf')
-rw-r--r--mkspecs/features/qt.prf13
1 files changed, 13 insertions, 0 deletions
diff --git a/mkspecs/features/qt.prf b/mkspecs/features/qt.prf
index e8946de..aa0f06e 100644
--- a/mkspecs/features/qt.prf
+++ b/mkspecs/features/qt.prf
@@ -209,3 +209,16 @@ wince*:static:gui {
mac {
!isEmpty(QT_NAMESPACE_MAC_CRC):DEFINES *= QT_NAMESPACE_MAC_CRC=$$QT_NAMESPACE_MAC_CRC
}
+
+#SIMD defines:
+neon: DEFINES += QT_HAVE_NEON
+mmx:DEFINES += QT_HAVE_MMX
+3dnow:DEFINES += QT_HAVE_3DNOW
+sse:DEFINES += QT_HAVE_SSE QT_HAVE_MMXEXT
+sse2:DEFINES += QT_HAVE_SSE2
+sse3:DEFINES += QT_HAVE_SSE3
+ssse3:DEFINES += QT_HAVE_SSSE3
+sse4_1:DEFINES += QT_HAVE_SSE4_1
+sse4_2:DEFINES += QT_HAVE_SSE4_2
+avx:DEFINES += QT_HAVE_AVX
+iwmmxt:DEFINES += QT_HAVE_IWMMXT