mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-13 16:41:50 +08:00
Include immintrin.h header for enscripten.
(cherry picked from commit 34780d8bd13d0af0cf17a22789ef286e8512594d)
This commit is contained in:
parent
ea57f9b78f
commit
6aaa45db5f
@ -339,7 +339,7 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
// In theory we should only include immintrin.h and not the other *mmintrin.h header files directly.
|
// 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:
|
// 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>
|
#include <immintrin.h>
|
||||||
#else
|
#else
|
||||||
#include <mmintrin.h>
|
#include <mmintrin.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user