Rev 3 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | pj | 1 | /* |
2 | * Copyright (c) 1997-1999 Massachusetts Institute of Technology |
||
3 | * |
||
4 | * This program is free software; you can redistribute it and/or modify |
||
5 | * it under the terms of the GNU General Public License as published by |
||
6 | * the Free Software Foundation; either version 2 of the License, or |
||
7 | * (at your option) any later version. |
||
8 | * |
||
9 | * This program is distributed in the hope that it will be useful, |
||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||
12 | * GNU General Public License for more details. |
||
13 | * |
||
14 | * You should have received a copy of the GNU General Public License |
||
15 | * along with this program; if not, write to the Free Software |
||
16 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
||
17 | * |
||
18 | */ |
||
19 | |||
20 | /* This file was automatically generated --- DO NOT EDIT */ |
||
21 | /* Generated on Tue May 18 13:56:06 EDT 1999 */ |
||
22 | |||
107 | pj | 23 | #include <fftw-int.h> |
24 | #include <fftw.h> |
||
2 | pj | 25 | |
26 | /* Generated by: ./genfft -magic-alignment-check -magic-twiddle-load-all -magic-variables 4 -magic-loopi -hc2hc-backward 10 */ |
||
27 | |||
28 | /* |
||
29 | * This function contains 168 FP additions, 90 FP multiplications, |
||
30 | * (or, 124 additions, 46 multiplications, 44 fused multiply/add), |
||
31 | * 37 stack variables, and 80 memory accesses |
||
32 | */ |
||
33 | static const fftw_real K250000000 = FFTW_KONST(+0.250000000000000000000000000000000000000000000); |
||
34 | static const fftw_real K951056516 = FFTW_KONST(+0.951056516295153572116439333379382143405698634); |
||
35 | static const fftw_real K587785252 = FFTW_KONST(+0.587785252292473129168705954639072768597652438); |
||
36 | static const fftw_real K559016994 = FFTW_KONST(+0.559016994374947424102293417182819058860154590); |
||
37 | static const fftw_real K500000000 = FFTW_KONST(+0.500000000000000000000000000000000000000000000); |
||
38 | static const fftw_real K1_902113032 = FFTW_KONST(+1.902113032590307144232878666758764286811397268); |
||
39 | static const fftw_real K1_175570504 = FFTW_KONST(+1.175570504584946258337411909278145537195304875); |
||
40 | static const fftw_real K2_000000000 = FFTW_KONST(+2.000000000000000000000000000000000000000000000); |
||
41 | static const fftw_real K1_118033988 = FFTW_KONST(+1.118033988749894848204586834365638117720309180); |
||
42 | |||
43 | /* |
||
44 | * Generator Id's : |
||
107 | pj | 45 | * $Id: fhb_10.c,v 1.2 2003-03-24 11:14:56 pj Exp $ |
46 | * $Id: fhb_10.c,v 1.2 2003-03-24 11:14:56 pj Exp $ |
||
47 | * $Id: fhb_10.c,v 1.2 2003-03-24 11:14:56 pj Exp $ |
||
2 | pj | 48 | */ |
49 | |||
50 | void fftw_hc2hc_backward_10(fftw_real *A, const fftw_complex *W, int iostride, int m, int dist) |
||
51 | { |
||
52 | int i; |
||
53 | fftw_real *X; |
||
54 | fftw_real *Y; |
||
55 | X = A; |
||
56 | Y = A + (10 * iostride); |
||
57 | { |
||
58 | fftw_real tmp155; |
||
59 | fftw_real tmp163; |
||
60 | fftw_real tmp175; |
||
61 | fftw_real tmp183; |
||
62 | fftw_real tmp172; |
||
63 | fftw_real tmp182; |
||
64 | fftw_real tmp162; |
||
65 | fftw_real tmp180; |
||
66 | fftw_real tmp166; |
||
67 | fftw_real tmp167; |
||
68 | fftw_real tmp170; |
||
69 | fftw_real tmp171; |
||
70 | ASSERT_ALIGNED_DOUBLE(); |
||
71 | { |
||
72 | fftw_real tmp153; |
||
73 | fftw_real tmp154; |
||
74 | fftw_real tmp173; |
||
75 | fftw_real tmp174; |
||
76 | ASSERT_ALIGNED_DOUBLE(); |
||
77 | tmp153 = X[0]; |
||
78 | tmp154 = X[5 * iostride]; |
||
79 | tmp155 = tmp153 - tmp154; |
||
80 | tmp163 = tmp153 + tmp154; |
||
81 | tmp173 = Y[-4 * iostride]; |
||
82 | tmp174 = Y[-iostride]; |
||
83 | tmp175 = tmp173 - tmp174; |
||
84 | tmp183 = tmp173 + tmp174; |
||
85 | } |
||
86 | tmp170 = Y[-2 * iostride]; |
||
87 | tmp171 = Y[-3 * iostride]; |
||
88 | tmp172 = tmp170 - tmp171; |
||
89 | tmp182 = tmp170 + tmp171; |
||
90 | { |
||
91 | fftw_real tmp158; |
||
92 | fftw_real tmp164; |
||
93 | fftw_real tmp161; |
||
94 | fftw_real tmp165; |
||
95 | ASSERT_ALIGNED_DOUBLE(); |
||
96 | { |
||
97 | fftw_real tmp156; |
||
98 | fftw_real tmp157; |
||
99 | fftw_real tmp159; |
||
100 | fftw_real tmp160; |
||
101 | ASSERT_ALIGNED_DOUBLE(); |
||
102 | tmp156 = X[2 * iostride]; |
||
103 | tmp157 = X[3 * iostride]; |
||
104 | tmp158 = tmp156 - tmp157; |
||
105 | tmp164 = tmp156 + tmp157; |
||
106 | tmp159 = X[4 * iostride]; |
||
107 | tmp160 = X[iostride]; |
||
108 | tmp161 = tmp159 - tmp160; |
||
109 | tmp165 = tmp159 + tmp160; |
||
110 | } |
||
111 | tmp162 = tmp158 + tmp161; |
||
112 | tmp180 = K1_118033988 * (tmp158 - tmp161); |
||
113 | tmp166 = tmp164 + tmp165; |
||
114 | tmp167 = K1_118033988 * (tmp164 - tmp165); |
||
115 | } |
||
116 | X[5 * iostride] = tmp155 + (K2_000000000 * tmp162); |
||
117 | { |
||
118 | fftw_real tmp184; |
||
119 | fftw_real tmp186; |
||
120 | fftw_real tmp181; |
||
121 | fftw_real tmp185; |
||
122 | fftw_real tmp179; |
||
123 | ASSERT_ALIGNED_DOUBLE(); |
||
124 | tmp184 = (K1_175570504 * tmp182) - (K1_902113032 * tmp183); |
||
125 | tmp186 = (K1_902113032 * tmp182) + (K1_175570504 * tmp183); |
||
126 | tmp179 = tmp155 - (K500000000 * tmp162); |
||
127 | tmp181 = tmp179 - tmp180; |
||
128 | tmp185 = tmp179 + tmp180; |
||
129 | X[7 * iostride] = tmp181 - tmp184; |
||
130 | X[3 * iostride] = tmp181 + tmp184; |
||
131 | X[iostride] = tmp185 - tmp186; |
||
132 | X[9 * iostride] = tmp185 + tmp186; |
||
133 | } |
||
134 | X[0] = tmp163 + (K2_000000000 * tmp166); |
||
135 | { |
||
136 | fftw_real tmp176; |
||
137 | fftw_real tmp178; |
||
138 | fftw_real tmp169; |
||
139 | fftw_real tmp177; |
||
140 | fftw_real tmp168; |
||
141 | ASSERT_ALIGNED_DOUBLE(); |
||
142 | tmp176 = (K1_902113032 * tmp172) + (K1_175570504 * tmp175); |
||
143 | tmp178 = (K1_902113032 * tmp175) - (K1_175570504 * tmp172); |
||
144 | tmp168 = tmp163 - (K500000000 * tmp166); |
||
145 | tmp169 = tmp167 + tmp168; |
||
146 | tmp177 = tmp168 - tmp167; |
||
147 | X[4 * iostride] = tmp169 + tmp176; |
||
148 | X[6 * iostride] = tmp169 - tmp176; |
||
149 | X[8 * iostride] = tmp177 - tmp178; |
||
150 | X[2 * iostride] = tmp177 + tmp178; |
||
151 | } |
||
152 | } |
||
153 | X = X + dist; |
||
154 | Y = Y - dist; |
||
155 | for (i = 2; i < m; i = i + 2, X = X + dist, Y = Y - dist, W = W + 9) { |
||
156 | fftw_real tmp35; |
||
157 | fftw_real tmp102; |
||
158 | fftw_real tmp77; |
||
159 | fftw_real tmp112; |
||
160 | fftw_real tmp72; |
||
161 | fftw_real tmp73; |
||
162 | fftw_real tmp50; |
||
163 | fftw_real tmp53; |
||
164 | fftw_real tmp123; |
||
165 | fftw_real tmp122; |
||
166 | fftw_real tmp109; |
||
167 | fftw_real tmp131; |
||
168 | fftw_real tmp61; |
||
169 | fftw_real tmp68; |
||
170 | fftw_real tmp80; |
||
171 | fftw_real tmp82; |
||
172 | fftw_real tmp134; |
||
173 | fftw_real tmp133; |
||
174 | fftw_real tmp119; |
||
175 | fftw_real tmp126; |
||
176 | ASSERT_ALIGNED_DOUBLE(); |
||
177 | { |
||
178 | fftw_real tmp33; |
||
179 | fftw_real tmp34; |
||
180 | fftw_real tmp75; |
||
181 | fftw_real tmp76; |
||
182 | ASSERT_ALIGNED_DOUBLE(); |
||
183 | tmp33 = X[0]; |
||
184 | tmp34 = Y[-5 * iostride]; |
||
185 | tmp35 = tmp33 + tmp34; |
||
186 | tmp102 = tmp33 - tmp34; |
||
187 | tmp75 = Y[0]; |
||
188 | tmp76 = X[5 * iostride]; |
||
189 | tmp77 = tmp75 - tmp76; |
||
190 | tmp112 = tmp75 + tmp76; |
||
191 | } |
||
192 | { |
||
193 | fftw_real tmp38; |
||
194 | fftw_real tmp103; |
||
195 | fftw_real tmp48; |
||
196 | fftw_real tmp107; |
||
197 | fftw_real tmp41; |
||
198 | fftw_real tmp104; |
||
199 | fftw_real tmp45; |
||
200 | fftw_real tmp106; |
||
201 | ASSERT_ALIGNED_DOUBLE(); |
||
202 | { |
||
203 | fftw_real tmp36; |
||
204 | fftw_real tmp37; |
||
205 | fftw_real tmp46; |
||
206 | fftw_real tmp47; |
||
207 | ASSERT_ALIGNED_DOUBLE(); |
||
208 | tmp36 = X[2 * iostride]; |
||
209 | tmp37 = Y[-7 * iostride]; |
||
210 | tmp38 = tmp36 + tmp37; |
||
211 | tmp103 = tmp36 - tmp37; |
||
212 | tmp46 = Y[-6 * iostride]; |
||
213 | tmp47 = X[iostride]; |
||
214 | tmp48 = tmp46 + tmp47; |
||
215 | tmp107 = tmp46 - tmp47; |
||
216 | } |
||
217 | { |
||
218 | fftw_real tmp39; |
||
219 | fftw_real tmp40; |
||
220 | fftw_real tmp43; |
||
221 | fftw_real tmp44; |
||
222 | ASSERT_ALIGNED_DOUBLE(); |
||
223 | tmp39 = Y[-8 * iostride]; |
||
224 | tmp40 = X[3 * iostride]; |
||
225 | tmp41 = tmp39 + tmp40; |
||
226 | tmp104 = tmp39 - tmp40; |
||
227 | tmp43 = X[4 * iostride]; |
||
228 | tmp44 = Y[-9 * iostride]; |
||
229 | tmp45 = tmp43 + tmp44; |
||
230 | tmp106 = tmp43 - tmp44; |
||
231 | } |
||
232 | { |
||
233 | fftw_real tmp42; |
||
234 | fftw_real tmp49; |
||
235 | fftw_real tmp105; |
||
236 | fftw_real tmp108; |
||
237 | ASSERT_ALIGNED_DOUBLE(); |
||
238 | tmp72 = tmp38 - tmp41; |
||
239 | tmp73 = tmp45 - tmp48; |
||
240 | tmp42 = tmp38 + tmp41; |
||
241 | tmp49 = tmp45 + tmp48; |
||
242 | tmp50 = tmp42 + tmp49; |
||
243 | tmp53 = K559016994 * (tmp42 - tmp49); |
||
244 | tmp123 = tmp106 - tmp107; |
||
245 | tmp122 = tmp103 - tmp104; |
||
246 | tmp105 = tmp103 + tmp104; |
||
247 | tmp108 = tmp106 + tmp107; |
||
248 | tmp109 = tmp105 + tmp108; |
||
249 | tmp131 = K559016994 * (tmp105 - tmp108); |
||
250 | } |
||
251 | } |
||
252 | { |
||
253 | fftw_real tmp57; |
||
254 | fftw_real tmp113; |
||
255 | fftw_real tmp67; |
||
256 | fftw_real tmp117; |
||
257 | fftw_real tmp60; |
||
258 | fftw_real tmp114; |
||
259 | fftw_real tmp64; |
||
260 | fftw_real tmp116; |
||
261 | ASSERT_ALIGNED_DOUBLE(); |
||
262 | { |
||
263 | fftw_real tmp55; |
||
264 | fftw_real tmp56; |
||
265 | fftw_real tmp65; |
||
266 | fftw_real tmp66; |
||
267 | ASSERT_ALIGNED_DOUBLE(); |
||
268 | tmp55 = Y[-2 * iostride]; |
||
269 | tmp56 = X[7 * iostride]; |
||
270 | tmp57 = tmp55 - tmp56; |
||
271 | tmp113 = tmp55 + tmp56; |
||
272 | tmp65 = Y[-iostride]; |
||
273 | tmp66 = X[6 * iostride]; |
||
274 | tmp67 = tmp65 - tmp66; |
||
275 | tmp117 = tmp65 + tmp66; |
||
276 | } |
||
277 | { |
||
278 | fftw_real tmp58; |
||
279 | fftw_real tmp59; |
||
280 | fftw_real tmp62; |
||
281 | fftw_real tmp63; |
||
282 | ASSERT_ALIGNED_DOUBLE(); |
||
283 | tmp58 = Y[-3 * iostride]; |
||
284 | tmp59 = X[8 * iostride]; |
||
285 | tmp60 = tmp58 - tmp59; |
||
286 | tmp114 = tmp58 + tmp59; |
||
287 | tmp62 = Y[-4 * iostride]; |
||
288 | tmp63 = X[9 * iostride]; |
||
289 | tmp64 = tmp62 - tmp63; |
||
290 | tmp116 = tmp62 + tmp63; |
||
291 | } |
||
292 | { |
||
293 | fftw_real tmp78; |
||
294 | fftw_real tmp79; |
||
295 | fftw_real tmp115; |
||
296 | fftw_real tmp118; |
||
297 | ASSERT_ALIGNED_DOUBLE(); |
||
298 | tmp61 = tmp57 - tmp60; |
||
299 | tmp68 = tmp64 - tmp67; |
||
300 | tmp78 = tmp57 + tmp60; |
||
301 | tmp79 = tmp64 + tmp67; |
||
302 | tmp80 = tmp78 + tmp79; |
||
303 | tmp82 = K559016994 * (tmp78 - tmp79); |
||
304 | tmp134 = tmp116 + tmp117; |
||
305 | tmp133 = tmp113 + tmp114; |
||
306 | tmp115 = tmp113 - tmp114; |
||
307 | tmp118 = tmp116 - tmp117; |
||
308 | tmp119 = tmp115 + tmp118; |
||
309 | tmp126 = K559016994 * (tmp115 - tmp118); |
||
310 | } |
||
311 | } |
||
312 | X[0] = tmp35 + tmp50; |
||
313 | { |
||
314 | fftw_real tmp69; |
||
315 | fftw_real tmp91; |
||
316 | fftw_real tmp54; |
||
317 | fftw_real tmp90; |
||
318 | fftw_real tmp95; |
||
319 | fftw_real tmp74; |
||
320 | fftw_real tmp83; |
||
321 | fftw_real tmp94; |
||
322 | fftw_real tmp52; |
||
323 | fftw_real tmp81; |
||
324 | ASSERT_ALIGNED_DOUBLE(); |
||
325 | tmp69 = (K587785252 * tmp61) - (K951056516 * tmp68); |
||
326 | tmp91 = (K951056516 * tmp61) + (K587785252 * tmp68); |
||
327 | tmp52 = tmp35 - (K250000000 * tmp50); |
||
328 | tmp54 = tmp52 - tmp53; |
||
329 | tmp90 = tmp53 + tmp52; |
||
330 | tmp95 = (K951056516 * tmp72) + (K587785252 * tmp73); |
||
331 | tmp74 = (K587785252 * tmp72) - (K951056516 * tmp73); |
||
332 | tmp81 = tmp77 - (K250000000 * tmp80); |
||
333 | tmp83 = tmp81 - tmp82; |
||
334 | tmp94 = tmp82 + tmp81; |
||
335 | { |
||
336 | fftw_real tmp70; |
||
337 | fftw_real tmp84; |
||
338 | fftw_real tmp51; |
||
339 | fftw_real tmp71; |
||
340 | ASSERT_ALIGNED_DOUBLE(); |
||
341 | tmp70 = tmp54 - tmp69; |
||
342 | tmp84 = tmp74 + tmp83; |
||
343 | tmp51 = c_re(W[1]); |
||
344 | tmp71 = c_im(W[1]); |
||
345 | X[2 * iostride] = (tmp51 * tmp70) + (tmp71 * tmp84); |
||
346 | Y[-7 * iostride] = (tmp51 * tmp84) - (tmp71 * tmp70); |
||
347 | } |
||
348 | { |
||
349 | fftw_real tmp86; |
||
350 | fftw_real tmp88; |
||
351 | fftw_real tmp85; |
||
352 | fftw_real tmp87; |
||
353 | ASSERT_ALIGNED_DOUBLE(); |
||
354 | tmp86 = tmp54 + tmp69; |
||
355 | tmp88 = tmp83 - tmp74; |
||
356 | tmp85 = c_re(W[7]); |
||
357 | tmp87 = c_im(W[7]); |
||
358 | X[8 * iostride] = (tmp85 * tmp86) + (tmp87 * tmp88); |
||
359 | Y[-iostride] = (tmp85 * tmp88) - (tmp87 * tmp86); |
||
360 | } |
||
361 | { |
||
362 | fftw_real tmp92; |
||
363 | fftw_real tmp96; |
||
364 | fftw_real tmp89; |
||
365 | fftw_real tmp93; |
||
366 | ASSERT_ALIGNED_DOUBLE(); |
||
367 | tmp92 = tmp90 + tmp91; |
||
368 | tmp96 = tmp94 - tmp95; |
||
369 | tmp89 = c_re(W[3]); |
||
370 | tmp93 = c_im(W[3]); |
||
371 | X[4 * iostride] = (tmp89 * tmp92) + (tmp93 * tmp96); |
||
372 | Y[-5 * iostride] = (tmp89 * tmp96) - (tmp93 * tmp92); |
||
373 | } |
||
374 | { |
||
375 | fftw_real tmp98; |
||
376 | fftw_real tmp100; |
||
377 | fftw_real tmp97; |
||
378 | fftw_real tmp99; |
||
379 | ASSERT_ALIGNED_DOUBLE(); |
||
380 | tmp98 = tmp90 - tmp91; |
||
381 | tmp100 = tmp95 + tmp94; |
||
382 | tmp97 = c_re(W[5]); |
||
383 | tmp99 = c_im(W[5]); |
||
384 | X[6 * iostride] = (tmp97 * tmp98) + (tmp99 * tmp100); |
||
385 | Y[-3 * iostride] = (tmp97 * tmp100) - (tmp99 * tmp98); |
||
386 | } |
||
387 | } |
||
388 | Y[-9 * iostride] = tmp77 + tmp80; |
||
389 | { |
||
390 | fftw_real tmp110; |
||
391 | fftw_real tmp120; |
||
392 | fftw_real tmp101; |
||
393 | fftw_real tmp111; |
||
394 | ASSERT_ALIGNED_DOUBLE(); |
||
395 | tmp110 = tmp102 + tmp109; |
||
396 | tmp120 = tmp112 + tmp119; |
||
397 | tmp101 = c_re(W[4]); |
||
398 | tmp111 = c_im(W[4]); |
||
399 | X[5 * iostride] = (tmp101 * tmp110) + (tmp111 * tmp120); |
||
400 | Y[-4 * iostride] = (tmp101 * tmp120) - (tmp111 * tmp110); |
||
401 | } |
||
402 | { |
||
403 | fftw_real tmp124; |
||
404 | fftw_real tmp142; |
||
405 | fftw_real tmp127; |
||
406 | fftw_real tmp143; |
||
407 | fftw_real tmp147; |
||
408 | fftw_real tmp135; |
||
409 | fftw_real tmp132; |
||
410 | fftw_real tmp146; |
||
411 | fftw_real tmp125; |
||
412 | fftw_real tmp130; |
||
413 | ASSERT_ALIGNED_DOUBLE(); |
||
414 | tmp124 = (K587785252 * tmp122) - (K951056516 * tmp123); |
||
415 | tmp142 = (K951056516 * tmp122) + (K587785252 * tmp123); |
||
416 | tmp125 = tmp112 - (K250000000 * tmp119); |
||
417 | tmp127 = tmp125 - tmp126; |
||
418 | tmp143 = tmp126 + tmp125; |
||
419 | tmp147 = (K951056516 * tmp133) + (K587785252 * tmp134); |
||
420 | tmp135 = (K587785252 * tmp133) - (K951056516 * tmp134); |
||
421 | tmp130 = tmp102 - (K250000000 * tmp109); |
||
422 | tmp132 = tmp130 - tmp131; |
||
423 | tmp146 = tmp131 + tmp130; |
||
424 | { |
||
425 | fftw_real tmp128; |
||
426 | fftw_real tmp136; |
||
427 | fftw_real tmp121; |
||
428 | fftw_real tmp129; |
||
429 | ASSERT_ALIGNED_DOUBLE(); |
||
430 | tmp128 = tmp124 + tmp127; |
||
431 | tmp136 = tmp132 - tmp135; |
||
432 | tmp121 = c_re(W[6]); |
||
433 | tmp129 = c_im(W[6]); |
||
434 | Y[-2 * iostride] = (tmp121 * tmp128) - (tmp129 * tmp136); |
||
435 | X[7 * iostride] = (tmp129 * tmp128) + (tmp121 * tmp136); |
||
436 | } |
||
437 | { |
||
438 | fftw_real tmp138; |
||
439 | fftw_real tmp140; |
||
440 | fftw_real tmp137; |
||
441 | fftw_real tmp139; |
||
442 | ASSERT_ALIGNED_DOUBLE(); |
||
443 | tmp138 = tmp127 - tmp124; |
||
444 | tmp140 = tmp132 + tmp135; |
||
445 | tmp137 = c_re(W[2]); |
||
446 | tmp139 = c_im(W[2]); |
||
447 | Y[-6 * iostride] = (tmp137 * tmp138) - (tmp139 * tmp140); |
||
448 | X[3 * iostride] = (tmp139 * tmp138) + (tmp137 * tmp140); |
||
449 | } |
||
450 | { |
||
451 | fftw_real tmp144; |
||
452 | fftw_real tmp148; |
||
453 | fftw_real tmp141; |
||
454 | fftw_real tmp145; |
||
455 | ASSERT_ALIGNED_DOUBLE(); |
||
456 | tmp144 = tmp142 + tmp143; |
||
457 | tmp148 = tmp146 - tmp147; |
||
458 | tmp141 = c_re(W[0]); |
||
459 | tmp145 = c_im(W[0]); |
||
460 | Y[-8 * iostride] = (tmp141 * tmp144) - (tmp145 * tmp148); |
||
461 | X[iostride] = (tmp145 * tmp144) + (tmp141 * tmp148); |
||
462 | } |
||
463 | { |
||
464 | fftw_real tmp150; |
||
465 | fftw_real tmp152; |
||
466 | fftw_real tmp149; |
||
467 | fftw_real tmp151; |
||
468 | ASSERT_ALIGNED_DOUBLE(); |
||
469 | tmp150 = tmp143 - tmp142; |
||
470 | tmp152 = tmp146 + tmp147; |
||
471 | tmp149 = c_re(W[8]); |
||
472 | tmp151 = c_im(W[8]); |
||
473 | Y[0] = (tmp149 * tmp150) - (tmp151 * tmp152); |
||
474 | X[9 * iostride] = (tmp151 * tmp150) + (tmp149 * tmp152); |
||
475 | } |
||
476 | } |
||
477 | } |
||
478 | if (i == m) { |
||
479 | fftw_real tmp1; |
||
480 | fftw_real tmp24; |
||
481 | fftw_real tmp8; |
||
482 | fftw_real tmp10; |
||
483 | fftw_real tmp25; |
||
484 | fftw_real tmp26; |
||
485 | fftw_real tmp14; |
||
486 | fftw_real tmp28; |
||
487 | fftw_real tmp23; |
||
488 | fftw_real tmp17; |
||
489 | ASSERT_ALIGNED_DOUBLE(); |
||
490 | tmp1 = X[2 * iostride]; |
||
491 | tmp24 = Y[-2 * iostride]; |
||
492 | { |
||
493 | fftw_real tmp2; |
||
494 | fftw_real tmp3; |
||
495 | fftw_real tmp4; |
||
496 | fftw_real tmp5; |
||
497 | fftw_real tmp6; |
||
498 | fftw_real tmp7; |
||
499 | ASSERT_ALIGNED_DOUBLE(); |
||
500 | tmp2 = X[4 * iostride]; |
||
501 | tmp3 = X[0]; |
||
502 | tmp4 = tmp2 + tmp3; |
||
503 | tmp5 = X[3 * iostride]; |
||
504 | tmp6 = X[iostride]; |
||
505 | tmp7 = tmp5 + tmp6; |
||
506 | tmp8 = tmp4 + tmp7; |
||
507 | tmp10 = K1_118033988 * (tmp7 - tmp4); |
||
508 | tmp25 = tmp2 - tmp3; |
||
509 | tmp26 = tmp5 - tmp6; |
||
510 | } |
||
511 | { |
||
512 | fftw_real tmp12; |
||
513 | fftw_real tmp13; |
||
514 | fftw_real tmp22; |
||
515 | fftw_real tmp15; |
||
516 | fftw_real tmp16; |
||
517 | fftw_real tmp21; |
||
518 | ASSERT_ALIGNED_DOUBLE(); |
||
519 | tmp12 = Y[-4 * iostride]; |
||
520 | tmp13 = Y[0]; |
||
521 | tmp22 = tmp12 + tmp13; |
||
522 | tmp15 = Y[-iostride]; |
||
523 | tmp16 = Y[-3 * iostride]; |
||
524 | tmp21 = tmp16 + tmp15; |
||
525 | tmp14 = tmp12 - tmp13; |
||
526 | tmp28 = K1_118033988 * (tmp21 + tmp22); |
||
527 | tmp23 = tmp21 - tmp22; |
||
528 | tmp17 = tmp15 - tmp16; |
||
529 | } |
||
530 | X[0] = K2_000000000 * (tmp1 + tmp8); |
||
531 | { |
||
532 | fftw_real tmp18; |
||
533 | fftw_real tmp19; |
||
534 | fftw_real tmp11; |
||
535 | fftw_real tmp20; |
||
536 | fftw_real tmp9; |
||
537 | ASSERT_ALIGNED_DOUBLE(); |
||
538 | tmp18 = (K1_175570504 * tmp14) - (K1_902113032 * tmp17); |
||
539 | tmp19 = (K1_175570504 * tmp17) + (K1_902113032 * tmp14); |
||
540 | tmp9 = (K500000000 * tmp8) - (K2_000000000 * tmp1); |
||
541 | tmp11 = tmp9 - tmp10; |
||
542 | tmp20 = tmp9 + tmp10; |
||
543 | X[2 * iostride] = tmp11 + tmp18; |
||
544 | X[8 * iostride] = tmp18 - tmp11; |
||
545 | X[4 * iostride] = tmp19 - tmp20; |
||
546 | X[6 * iostride] = tmp20 + tmp19; |
||
547 | } |
||
548 | X[5 * iostride] = K2_000000000 * (tmp23 - tmp24); |
||
549 | { |
||
550 | fftw_real tmp27; |
||
551 | fftw_real tmp31; |
||
552 | fftw_real tmp30; |
||
553 | fftw_real tmp32; |
||
554 | fftw_real tmp29; |
||
555 | ASSERT_ALIGNED_DOUBLE(); |
||
556 | tmp27 = (K1_902113032 * tmp25) + (K1_175570504 * tmp26); |
||
557 | tmp31 = (K1_902113032 * tmp26) - (K1_175570504 * tmp25); |
||
558 | tmp29 = (K500000000 * tmp23) + (K2_000000000 * tmp24); |
||
559 | tmp30 = tmp28 + tmp29; |
||
560 | tmp32 = tmp29 - tmp28; |
||
561 | X[iostride] = -(tmp27 + tmp30); |
||
562 | X[9 * iostride] = tmp27 - tmp30; |
||
563 | X[3 * iostride] = tmp31 + tmp32; |
||
564 | X[7 * iostride] = tmp32 - tmp31; |
||
565 | } |
||
566 | } |
||
567 | } |
||
568 | |||
569 | static const int twiddle_order[] = |
||
570 | {1, 2, 3, 4, 5, 6, 7, 8, 9}; |
||
571 | fftw_codelet_desc fftw_hc2hc_backward_10_desc = |
||
572 | { |
||
573 | "fftw_hc2hc_backward_10", |
||
574 | (void (*)()) fftw_hc2hc_backward_10, |
||
575 | 10, |
||
576 | FFTW_BACKWARD, |
||
577 | FFTW_HC2HC, |
||
578 | 234, |
||
579 | 9, |
||
580 | twiddle_order, |
||
581 | }; |