diff src/fftw-3.3.3/support/twovers.sh @ 10:37bf6b4a2645

Add FFTW3
author Chris Cannam
date Wed, 20 Mar 2013 15:35:50 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/fftw-3.3.3/support/twovers.sh	Wed Mar 20 15:35:50 2013 +0000
@@ -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 */"