diff options
author | hayati ayguen <h_ayguen@web.de> | 2019-12-22 07:09:56 +0100 |
---|---|---|
committer | hayati ayguen <h_ayguen@web.de> | 2019-12-23 08:58:32 +0100 |
commit | 3673ac0e55d486c244d1feb636fcea8aeed57088 (patch) | |
tree | 4d0d504e565c85b5bbcacbfbb865ef889650e934 /test_pffft.c | |
parent | a767b6e848a9b0653b055ab97e699fffe7a85ddd (diff) | |
download | pffft-3673ac0e55d486c244d1feb636fcea8aeed57088.tar.gz |
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 <h_ayguen@web.de>
Diffstat (limited to 'test_pffft.c')
-rw-r--r-- | test_pffft.c | 9 |
1 files changed, 6 insertions, 3 deletions
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 <vecLib/vDSP.h> +# include <Accelerate/Accelerate.h> #endif #ifdef HAVE_FFTW @@ -417,3 +419,4 @@ int main(int argc, char **argv) { return 0; } + |