immintrin.h did not come until intel version 11

This commit is contained in:
Mark Borgerding 2014-03-26 22:26:07 -04:00
parent f0a4c9d5ab
commit 9ce0d78513

View File

@ -123,7 +123,7 @@
extern "C" {
// In theory we should only include immintrin.h and not the other *mmintrin.h header files directly.
// Doing so triggers some issues with ICC. However old gcc versions seems to not have this file, thus:
#ifdef __INTEL_COMPILER
#if defined(__INTEL_COMPILER) && __INTEL_COMPILER >= 1110
#include <immintrin.h>
#else
#include <emmintrin.h>