Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "src/simde"]
path = src/simde
url = https://github.com/nemequ/simde-no-tests
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-msse3 can stay; we'll handle it different in the Debian package

# -DOBSFUCATION -DJNI_OBSFUCATION
endif()

Expand Down
11 changes: 2 additions & 9 deletions src/algo/hits/gap/SmallGapHitIteratorSSE8.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,8 @@

#include <algo/hits/gap/SmallGapHitIteratorSSE8.hpp>

#if __SSE3__
#include <pmmintrin.h>
#else
#if __SSE2__
#include <emmintrin.h>
#else
#warning error undefined __SSE3__ or __SSE2__
#endif
#endif
#define SIMDE_ENABLE_NATIVE_ALIASES
#include <simde/x86/sse3.h>

using namespace std;
using namespace misc;
Expand Down
11 changes: 2 additions & 9 deletions src/algo/hits/ungap/UngapHitIteratorSSE16.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,8 @@

#include <algo/hits/ungap/UngapHitIteratorSSE16.hpp>

#if __SSE3__
#include <pmmintrin.h>
#else
#if __SSE2__
#include <emmintrin.h>
#else
#warning error undefined __SSE3__ or __SSE2__
#endif
#endif
#define SIMDE_ENABLE_NATIVE_ALIASES
#include <simde/x86/sse3.h>

using namespace std;
using namespace misc;
Expand Down
11 changes: 2 additions & 9 deletions src/algo/hits/ungap/UngapHitIteratorSSE8.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,8 @@

#include <algo/hits/ungap/UngapHitIteratorSSE8.hpp>

#if __SSE3__
#include <pmmintrin.h>
#else
#if __SSE2__
#include <emmintrin.h>
#else
#warning error undefined __SSE3__ or __SSE2__
#endif
#endif
#define SIMDE_ENABLE_NATIVE_ALIASES
#include <simde/x86/sse3.h>

using namespace std;
using namespace misc;
Expand Down