Include immintrin.h header for enscripten.

This commit is contained in:
Antonio Sánchez 2022-07-22 02:27:42 +00:00
parent 2cf4d18c9c
commit 34780d8bd1

View File

@ -317,7 +317,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:
#if EIGEN_COMP_ICC >= 1110
#if EIGEN_COMP_ICC >= 1110 || EIGEN_COMP_EMSCRIPTEN
#include <immintrin.h>
#else
#include <mmintrin.h>