1 config BR2_PACKAGE_FFTW
4 Library for computing Fast Fourier Transforms.
6 This library computes Fast Fourier Transforms (FFT) in one
7 or more dimensions. It is extremely fast. This package
8 contains the shared library version of the fftw libraries in
15 config BR2_PACKAGE_FFTW_USE_SSE
18 config BR2_PACKAGE_FFTW_USE_SSE2
21 config BR2_PACKAGE_FFTW_USE_NEON
25 prompt "fftw precision"
26 default BR2_PACKAGE_FFTW_PRECISION_DOUBLE
28 Selects fftw precision
30 config BR2_PACKAGE_FFTW_PRECISION_SINGLE
32 select BR2_PACKAGE_FFTW_USE_SSE if BR2_X86_CPU_HAS_SSE
33 select BR2_PACKAGE_FFTW_USE_SSE2 if BR2_X86_CPU_HAS_SSE2
34 select BR2_PACKAGE_FFTW_USE_NEON if BR2_ARM_CPU_HAS_NEON && !BR2_ARM_SOFT_FLOAT
36 Compile fftw in single precision, i.e. use 'float' for floating
39 config BR2_PACKAGE_FFTW_PRECISION_DOUBLE
41 select BR2_PACKAGE_FFTW_USE_SSE2 if BR2_X86_CPU_HAS_SSE2
43 Compile fftw in double precision (the default), i.e. use 'double'
44 for floating point type.
46 config BR2_PACKAGE_FFTW_PRECISION_LONG_DOUBLE
48 # long-double precision require long-double trigonometric routines
49 depends on !(BR2_TOOLCHAIN_BUILDROOT_UCLIBC && \
50 (BR2_arm || BR2_mips || BR2_mipsel))
52 Compile fftw in long double precision, i.e. use 'long double'
53 for floating point type.
55 config BR2_PACKAGE_FFTW_PRECISION_QUAD
57 # quad-precision needs to have a gcc with libquadmath
58 depends on (BR2_i386 || BR2_x86_64) && BR2_USE_WCHAR
60 Compile fftw in quadruple precision, i.e. use '__float128' for
65 config BR2_PACKAGE_FFTW_FAST
66 bool "optimise for speed over accuracy"
68 Optimise for fast math functions, at the expense of accuracy.
70 Say 'y' if you need speed and can live with inaccuracies in
71 the results. Say 'n' (the default) if accuracy is of utmost
74 This basically uses gcc's -Ofast optimisation level, which in
75 turn is basically using gcc's -ffast-math. See the gcc manual