aboutsummaryrefslogtreecommitdiff
path: root/src/vectors-8-AVX.h
diff options
context:
space:
mode:
authoreschnett <eschnett@105869f7-3296-0410-a4ea-f4349344b45a>2011-12-15 15:30:14 +0000
committereschnett <eschnett@105869f7-3296-0410-a4ea-f4349344b45a>2011-12-15 15:30:14 +0000
commit9305624ffce90bca91be92db1a718e428a1cdf4c (patch)
treea7b2ae42dc1ee25981d74c257e16d8aa4002d1fd /src/vectors-8-AVX.h
parent52064a4e928175bfa1be3f7e8d262f584ca025e9 (diff)
Don't use <x86intrin.h>; this does not exist everywhere
git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/Vectors/trunk@40 105869f7-3296-0410-a4ea-f4349344b45a
Diffstat (limited to 'src/vectors-8-AVX.h')
-rw-r--r--src/vectors-8-AVX.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/vectors-8-AVX.h b/src/vectors-8-AVX.h
index fc3e4d5..f96bd01 100644
--- a/src/vectors-8-AVX.h
+++ b/src/vectors-8-AVX.h
@@ -5,9 +5,13 @@
-#include <x86intrin.h>
#if VECTORISE_EMULATE_AVX
# include "avxintrin_emu.h"
+#else
+# include <immintrin.h>
+#endif
+#ifdef __FMA4__
+# include <fma4intrin.h>
#endif