mirror of
https://github.com/mborgerding/kissfft.git
synced 2025-06-04 01:28:23 -04:00
slightly faster
This commit is contained in:
parent
1486d89291
commit
3a5791f203
@ -317,15 +317,16 @@ void bfly_generic(
|
|||||||
for ( q=1 ; q<p ; ++q ) {
|
for ( q=1 ; q<p ; ++q ) {
|
||||||
C_MUL( scratch[q] , Fout[ m*q ] , tw[u*fstride*q] );
|
C_MUL( scratch[q] , Fout[ m*q ] , tw[u*fstride*q] );
|
||||||
Fout[ m*q ] = scratch[0];
|
Fout[ m*q ] = scratch[0];
|
||||||
C_ADDTO(*Fout , scratch[q] );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for ( q=1; q<p ; ++q ) {
|
for ( q=1; q<p ; ++q ) {
|
||||||
int twidx = q*fsm;
|
|
||||||
|
|
||||||
|
|
||||||
|
C_ADDTO(*Fout , scratch[q] );
|
||||||
Foutlo=Fout;
|
Foutlo=Fout;
|
||||||
Fouthi=Fout + mp;
|
Fouthi=Fout + mp;
|
||||||
|
|
||||||
|
|
||||||
for ( d=1; d<=halfp;++d) {
|
for ( d=1; d<=halfp;++d) {
|
||||||
Foutlo += m;
|
Foutlo += m;
|
||||||
Fouthi -= m;
|
Fouthi -= m;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user