./bm_kiss_float -x 40000 -n 1800

from
cputime=5.840
to
cputime=5.830
 (yeah yeah, I know its not great)
This commit is contained in:
Mark Borgerding 2004-02-03 01:37:19 +00:00
parent f95bd02866
commit 26ce35083d

View File

@ -251,24 +251,20 @@ void kf_work(
)
{
kiss_fft_cpx * Fout_beg=Fout;
kiss_fft_cpx * Fout_end;
int m,p;
p=*factors++; /* the radix */
m=*factors++; /* stage's fft length/p */
Fout_end = Fout + p*m;
const int p=*factors++; /* the radix */
const int m=*factors++; /* stage's fft length/p */
const kiss_fft_cpx * Fout_end = Fout + p*m;
if (m==1) {
do{
*Fout++ = *f;
*Fout = *f;
f += fstride*in_stride;
}while(Fout != Fout_end );
}while(++Fout != Fout_end );
}else{
do{
kf_work( Fout , f, fstride*p, in_stride, factors,st);
f += fstride*in_stride;
Fout += m;
}while(Fout != Fout_end );
}while( (Fout += m) != Fout_end );
}
Fout=Fout_beg;