view fft/fftw/fftw-3.3.4/support/twovers.sh @ 27:4fa5f3f883a2

Add native-code version for comparison
author Chris Cannam
date Wed, 07 Oct 2015 21:28:09 +0100
parents 26056e866c29
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 */"