From ae4d77d864fb89b4b2d2d39445da6017156f236c Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Thu, 19 Sep 2024 15:15:01 +0200 Subject: Add AVX512 copy variant. Not particularly efficient yet, might be missing sth --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') 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} -- cgit v1.2.3