diff options
author | John Brooks <special@dereferenced.net> | 2010-06-28 18:13:50 (GMT) |
---|---|---|
committer | Benjamin Poulain <benjamin.poulain@nokia.com> | 2010-06-28 18:13:50 (GMT) |
commit | 2b599833c61de7bb164b0dffb5e28194d311972b (patch) | |
tree | 0a779c43afd078a6813d169304e1a987b2bfe202 /src/corelib/global | |
parent | 2bf44ff6edc32eafa6d9ecd15c7c17eccc6a2ff8 (diff) | |
download | Qt-2b599833c61de7bb164b0dffb5e28194d311972b.zip Qt-2b599833c61de7bb164b0dffb5e28194d311972b.tar.gz Qt-2b599833c61de7bb164b0dffb5e28194d311972b.tar.bz2 |
Enable SSE2 for MSVC x64 builds, as it was incorrectly disabled
Merge-request: 718
Reviewed-by: Benjamin Poulain <benjamin.poulain@nokia.com>
Diffstat (limited to 'src/corelib/global')
-rw-r--r-- | src/corelib/global/qglobal.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index 1eab394..76f35ac 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -412,15 +412,13 @@ namespace QT_NAMESPACE {} # if defined(__INTEL_COMPILER) # define Q_CC_INTEL # endif -/* x64 does not support mmx intrinsics on windows */ -# if (defined(Q_OS_WIN64) && defined(_M_X64)) +/* MSVC does not support SSE/MMX on x64 */ +# if (defined(Q_CC_MSVC) && defined(_M_X64)) # undef QT_HAVE_SSE -# undef QT_HAVE_SSE2 # undef QT_HAVE_MMX # undef QT_HAVE_3DNOW # endif - #elif defined(__BORLANDC__) || defined(__TURBOC__) # define Q_CC_BOR # define Q_INLINE_TEMPLATE |