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
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,11 @@ BITS=32
ifeq (x86_64,$(shell uname -m))
BITS=64
endif

ifeq (aarch64,$(shell uname -m))
BITS=64
endif

# msys will always be 32 bit so look at the cpu arch instead.
ifneq (,$(findstring AMD64,$(PROCESSOR_ARCHITEW6432)))
ifeq (1,$(MINGW))
Expand All @@ -155,6 +160,11 @@ ifeq (64,$(BITS))
endif
SSE_FLAG=-msse2

ifeq (aarch64,$(shell uname -m))
BITS_FLAG =
SSE_FLAG =
endif

DEBUG_FLAGS = -O0 -g3 $(BIToS_FLAG) $(SSE_FLAG)
DEBUG_DEFS = -DCOMPILER_OPTIONS="\"$(DEBUG_FLAGS) $(EXTRA_FLAGS)\""
RELEASE_FLAGS = -O3 $(BITS_FLAG) $(SSE_FLAG) -funroll-loops -g3
Expand Down
6 changes: 6 additions & 0 deletions aligner_sw.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,13 @@
#include <iostream>
#include <limits>
#include "threading.h"

#ifdef __aarch64__
#include "SSE2NEON.h"
#else
#include <emmintrin.h>
#endif

#include "aligner_sw_common.h"
#include "aligner_sw_nuc.h"
#include "ds.h"
Expand Down
6 changes: 6 additions & 0 deletions sse_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,13 @@
#include "ds.h"
#include "limit.h"
#include <iostream>

#ifdef __aarch64__
#include "SSE2NEON.h"
#else
#include <emmintrin.h>
#endif


class EList_m128i {
public:
Expand Down