Mercurial > hg > sv-dependency-builds
comparison src/fftw-3.3.8/support/twovers.sh @ 82:d0c2a83c1364
Add FFTW 3.3.8 source, and a Linux build
author | Chris Cannam |
---|---|
date | Tue, 19 Nov 2019 14:52:55 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
81:7029a4916348 | 82:d0c2a83c1364 |
---|---|
1 #! /bin/sh | |
2 | |
3 # wrapper to generate two codelet versions, with and without | |
4 # fma | |
5 | |
6 genfft=$1 | |
7 shift | |
8 | |
9 echo "#if defined(ARCH_PREFERS_FMA) || defined(ISA_EXTENSION_PREFERS_FMA)" | |
10 echo | |
11 $genfft -fma $* | |
12 echo | |
13 echo "#else" | |
14 echo | |
15 $genfft $* | |
16 echo | |
17 echo "#endif" |