1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
Author: Michael R. Crusoe <michael.crusoe@gmail.com>
Description: Fix compiling on non x86 with SIMD Everywhere
diff --git a/src/global_sse2.c b/src/global_sse2.c
index a5b2a3f..584bd67 100644
--- a/src/global_sse2.c
+++ b/src/global_sse2.c
@@ -19,7 +19,8 @@
#ifdef __SUNPRO_C
#include <sunmedia_intrin.h>
#else
-#include <emmintrin.h>
+#define SIMDE_ENABLE_NATIVE_ALIASES
+#include "simde/x86/sse2.h"
#endif
#ifdef SW_SSE2
diff --git a/src/glocal_sse2.c b/src/glocal_sse2.c
index d2e8348..123d270 100644
--- a/src/glocal_sse2.c
+++ b/src/glocal_sse2.c
@@ -19,7 +19,8 @@
#ifdef __SUNPRO_C
#include <sunmedia_intrin.h>
#else
-#include <emmintrin.h>
+#define SIMDE_ENABLE_NATIVE_ALIASES
+#include "simde/x86/sse2.h"
#endif
#ifdef SW_SSE2
diff --git a/src/smith_waterman_sse2.c b/src/smith_waterman_sse2.c
index d37f223..c638027 100644
--- a/src/smith_waterman_sse2.c
+++ b/src/smith_waterman_sse2.c
@@ -20,7 +20,8 @@
#ifdef __SUNPRO_C
#include <sunmedia_intrin.h>
#else
-#include <emmintrin.h>
+#define SIMDE_ENABLE_NATIVE_ALIASES
+#include "simde/x86/sse2.h"
#endif
#ifdef SW_SSE2
|