Mercurial > hg > sv-dependency-builds
diff src/fftw-3.3.5/support/twovers.sh @ 42:2cd0e3b3e1fd
Current fftw source
author | Chris Cannam |
---|---|
date | Tue, 18 Oct 2016 13:40:26 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/fftw-3.3.5/support/twovers.sh Tue Oct 18 13:40:26 2016 +0100 @@ -0,0 +1,17 @@ +#! /bin/sh + +# wrapper to generate two codelet versions, with and without +# fma + +genfft=$1 +shift + +echo "#ifdef HAVE_FMA" +echo + $genfft -fma -reorder-insns -schedule-for-pipeline $* +echo +echo "#else /* HAVE_FMA */" +echo + $genfft $* +echo +echo "#endif /* HAVE_FMA */"