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 6 */
29 * This function contains 36 FP additions, 8 FP multiplications,
30 * (or, 32 additions, 4 multiplications, 4 fused multiply/add),
31 * 20 stack variables, and 24 memory accesses
33 static const fftw_real K866025403
= FFTW_KONST(+0.866025403784438646763723170752936183471402627);
34 static const fftw_real K500000000
= FFTW_KONST(+0.500000000000000000000000000000000000000000000);
43 void fftw_no_twiddle_6(const fftw_complex
*input
, fftw_complex
*output
, int istride
, int ostride
)
61 ASSERT_ALIGNED_DOUBLE();
67 ASSERT_ALIGNED_DOUBLE();
68 tmp1
= c_re(input
[0]);
69 tmp2
= c_re(input
[3 * istride
]);
72 tmp24
= c_im(input
[0]);
73 tmp25
= c_im(input
[3 * istride
]);
74 tmp26
= tmp24
- tmp25
;
75 tmp33
= tmp24
+ tmp25
;
82 ASSERT_ALIGNED_DOUBLE();
83 tmp4
= c_re(input
[2 * istride
]);
84 tmp5
= c_re(input
[5 * istride
]);
87 tmp7
= c_re(input
[4 * istride
]);
88 tmp8
= c_re(input
[istride
]);
93 tmp14
= tmp12
+ tmp13
;
99 ASSERT_ALIGNED_DOUBLE();
100 tmp16
= c_im(input
[2 * istride
]);
101 tmp17
= c_im(input
[5 * istride
]);
102 tmp18
= tmp16
- tmp17
;
103 tmp30
= tmp16
+ tmp17
;
104 tmp19
= c_im(input
[4 * istride
]);
105 tmp20
= c_im(input
[istride
]);
106 tmp21
= tmp19
- tmp20
;
107 tmp31
= tmp19
+ tmp20
;
109 tmp27
= tmp18
+ tmp21
;
110 tmp34
= tmp30
+ tmp31
;
116 ASSERT_ALIGNED_DOUBLE();
117 c_re(output
[3 * ostride
]) = tmp3
+ tmp10
;
118 tmp15
= tmp3
- (K500000000
* tmp10
);
119 tmp22
= K866025403
* (tmp18
- tmp21
);
120 c_re(output
[5 * ostride
]) = tmp15
- tmp22
;
121 c_re(output
[ostride
]) = tmp15
+ tmp22
;
122 c_re(output
[0]) = tmp11
+ tmp14
;
123 tmp29
= tmp11
- (K500000000
* tmp14
);
124 tmp32
= K866025403
* (tmp30
- tmp31
);
125 c_re(output
[2 * ostride
]) = tmp29
- tmp32
;
126 c_re(output
[4 * ostride
]) = tmp29
+ tmp32
;
133 ASSERT_ALIGNED_DOUBLE();
134 c_im(output
[3 * ostride
]) = tmp26
+ tmp27
;
135 tmp23
= K866025403
* (tmp9
- tmp6
);
136 tmp28
= tmp26
- (K500000000
* tmp27
);
137 c_im(output
[ostride
]) = tmp23
+ tmp28
;
138 c_im(output
[5 * ostride
]) = tmp28
- tmp23
;
139 c_im(output
[0]) = tmp33
+ tmp34
;
140 tmp35
= tmp33
- (K500000000
* tmp34
);
141 tmp36
= K866025403
* (tmp13
- tmp12
);
142 c_im(output
[2 * ostride
]) = tmp35
- tmp36
;
143 c_im(output
[4 * ostride
]) = tmp36
+ tmp35
;
147 fftw_codelet_desc fftw_no_twiddle_6_desc
=
150 (void (*)()) fftw_no_twiddle_6
,