Lines Matching refs:scratch
134 cpx_type scratch[7]; in kf_bfly4() local
137 scratch[0] = Fout[k+m] * _traits.twiddle(k*fstride); in kf_bfly4()
138 scratch[1] = Fout[k+2*m] * _traits.twiddle(k*fstride*2); in kf_bfly4()
139 scratch[2] = Fout[k+3*m] * _traits.twiddle(k*fstride*3); in kf_bfly4()
140 scratch[5] = Fout[k] - scratch[1]; in kf_bfly4()
142 Fout[k] += scratch[1]; in kf_bfly4()
143 scratch[3] = scratch[0] + scratch[2]; in kf_bfly4()
144 scratch[4] = scratch[0] - scratch[2]; in kf_bfly4()
145 …scratch[4] = cpx_type( scratch[4].imag()*negative_if_inverse , -scratch[4].real()* negative_if_inv… in kf_bfly4()
147 Fout[k+2*m] = Fout[k] - scratch[3]; in kf_bfly4()
148 Fout[k] += scratch[3]; in kf_bfly4()
149 Fout[k+m] = scratch[5] + scratch[4]; in kf_bfly4()
150 Fout[k+3*m] = scratch[5] - scratch[4]; in kf_bfly4()
159 cpx_type scratch[5]; in kf_bfly3() local
168 C_MUL(scratch[1],Fout[m] , *tw1); in kf_bfly3()
169 C_MUL(scratch[2],Fout[m2] , *tw2); in kf_bfly3()
171 C_ADD(scratch[3],scratch[1],scratch[2]); in kf_bfly3()
172 C_SUB(scratch[0],scratch[1],scratch[2]); in kf_bfly3()
176 …Fout[m] = cpx_type( Fout->real() - HALF_OF(scratch[3].real() ) , Fout->imag() - HALF_OF(scratch[3]… in kf_bfly3()
178 C_MULBYSCALAR( scratch[0] , epi3.imag() ); in kf_bfly3()
180 C_ADDTO(*Fout,scratch[3]); in kf_bfly3()
182 … Fout[m2] = cpx_type( Fout[m].real() + scratch[0].imag() , Fout[m].imag() - scratch[0].real() ); in kf_bfly3()
184 C_ADDTO( Fout[m] , cpx_type( -scratch[0].imag(),scratch[0].real() ) ); in kf_bfly3()
193 cpx_type scratch[13]; in kf_bfly5() local
209 scratch[0] = *Fout0; in kf_bfly5()
211 C_MUL(scratch[1] ,*Fout1, tw[u*fstride]); in kf_bfly5()
212 C_MUL(scratch[2] ,*Fout2, tw[2*u*fstride]); in kf_bfly5()
213 C_MUL(scratch[3] ,*Fout3, tw[3*u*fstride]); in kf_bfly5()
214 C_MUL(scratch[4] ,*Fout4, tw[4*u*fstride]); in kf_bfly5()
216 C_ADD( scratch[7],scratch[1],scratch[4]); in kf_bfly5()
217 C_SUB( scratch[10],scratch[1],scratch[4]); in kf_bfly5()
218 C_ADD( scratch[8],scratch[2],scratch[3]); in kf_bfly5()
219 C_SUB( scratch[9],scratch[2],scratch[3]); in kf_bfly5()
221 C_ADDTO( *Fout0, scratch[7]); in kf_bfly5()
222 C_ADDTO( *Fout0, scratch[8]); in kf_bfly5()
224 scratch[5] = scratch[0] + cpx_type( in kf_bfly5()
225 S_MUL(scratch[7].real(),ya.real() ) + S_MUL(scratch[8].real() ,yb.real() ), in kf_bfly5()
226 S_MUL(scratch[7].imag(),ya.real()) + S_MUL(scratch[8].imag(),yb.real()) in kf_bfly5()
229 scratch[6] = cpx_type( in kf_bfly5()
230 S_MUL(scratch[10].imag(),ya.imag()) + S_MUL(scratch[9].imag(),yb.imag()), in kf_bfly5()
231 -S_MUL(scratch[10].real(),ya.imag()) - S_MUL(scratch[9].real(),yb.imag()) in kf_bfly5()
234 C_SUB(*Fout1,scratch[5],scratch[6]); in kf_bfly5()
235 C_ADD(*Fout4,scratch[5],scratch[6]); in kf_bfly5()
237 scratch[11] = scratch[0] + in kf_bfly5()
239 S_MUL(scratch[7].real(),yb.real()) + S_MUL(scratch[8].real(),ya.real()), in kf_bfly5()
240 S_MUL(scratch[7].imag(),yb.real()) + S_MUL(scratch[8].imag(),ya.real()) in kf_bfly5()
243 scratch[12] = cpx_type( in kf_bfly5()
244 -S_MUL(scratch[10].imag(),yb.imag()) + S_MUL(scratch[9].imag(),ya.imag()), in kf_bfly5()
245 S_MUL(scratch[10].real(),yb.imag()) - S_MUL(scratch[9].real(),ya.imag()) in kf_bfly5()
248 C_ADD(*Fout2,scratch[11],scratch[12]); in kf_bfly5()
249 C_SUB(*Fout3,scratch[11],scratch[12]); in kf_bfly5()