From 3673ac0e55d486c244d1feb636fcea8aeed57088 Mon Sep 17 00:00:00 2001 From: hayati ayguen Date: Sun, 22 Dec 2019 07:09:56 +0100 Subject: merge support for 64-bit arm (the preprocessor tests had to be fixed) + benchmark on ipad air 2 merge from https://bitbucket.org/jpommier/pffft/src/default/ Signed-off-by: hayati ayguen --- test_pffft.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'test_pffft.c') diff --git a/test_pffft.c b/test_pffft.c index 512f0ae..814e017 100644 --- a/test_pffft.c +++ b/test_pffft.c @@ -9,10 +9,12 @@ gcc -o test_pffft -DHAVE_FFTW -msse -mfpmath=sse -O3 -Wall -W pffft.c test_pffft.c fftpack.c -L/usr/local/lib -I/usr/local/include/ -lfftw3f -lm on macos, without fftw3: - gcc-4.2 -o test_pffft -DHAVE_VECLIB -O3 -Wall -W pffft.c test_pffft.c fftpack.c -L/usr/local/lib -I/usr/local/include/ -framework veclib + clang -o test_pffft -DHAVE_VECLIB -O3 -Wall -W pffft.c test_pffft.c fftpack.c -L/usr/local/lib -I/usr/local/include/ -framework Accelerate on macos, with fftw3: - gcc-4.2 -o test_pffft -DHAVE_FFTW -DHAVE_VECLIB -O3 -Wall -W pffft.c test_pffft.c fftpack.c -L/usr/local/lib -I/usr/local/include/ -lfftw3f -framework veclib + clang -o test_pffft -DHAVE_FFTW -DHAVE_VECLIB -O3 -Wall -W pffft.c test_pffft.c fftpack.c -L/usr/local/lib -I/usr/local/include/ -lfftw3f -framework Accelerate + + as alternative: replace clang by gcc. on windows, with visual c++: cl /Ox -D_USE_MATH_DEFINES /arch:SSE test_pffft.c pffft.c fftpack.c @@ -38,7 +40,7 @@ #endif #ifdef HAVE_VECLIB -# include +# include #endif #ifdef HAVE_FFTW @@ -417,3 +419,4 @@ int main(int argc, char **argv) { return 0; } + -- cgit v1.2.3