Skip to content

Commit

Permalink
Remove --enable-portable-binary, --with-gcc-arch from documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
matteo-frigo committed Jun 24, 2011
1 parent f6d1274 commit 5169fc2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 23 deletions.
3 changes: 3 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
a given plan; thanks to Rhys Ulerich and Nathanael Schaeffer for the
suggestion.

* Remove the automatic detection of native architecture flag for gcc
which was introduced in fftw-3.1, since new gcc supports -mtune=native.

FFTW 3.2.2

* Improve performance of some copy operations of complex arrays on
Expand Down
25 changes: 2 additions & 23 deletions doc/install.texi
Original file line number Diff line number Diff line change
Expand Up @@ -95,27 +95,6 @@ Note especially @code{--help} to list all flags and

@itemize @bullet

@item
@cindex portability
@code{--enable-portable-binary}: Disable compiler optimizations that
would produce unportable binaries. @b{Important:} Use this if you are
distributing compiled binaries to people who may not use exactly the
same processor as you.

@item
@code{--with-gcc-arch=}@i{arch}: When compiling with @code{gcc}, FFTW
tries to deduce the current CPU in order to tell @code{gcc} what
architecture to tune for; this option overrides that guess
(i.e. @i{arch} should be a valid argument for @code{gcc}'s
@code{-march} or @code{-mtune} flags). You might do this because the
deduced architecture was wrong or because you want to tune for a
different CPU than the one you are compiling with. You can use
@code{--without-gcc-arch} to disable architecture-specific tuning
entirely. Note that if @code{--enable-portable-binary} is enabled
(above), then we use @code{-mtune} but not @code{-march}, so the
resulting binary will run on any architecture even though it is
optimized for a particular one.

@item
@cindex precision
@code{--enable-float}: Produces a single-precision version of FFTW
Expand Down Expand Up @@ -276,8 +255,8 @@ To create the FFTW library, you will then need to compile all of the
@code{rdft/scalar/r2r}, @code{reodft}, and @code{api} directories.
If you are compiling with SIMD support (e.g. you defined
@code{HAVE_SSE2} in @code{config.h}), then you also need to compile
the @code{.c} files in the @code{simd}, @code{simd/nonportable},
@code{dft/simd}, and @code{dft/simd/codelets} directories.
the @code{.c} files in the @code{simd-support},
@code{@{dft,rdft@}/simd}, @code{@{dft,rdft@}/simd/*} directories.

Once these files are all compiled, link them into a library, or a shared
library, or directly into your program.
Expand Down

0 comments on commit 5169fc2

Please sign in to comment.