changed reading hint
[gromacs/adressmacs.git] / src / fftw / fn_7.c
blob9863b211a66431babe29a872600fb106fccae4a7
1 /*
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 */
23 #include <fftw-int.h>
24 #include <fftw.h>
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);
41 * Generator Id's :
42 * $Id$
43 * $Id$
44 * $Id$
47 void fftw_no_twiddle_7(const fftw_complex *input, fftw_complex *output, int istride, int ostride)
49 fftw_real tmp1;
50 fftw_real tmp30;
51 fftw_real tmp4;
52 fftw_real tmp26;
53 fftw_real tmp14;
54 fftw_real tmp33;
55 fftw_real tmp7;
56 fftw_real tmp28;
57 fftw_real tmp20;
58 fftw_real tmp31;
59 fftw_real tmp10;
60 fftw_real tmp27;
61 fftw_real tmp17;
62 fftw_real tmp32;
63 ASSERT_ALIGNED_DOUBLE();
64 tmp1 = c_re(input[0]);
65 tmp30 = c_im(input[0]);
67 fftw_real tmp2;
68 fftw_real tmp3;
69 fftw_real tmp12;
70 fftw_real tmp13;
71 ASSERT_ALIGNED_DOUBLE();
72 tmp2 = c_re(input[istride]);
73 tmp3 = c_re(input[6 * istride]);
74 tmp4 = tmp2 + tmp3;
75 tmp26 = tmp3 - tmp2;
76 tmp12 = c_im(input[istride]);
77 tmp13 = c_im(input[6 * istride]);
78 tmp14 = tmp12 - tmp13;
79 tmp33 = tmp12 + tmp13;
82 fftw_real tmp5;
83 fftw_real tmp6;
84 fftw_real tmp18;
85 fftw_real tmp19;
86 ASSERT_ALIGNED_DOUBLE();
87 tmp5 = c_re(input[2 * istride]);
88 tmp6 = c_re(input[5 * istride]);
89 tmp7 = tmp5 + tmp6;
90 tmp28 = tmp6 - tmp5;
91 tmp18 = c_im(input[2 * istride]);
92 tmp19 = c_im(input[5 * istride]);
93 tmp20 = tmp18 - tmp19;
94 tmp31 = tmp18 + tmp19;
97 fftw_real tmp8;
98 fftw_real tmp9;
99 fftw_real tmp15;
100 fftw_real tmp16;
101 ASSERT_ALIGNED_DOUBLE();
102 tmp8 = c_re(input[3 * istride]);
103 tmp9 = c_re(input[4 * istride]);
104 tmp10 = tmp8 + tmp9;
105 tmp27 = tmp9 - tmp8;
106 tmp15 = c_im(input[3 * istride]);
107 tmp16 = c_im(input[4 * istride]);
108 tmp17 = tmp15 - tmp16;
109 tmp32 = tmp15 + tmp16;
112 fftw_real tmp23;
113 fftw_real tmp22;
114 fftw_real tmp35;
115 fftw_real tmp36;
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;
123 fftw_real tmp25;
124 fftw_real tmp24;
125 fftw_real tmp21;
126 fftw_real tmp11;
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;
143 fftw_real tmp29;
144 fftw_real tmp34;
145 fftw_real tmp37;
146 fftw_real tmp38;
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 =
162 "fftw_no_twiddle_7",
163 (void (*)()) fftw_no_twiddle_7,
165 FFTW_FORWARD,
166 FFTW_NOTW,
167 155,
169 (const int *) 0,