diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..3ae0f52 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "src/simde"] + path = src/simde + url = https://github.com/nemequ/simde-no-tests diff --git a/CMakeLists.txt b/CMakeLists.txt index 42d15ca..1aa500e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,7 +37,7 @@ if (debug) set (LIBRARY_COMPILE_DEFINITIONS "${LIBRARY_COMPILE_DEFINITIONS} -g -p") message("-- COMPILATION IN DEBUG MODE") else() - set (LIBRARY_COMPILE_DEFINITIONS "${LIBRARY_COMPILE_DEFINITIONS} -O3 -funroll-loops -fomit-frame-pointer -msse3 ") + set (LIBRARY_COMPILE_DEFINITIONS "${LIBRARY_COMPILE_DEFINITIONS} -O3 -funroll-loops -fomit-frame-pointer") # -DOBSFUCATION -DJNI_OBSFUCATION endif() diff --git a/src/algo/hits/gap/SmallGapHitIteratorSSE8.cpp b/src/algo/hits/gap/SmallGapHitIteratorSSE8.cpp index deb090f..fcd5e47 100755 --- a/src/algo/hits/gap/SmallGapHitIteratorSSE8.cpp +++ b/src/algo/hits/gap/SmallGapHitIteratorSSE8.cpp @@ -19,15 +19,8 @@ #include -#if __SSE3__ - #include -#else - #if __SSE2__ - #include - #else - #warning error undefined __SSE3__ or __SSE2__ - #endif -#endif +#define SIMDE_ENABLE_NATIVE_ALIASES +#include using namespace std; using namespace misc; diff --git a/src/algo/hits/ungap/UngapHitIteratorSSE16.cpp b/src/algo/hits/ungap/UngapHitIteratorSSE16.cpp index af1ec1c..1abfb87 100755 --- a/src/algo/hits/ungap/UngapHitIteratorSSE16.cpp +++ b/src/algo/hits/ungap/UngapHitIteratorSSE16.cpp @@ -21,15 +21,8 @@ #include -#if __SSE3__ - #include -#else -#if __SSE2__ - #include -#else - #warning error undefined __SSE3__ or __SSE2__ -#endif -#endif +#define SIMDE_ENABLE_NATIVE_ALIASES +#include using namespace std; using namespace misc; diff --git a/src/algo/hits/ungap/UngapHitIteratorSSE8.cpp b/src/algo/hits/ungap/UngapHitIteratorSSE8.cpp index dac0c44..2743c8d 100755 --- a/src/algo/hits/ungap/UngapHitIteratorSSE8.cpp +++ b/src/algo/hits/ungap/UngapHitIteratorSSE8.cpp @@ -20,15 +20,8 @@ #include -#if __SSE3__ - #include -#else -#if __SSE2__ - #include -#else - #warning error undefined __SSE3__ or __SSE2__ -#endif -#endif +#define SIMDE_ENABLE_NATIVE_ALIASES +#include using namespace std; using namespace misc;