1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
|
/*
* Copyright (c) 1997-1999, 2003 Massachusetts Institute of Technology
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
/* This file was automatically generated --- DO NOT EDIT */
/* Generated on Mon Mar 24 02:05:38 EST 2003 */
#include "fftw-int.h"
#include "fftw.h"
/* Generated by: /homee/stevenj/cvs/fftw/gensrc/genfft -magic-alignment-check -magic-twiddle-load-all -magic-variables 4 -magic-loopi -notwiddle 10 */
/*
* This function contains 84 FP additions, 24 FP multiplications,
* (or, 72 additions, 12 multiplications, 12 fused multiply/add),
* 36 stack variables, and 40 memory accesses
*/
static const fftw_real K250000000 =
FFTW_KONST(+0.250000000000000000000000000000000000000000000);
static const fftw_real K559016994 =
FFTW_KONST(+0.559016994374947424102293417182819058860154590);
static const fftw_real K587785252 =
FFTW_KONST(+0.587785252292473129168705954639072768597652438);
static const fftw_real K951056516 =
FFTW_KONST(+0.951056516295153572116439333379382143405698634);
/*
* Generator Id's :
* $Id: fn_10.c,v 1.1 2008/10/17 06:13:18 scuri Exp $
* $Id: fn_10.c,v 1.1 2008/10/17 06:13:18 scuri Exp $
* $Id: fn_10.c,v 1.1 2008/10/17 06:13:18 scuri Exp $
*/
void fftw_no_twiddle_10(const fftw_complex *input, fftw_complex *output,
int istride, int ostride)
{
fftw_real tmp3;
fftw_real tmp19;
fftw_real tmp64;
fftw_real tmp76;
fftw_real tmp68;
fftw_real tmp69;
fftw_real tmp10;
fftw_real tmp17;
fftw_real tmp18;
fftw_real tmp74;
fftw_real tmp73;
fftw_real tmp22;
fftw_real tmp25;
fftw_real tmp26;
fftw_real tmp36;
fftw_real tmp43;
fftw_real tmp59;
fftw_real tmp60;
fftw_real tmp65;
fftw_real tmp52;
fftw_real tmp55;
fftw_real tmp77;
fftw_real tmp78;
fftw_real tmp79;
ASSERT_ALIGNED_DOUBLE;
{
fftw_real tmp1;
fftw_real tmp2;
fftw_real tmp62;
fftw_real tmp63;
ASSERT_ALIGNED_DOUBLE;
tmp1 = c_re(input[0]);
tmp2 = c_re(input[5 * istride]);
tmp3 = tmp1 - tmp2;
tmp19 = tmp1 + tmp2;
tmp62 = c_im(input[0]);
tmp63 = c_im(input[5 * istride]);
tmp64 = tmp62 - tmp63;
tmp76 = tmp62 + tmp63;
}
{
fftw_real tmp6;
fftw_real tmp20;
fftw_real tmp16;
fftw_real tmp24;
fftw_real tmp9;
fftw_real tmp21;
fftw_real tmp13;
fftw_real tmp23;
ASSERT_ALIGNED_DOUBLE;
{
fftw_real tmp4;
fftw_real tmp5;
fftw_real tmp14;
fftw_real tmp15;
ASSERT_ALIGNED_DOUBLE;
tmp4 = c_re(input[2 * istride]);
tmp5 = c_re(input[7 * istride]);
tmp6 = tmp4 - tmp5;
tmp20 = tmp4 + tmp5;
tmp14 = c_re(input[6 * istride]);
tmp15 = c_re(input[istride]);
tmp16 = tmp14 - tmp15;
tmp24 = tmp14 + tmp15;
}
{
fftw_real tmp7;
fftw_real tmp8;
fftw_real tmp11;
fftw_real tmp12;
ASSERT_ALIGNED_DOUBLE;
tmp7 = c_re(input[8 * istride]);
tmp8 = c_re(input[3 * istride]);
tmp9 = tmp7 - tmp8;
tmp21 = tmp7 + tmp8;
tmp11 = c_re(input[4 * istride]);
tmp12 = c_re(input[9 * istride]);
tmp13 = tmp11 - tmp12;
tmp23 = tmp11 + tmp12;
}
tmp68 = tmp6 - tmp9;
tmp69 = tmp13 - tmp16;
tmp10 = tmp6 + tmp9;
tmp17 = tmp13 + tmp16;
tmp18 = tmp10 + tmp17;
tmp74 = tmp20 - tmp21;
tmp73 = tmp23 - tmp24;
tmp22 = tmp20 + tmp21;
tmp25 = tmp23 + tmp24;
tmp26 = tmp22 + tmp25;
}
{
fftw_real tmp32;
fftw_real tmp53;
fftw_real tmp42;
fftw_real tmp51;
fftw_real tmp35;
fftw_real tmp54;
fftw_real tmp39;
fftw_real tmp50;
ASSERT_ALIGNED_DOUBLE;
{
fftw_real tmp30;
fftw_real tmp31;
fftw_real tmp40;
fftw_real tmp41;
ASSERT_ALIGNED_DOUBLE;
tmp30 = c_im(input[2 * istride]);
tmp31 = c_im(input[7 * istride]);
tmp32 = tmp30 - tmp31;
tmp53 = tmp30 + tmp31;
tmp40 = c_im(input[6 * istride]);
tmp41 = c_im(input[istride]);
tmp42 = tmp40 - tmp41;
tmp51 = tmp40 + tmp41;
}
{
fftw_real tmp33;
fftw_real tmp34;
fftw_real tmp37;
fftw_real tmp38;
ASSERT_ALIGNED_DOUBLE;
tmp33 = c_im(input[8 * istride]);
tmp34 = c_im(input[3 * istride]);
tmp35 = tmp33 - tmp34;
tmp54 = tmp33 + tmp34;
tmp37 = c_im(input[4 * istride]);
tmp38 = c_im(input[9 * istride]);
tmp39 = tmp37 - tmp38;
tmp50 = tmp37 + tmp38;
}
tmp36 = tmp32 - tmp35;
tmp43 = tmp39 - tmp42;
tmp59 = tmp32 + tmp35;
tmp60 = tmp39 + tmp42;
tmp65 = tmp59 + tmp60;
tmp52 = tmp50 - tmp51;
tmp55 = tmp53 - tmp54;
tmp77 = tmp53 + tmp54;
tmp78 = tmp50 + tmp51;
tmp79 = tmp77 + tmp78;
}
c_re(output[5 * ostride]) = tmp3 + tmp18;
{
fftw_real tmp44;
fftw_real tmp46;
fftw_real tmp29;
fftw_real tmp45;
fftw_real tmp27;
fftw_real tmp28;
ASSERT_ALIGNED_DOUBLE;
tmp44 = (K951056516 * tmp36) + (K587785252 * tmp43);
tmp46 = (K951056516 * tmp43) - (K587785252 * tmp36);
tmp27 = K559016994 * (tmp10 - tmp17);
tmp28 = tmp3 - (K250000000 * tmp18);
tmp29 = tmp27 + tmp28;
tmp45 = tmp28 - tmp27;
c_re(output[9 * ostride]) = tmp29 - tmp44;
c_re(output[ostride]) = tmp29 + tmp44;
c_re(output[7 * ostride]) = tmp45 - tmp46;
c_re(output[3 * ostride]) = tmp45 + tmp46;
}
c_re(output[0]) = tmp19 + tmp26;
{
fftw_real tmp56;
fftw_real tmp58;
fftw_real tmp49;
fftw_real tmp57;
fftw_real tmp47;
fftw_real tmp48;
ASSERT_ALIGNED_DOUBLE;
tmp56 = (K951056516 * tmp52) - (K587785252 * tmp55);
tmp58 = (K951056516 * tmp55) + (K587785252 * tmp52);
tmp47 = tmp19 - (K250000000 * tmp26);
tmp48 = K559016994 * (tmp22 - tmp25);
tmp49 = tmp47 - tmp48;
tmp57 = tmp48 + tmp47;
c_re(output[2 * ostride]) = tmp49 - tmp56;
c_re(output[8 * ostride]) = tmp49 + tmp56;
c_re(output[4 * ostride]) = tmp57 - tmp58;
c_re(output[6 * ostride]) = tmp57 + tmp58;
}
c_im(output[5 * ostride]) = tmp65 + tmp64;
{
fftw_real tmp70;
fftw_real tmp72;
fftw_real tmp67;
fftw_real tmp71;
fftw_real tmp61;
fftw_real tmp66;
ASSERT_ALIGNED_DOUBLE;
tmp70 = (K951056516 * tmp68) + (K587785252 * tmp69);
tmp72 = (K951056516 * tmp69) - (K587785252 * tmp68);
tmp61 = K559016994 * (tmp59 - tmp60);
tmp66 = tmp64 - (K250000000 * tmp65);
tmp67 = tmp61 + tmp66;
tmp71 = tmp66 - tmp61;
c_im(output[ostride]) = tmp67 - tmp70;
c_im(output[9 * ostride]) = tmp70 + tmp67;
c_im(output[3 * ostride]) = tmp71 - tmp72;
c_im(output[7 * ostride]) = tmp72 + tmp71;
}
c_im(output[0]) = tmp79 + tmp76;
{
fftw_real tmp75;
fftw_real tmp83;
fftw_real tmp82;
fftw_real tmp84;
fftw_real tmp80;
fftw_real tmp81;
ASSERT_ALIGNED_DOUBLE;
tmp75 = (K951056516 * tmp73) - (K587785252 * tmp74);
tmp83 = (K951056516 * tmp74) + (K587785252 * tmp73);
tmp80 = tmp76 - (K250000000 * tmp79);
tmp81 = K559016994 * (tmp77 - tmp78);
tmp82 = tmp80 - tmp81;
tmp84 = tmp81 + tmp80;
c_im(output[2 * ostride]) = tmp75 + tmp82;
c_im(output[8 * ostride]) = tmp82 - tmp75;
c_im(output[4 * ostride]) = tmp83 + tmp84;
c_im(output[6 * ostride]) = tmp84 - tmp83;
}
}
fftw_codelet_desc fftw_no_twiddle_10_desc = {
"fftw_no_twiddle_10",
(void (*)()) fftw_no_twiddle_10,
10,
FFTW_FORWARD,
FFTW_NOTW,
221,
0,
(const int *) 0,
};
|