mirror of
https://github.com/mborgerding/kissfft.git
synced 2025-05-27 13:10:26 -04:00
*** empty log message ***
This commit is contained in:
parent
7f6cbeab2e
commit
95fd244f93
@ -6,7 +6,6 @@
|
||||
|
||||
#include "pstats.h"
|
||||
|
||||
#define CHK fprintf(stderr,"line %d\n" , __LINE__ )
|
||||
|
||||
int main(int argc,char ** argv)
|
||||
{
|
||||
@ -33,7 +32,6 @@ int main(int argc,char ** argv)
|
||||
break;
|
||||
}
|
||||
}
|
||||
CHK;
|
||||
#ifdef USE_SIMD
|
||||
buf=(kiss_fft_cpx*)memalign(sizeof(kiss_fft_cpx),sizeof(kiss_fft_cpx) * nfft);
|
||||
bufout=(kiss_fft_cpx*)memalign(sizeof(kiss_fft_cpx),sizeof(kiss_fft_cpx) * nfft);
|
||||
@ -44,9 +42,6 @@ int main(int argc,char ** argv)
|
||||
buf=(kiss_fft_cpx*)malloc(sizeof(kiss_fft_cpx) * nfft);
|
||||
bufout=(kiss_fft_cpx*)malloc(sizeof(kiss_fft_cpx) * nfft);
|
||||
#endif
|
||||
|
||||
fprintf(stderr,"buf at %p, bufout at %p\n",buf,bufout);
|
||||
CHK;
|
||||
|
||||
for (i=0;i<nfft;++i ) {
|
||||
#ifdef USE_SIMD
|
||||
@ -57,17 +52,13 @@ int main(int argc,char ** argv)
|
||||
buf[i].i = rand() - RAND_MAX/2;
|
||||
#endif
|
||||
}
|
||||
CHK;
|
||||
|
||||
pstats_init();
|
||||
CHK;
|
||||
|
||||
st = kiss_fft_alloc( nfft ,isinverse ,0,0);
|
||||
CHK;
|
||||
|
||||
for (i=0;i<numffts;++i)
|
||||
kiss_fft( st ,buf,bufout );
|
||||
CHK;
|
||||
|
||||
free(st);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user