cputime=5.940

to
cputime=5.840
This commit is contained in:
Mark Borgerding 2004-02-03 01:13:10 +00:00
parent 210f219648
commit f95bd02866

View File

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