2 * Copyright (c) 1997-1999 Massachusetts Institute of Technology
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.
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.
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
20 /* This file was automatically generated --- DO NOT EDIT */
21 /* Generated on Tue May 18 13:54:27 EDT 1999 */
26 /* Generated by: ./genfft -magic-alignment-check -magic-twiddle-load-all -magic-variables 4 -magic-loopi -notwiddle 7 */
29 * This function contains 60 FP additions, 36 FP multiplications,
30 * (or, 60 additions, 36 multiplications, 0 fused multiply/add),
31 * 22 stack variables, and 28 memory accesses
33 static const fftw_real K222520933
= FFTW_KONST(+0.222520933956314404288902564496794759466355569);
34 static const fftw_real K900968867
= FFTW_KONST(+0.900968867902419126236102319507445051165919162);
35 static const fftw_real K623489801
= FFTW_KONST(+0.623489801858733530525004884004239810632274731);
36 static const fftw_real K433883739
= FFTW_KONST(+0.433883739117558120475768332848358754609990728);
37 static const fftw_real K974927912
= FFTW_KONST(+0.974927912181823607018131682993931217232785801);
38 static const fftw_real K781831482
= FFTW_KONST(+0.781831482468029808708444526674057750232334519);
47 void fftw_no_twiddle_7(const fftw_complex
*input
, fftw_complex
*output
, int istride
, int ostride
)
63 ASSERT_ALIGNED_DOUBLE();
64 tmp1
= c_re(input
[0]);
65 tmp30
= c_im(input
[0]);
71 ASSERT_ALIGNED_DOUBLE();
72 tmp2
= c_re(input
[istride
]);
73 tmp3
= c_re(input
[6 * istride
]);
76 tmp12
= c_im(input
[istride
]);
77 tmp13
= c_im(input
[6 * istride
]);
78 tmp14
= tmp12
- tmp13
;
79 tmp33
= tmp12
+ tmp13
;
86 ASSERT_ALIGNED_DOUBLE();
87 tmp5
= c_re(input
[2 * istride
]);
88 tmp6
= c_re(input
[5 * istride
]);
91 tmp18
= c_im(input
[2 * istride
]);
92 tmp19
= c_im(input
[5 * istride
]);
93 tmp20
= tmp18
- tmp19
;
94 tmp31
= tmp18
+ tmp19
;
101 ASSERT_ALIGNED_DOUBLE();
102 tmp8
= c_re(input
[3 * istride
]);
103 tmp9
= c_re(input
[4 * istride
]);
106 tmp15
= c_im(input
[3 * istride
]);
107 tmp16
= c_im(input
[4 * istride
]);
108 tmp17
= tmp15
- tmp16
;
109 tmp32
= tmp15
+ tmp16
;
116 ASSERT_ALIGNED_DOUBLE();
117 c_re(output
[0]) = tmp1
+ tmp4
+ tmp7
+ tmp10
;
118 tmp23
= (K781831482
* tmp14
) + (K974927912
* tmp20
) + (K433883739
* tmp17
);
119 tmp22
= tmp1
+ (K623489801
* tmp4
) - (K900968867
* tmp10
) - (K222520933
* tmp7
);
120 c_re(output
[6 * ostride
]) = tmp22
- tmp23
;
121 c_re(output
[ostride
]) = tmp22
+ tmp23
;
127 ASSERT_ALIGNED_DOUBLE();
128 tmp25
= (K433883739
* tmp14
) + (K974927912
* tmp17
) - (K781831482
* tmp20
);
129 tmp24
= tmp1
+ (K623489801
* tmp7
) - (K222520933
* tmp10
) - (K900968867
* tmp4
);
130 c_re(output
[4 * ostride
]) = tmp24
- tmp25
;
131 c_re(output
[3 * ostride
]) = tmp24
+ tmp25
;
132 tmp21
= (K974927912
* tmp14
) - (K781831482
* tmp17
) - (K433883739
* tmp20
);
133 tmp11
= tmp1
+ (K623489801
* tmp10
) - (K900968867
* tmp7
) - (K222520933
* tmp4
);
134 c_re(output
[5 * ostride
]) = tmp11
- tmp21
;
135 c_re(output
[2 * ostride
]) = tmp11
+ tmp21
;
137 c_im(output
[0]) = tmp30
+ tmp33
+ tmp31
+ tmp32
;
138 tmp35
= (K781831482
* tmp26
) + (K974927912
* tmp28
) + (K433883739
* tmp27
);
139 tmp36
= tmp30
+ (K623489801
* tmp33
) - (K900968867
* tmp32
) - (K222520933
* tmp31
);
140 c_im(output
[ostride
]) = tmp35
+ tmp36
;
141 c_im(output
[6 * ostride
]) = tmp36
- tmp35
;
147 ASSERT_ALIGNED_DOUBLE();
148 tmp29
= (K433883739
* tmp26
) + (K974927912
* tmp27
) - (K781831482
* tmp28
);
149 tmp34
= tmp30
+ (K623489801
* tmp31
) - (K222520933
* tmp32
) - (K900968867
* tmp33
);
150 c_im(output
[3 * ostride
]) = tmp29
+ tmp34
;
151 c_im(output
[4 * ostride
]) = tmp34
- tmp29
;
152 tmp37
= (K974927912
* tmp26
) - (K781831482
* tmp27
) - (K433883739
* tmp28
);
153 tmp38
= tmp30
+ (K623489801
* tmp32
) - (K900968867
* tmp31
) - (K222520933
* tmp33
);
154 c_im(output
[2 * ostride
]) = tmp37
+ tmp38
;
155 c_im(output
[5 * ostride
]) = tmp38
- tmp37
;
160 fftw_codelet_desc fftw_no_twiddle_7_desc
=
163 (void (*)()) fftw_no_twiddle_7
,