Allow x86intrin.h with ICC 13.1

The Intel C++ Composer XE 2013 Update 2 (a.k.a. ICC 13.1) has fixed the
bug of the undefined intrinsics.

Change-Id: If837a0800725d55fed7eff39b9d52c359dabb073
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
bb10
Thiago Macieira 2013-02-06 12:16:47 -08:00 committed by The Qt Project
parent a620c67e64
commit 8200e49bbe
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ QT_BEGIN_HEADER
// other x86 intrinsics
#if defined(QT_COMPILER_SUPPORTS_AVX) && defined(Q_CC_GNU) && \
(!defined(Q_CC_INTEL) || (__GNUC__ * 100 + __GNUC_MINOR__ < 407))
(!defined(Q_CC_INTEL)|| __INTEL_COMPILER >= 1310 || (__GNUC__ * 100 + __GNUC_MINOR__ < 407))
#define QT_COMPILER_SUPPORTS_X86INTRIN
#include <x86intrin.h>
#endif