changed reading hint
[gromacs/adressmacs.git] / src / fftw / fn_6.c
blob928b5f9e204e91051bddfad1fbe491c75f89092c
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 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);
37 * Generator Id's :
38 * $Id$
39 * $Id$
40 * $Id$
43 void fftw_no_twiddle_6(const fftw_complex *input, fftw_complex *output, int istride, int ostride)
45 fftw_real tmp3;
46 fftw_real tmp11;
47 fftw_real tmp26;
48 fftw_real tmp33;
49 fftw_real tmp6;
50 fftw_real tmp12;
51 fftw_real tmp9;
52 fftw_real tmp13;
53 fftw_real tmp10;
54 fftw_real tmp14;
55 fftw_real tmp18;
56 fftw_real tmp30;
57 fftw_real tmp21;
58 fftw_real tmp31;
59 fftw_real tmp27;
60 fftw_real tmp34;
61 ASSERT_ALIGNED_DOUBLE();
63 fftw_real tmp1;
64 fftw_real tmp2;
65 fftw_real tmp24;
66 fftw_real tmp25;
67 ASSERT_ALIGNED_DOUBLE();
68 tmp1 = c_re(input[0]);
69 tmp2 = c_re(input[3 * istride]);
70 tmp3 = tmp1 - tmp2;
71 tmp11 = tmp1 + tmp2;
72 tmp24 = c_im(input[0]);
73 tmp25 = c_im(input[3 * istride]);
74 tmp26 = tmp24 - tmp25;
75 tmp33 = tmp24 + tmp25;
78 fftw_real tmp4;
79 fftw_real tmp5;
80 fftw_real tmp7;
81 fftw_real tmp8;
82 ASSERT_ALIGNED_DOUBLE();
83 tmp4 = c_re(input[2 * istride]);
84 tmp5 = c_re(input[5 * istride]);
85 tmp6 = tmp4 - tmp5;
86 tmp12 = tmp4 + tmp5;
87 tmp7 = c_re(input[4 * istride]);
88 tmp8 = c_re(input[istride]);
89 tmp9 = tmp7 - tmp8;
90 tmp13 = tmp7 + tmp8;
92 tmp10 = tmp6 + tmp9;
93 tmp14 = tmp12 + tmp13;
95 fftw_real tmp16;
96 fftw_real tmp17;
97 fftw_real tmp19;
98 fftw_real tmp20;
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;
112 fftw_real tmp15;
113 fftw_real tmp22;
114 fftw_real tmp29;
115 fftw_real tmp32;
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;
129 fftw_real tmp23;
130 fftw_real tmp28;
131 fftw_real tmp35;
132 fftw_real tmp36;
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 =
149 "fftw_no_twiddle_6",
150 (void (*)()) fftw_no_twiddle_6,
152 FFTW_FORWARD,
153 FFTW_NOTW,
154 133,
156 (const int *) 0,