diff options
author | Benjamin Poulain <benjamin.poulain@nokia.com> | 2010-07-20 11:28:55 (GMT) |
---|---|---|
committer | Benjamin Poulain <benjamin.poulain@nokia.com> | 2010-07-20 16:35:39 (GMT) |
commit | 42267701edd266463c90cec82d45022446a2606a (patch) | |
tree | 6dc3e55f1e8f36de9ef3fe64d8b2a92d53cc0916 /src/corelib/corelib.pro | |
parent | bd351c2119bf5fed3b5457a3df9fa82e4cd7863b (diff) | |
download | Qt-42267701edd266463c90cec82d45022446a2606a.zip Qt-42267701edd266463c90cec82d45022446a2606a.tar.gz Qt-42267701edd266463c90cec82d45022446a2606a.tar.bz2 |
Add support for more vector instructions on x86
Add the configuration, autodetection, and the #define for vector
instructions on x86. The configuration has been extended with SSE3,
SSSE3, SSE4.1, SSE4.2 and AVX.
Reviewed-by: Andreas Kling
Diffstat (limited to 'src/corelib/corelib.pro')
-rw-r--r-- | src/corelib/corelib.pro | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/corelib/corelib.pro b/src/corelib/corelib.pro index dba2a42..bbf445f 100644 --- a/src/corelib/corelib.pro +++ b/src/corelib/corelib.pro @@ -66,6 +66,21 @@ sse { 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 } |