summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-09-19 15:15:01 +0200
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-09-19 15:15:01 +0200
commitae4d77d864fb89b4b2d2d39445da6017156f236c (patch)
treefa2aa0b86bd7db172483acb9b0e19f6cfa9d24a9 /Makefile
parent9f814a130b40c455144c0c2f946ea9faebeeba34 (diff)
Add AVX512 copy variant. Not particularly efficient yet, might be missing sth
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 139bb69..83f3f7d 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,10 @@ ifdef numa
EXTRA_LIBS += -lnuma
endif
+ifdef avx512
+ EXTRA_CFLAGS += -DHAVE_AVX512
+endif
+
mbw: mbw.c
gcc -Wall -Wextra -pedantic -O3 -march=native ${EXTRA_CFLAGS} -o mbw mbw.c ${EXTRA_LIBS}