A test case for issue #40. Segfaults with: make -C test test_simd && ./test/test_simd

This commit is contained in:
Mark Borgerding
2020-04-19 09:57:40 -04:00
parent c2c0c0be03
commit b30b93cd97
3 changed files with 28 additions and 0 deletions

View File

@ -64,6 +64,8 @@ all: tools $(BENCHKISS) $(SELFTEST) $(BENCHFFTW) $(TESTREAL) $(TESTKFC)
tools:
cd ../tools && make all
test_simd: test_simd.c $(SRCFILES)
$(CC) -o $@ -g $(CFLAGS) -DUSE_SIMD=1 -msse $+ -lm
$(SELFTEST): $(SELFTESTSRC) $(SRCFILES)
$(CC) -o $@ $(CFLAGS) $(TYPEFLAGS) $+ -lm