comparison test/Makefile.template @ 39:f9ca85d2f14c

*: rearrange some things; add avx512bw support
author Paper <paper@tflc.us>
date Sat, 26 Apr 2025 15:31:39 -0400
parents 4b5a557aa64f
children 55cadb1fac4b
comparison
equal deleted inserted replaced
38:fd42f9b1b95e 39:f9ca85d2f14c
1 CPPFLAGS += -O2 -I../include -Wall -Wpedantic -Werror=strict-aliasing 1 CPPFLAGS += -O2 -I../include -Wall -Wpedantic -Werror=strict-aliasing
2 CFLAGS += $(CPPFLAGS) -std=c99 2 CFLAGS += $(CPPFLAGS) -std=c99
3 CXXFLAGS += $(CPPFLAGS) -std=c++11 3 CXXFLAGS += $(CPPFLAGS) -std=c++11
4 4
5 HEADERS = ../include/vec/vec.h \ 5 HEADERS = ../include/vec/vec.h \
6 ../include/vec/cpu.h \
7 ../include/vec/mem.h \
8 ../include/vec/defs.h \
6 ../include/vec/impl/ppc/altivec.h \ 9 ../include/vec/impl/ppc/altivec.h \
7 ../include/vec/impl/x86/avx2.h \ 10 ../include/vec/impl/x86/avx2.h \
8 ../include/vec/impl/x86/avx512f.h \ 11 ../include/vec/impl/x86/avx512f.h \
12 ../include/vec/impl/x86/avx512bw.h \
9 ../include/vec/impl/x86/mmx.h \ 13 ../include/vec/impl/x86/mmx.h \
10 ../include/vec/impl/x86/sse2.h \ 14 ../include/vec/impl/x86/sse2.h \
15 ../include/vec/impl/x86/sse3.h \
11 ../include/vec/impl/x86/sse41.h \ 16 ../include/vec/impl/x86/sse41.h \
12 ../include/vec/impl/cpu.h \ 17 ../include/vec/impl/x86/sse42.h \
13 ../include/vec/impl/generic.h \ 18 ../include/vec/impl/generic.h \
14 test_align.h \ 19 test_align.h \
15 test_arith.h \ 20 test_arith.h \
16 test_compare.h \ 21 test_compare.h \
17 test_shift.h \ 22 test_shift.h \
18 test_benchmark.h 23 test_benchmark.h \
24 test_benchmark_vec.c \
25 test_benchmark_simple.c
19 BINS = test-generic test-host test-cxx 26 BINS = test-generic test-host test-cxx
20 OBJS = test.o test-cxx.o test_benchmark_simple.o test_benchmark_vec.o 27 OBJS = test.o test-cxx.o test_benchmark_simple.o test_benchmark_vec.o
21 28
22 .PHONY: all clean test 29 .PHONY: all clean test
23 30