view src/fftw-3.3.3/support/twovers.sh @ 114:241db1b1eff2

added includes as well
author Matthias Mauch <matthiasmauch@gmail.com>
date Thu, 09 Jan 2014 13:23:08 +0000
parents 89f5e221ed7b
children
line wrap: on
line source
#! /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 */"