changed reading hint
[gromacs/adressmacs.git] / src / fftw / fcr_11.c
blob51667a879306c8722248508d671a783d3c5ed5cd
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:55:07 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 -hc2real 11 */
29 * This function contains 60 FP additions, 51 FP multiplications,
30 * (or, 59 additions, 50 multiplications, 1 fused multiply/add),
31 * 21 stack variables, and 22 memory accesses
33 static const fftw_real K2_000000000 = FFTW_KONST(+2.000000000000000000000000000000000000000000000);
34 static const fftw_real K1_918985947 = FFTW_KONST(+1.918985947228994779780736114132655398124909697);
35 static const fftw_real K1_309721467 = FFTW_KONST(+1.309721467890570128113850144932587106367582399);
36 static const fftw_real K284629676 = FFTW_KONST(+0.284629676546570280887585337232739337582102722);
37 static const fftw_real K830830026 = FFTW_KONST(+0.830830026003772851058548298459246407048009821);
38 static const fftw_real K1_682507065 = FFTW_KONST(+1.682507065662362337723623297838735435026584997);
39 static const fftw_real K563465113 = FFTW_KONST(+0.563465113682859395422835830693233798071555798);
40 static const fftw_real K1_511499148 = FFTW_KONST(+1.511499148708516567548071687944688840359434890);
41 static const fftw_real K1_979642883 = FFTW_KONST(+1.979642883761865464752184075553437574753038744);
42 static const fftw_real K1_819263990 = FFTW_KONST(+1.819263990709036742823430766158056920120482102);
43 static const fftw_real K1_081281634 = FFTW_KONST(+1.081281634911195164215271908637383390863541216);
46 * Generator Id's :
47 * $Id$
48 * $Id$
49 * $Id$
52 void fftw_hc2real_11(const fftw_real *real_input, const fftw_real *imag_input, fftw_real *output, int real_istride, int imag_istride, int ostride)
54 fftw_real tmp13;
55 fftw_real tmp21;
56 fftw_real tmp15;
57 fftw_real tmp17;
58 fftw_real tmp19;
59 fftw_real tmp1;
60 fftw_real tmp2;
61 fftw_real tmp6;
62 fftw_real tmp5;
63 fftw_real tmp4;
64 fftw_real tmp3;
65 fftw_real tmp7;
66 fftw_real tmp20;
67 fftw_real tmp14;
68 fftw_real tmp16;
69 fftw_real tmp18;
70 ASSERT_ALIGNED_DOUBLE();
72 fftw_real tmp8;
73 fftw_real tmp12;
74 fftw_real tmp9;
75 fftw_real tmp10;
76 fftw_real tmp11;
77 ASSERT_ALIGNED_DOUBLE();
78 tmp8 = imag_input[2 * imag_istride];
79 tmp12 = imag_input[imag_istride];
80 tmp9 = imag_input[4 * imag_istride];
81 tmp10 = imag_input[5 * imag_istride];
82 tmp11 = imag_input[3 * imag_istride];
83 tmp13 = (K1_081281634 * tmp8) + (K1_819263990 * tmp9) - (K1_979642883 * tmp10) - (K1_511499148 * tmp11) - (K563465113 * tmp12);
84 tmp21 = (K1_979642883 * tmp8) + (K1_819263990 * tmp10) - (K563465113 * tmp9) - (K1_081281634 * tmp11) - (K1_511499148 * tmp12);
85 tmp15 = (K563465113 * tmp8) + (K1_819263990 * tmp11) - (K1_511499148 * tmp10) - (K1_081281634 * tmp9) - (K1_979642883 * tmp12);
86 tmp17 = (K1_081281634 * tmp12) + (K1_819263990 * tmp8) + (K1_979642883 * tmp11) + (K1_511499148 * tmp9) + (K563465113 * tmp10);
87 tmp19 = (K563465113 * tmp11) + (K1_979642883 * tmp9) + (K1_081281634 * tmp10) - (K1_511499148 * tmp8) - (K1_819263990 * tmp12);
89 tmp1 = real_input[0];
90 tmp2 = real_input[real_istride];
91 tmp6 = real_input[5 * real_istride];
92 tmp5 = real_input[4 * real_istride];
93 tmp4 = real_input[3 * real_istride];
94 tmp3 = real_input[2 * real_istride];
95 tmp7 = tmp1 + (K1_682507065 * tmp3) + (K830830026 * tmp5) - (K284629676 * tmp6) - (K1_309721467 * tmp4) - (K1_918985947 * tmp2);
96 tmp20 = tmp1 + (K1_682507065 * tmp4) + (K830830026 * tmp6) - (K1_918985947 * tmp5) - (K284629676 * tmp3) - (K1_309721467 * tmp2);
97 tmp14 = tmp1 + (K830830026 * tmp4) + (K1_682507065 * tmp5) - (K1_309721467 * tmp6) - (K1_918985947 * tmp3) - (K284629676 * tmp2);
98 tmp16 = tmp1 + (K1_682507065 * tmp2) + (K830830026 * tmp3) - (K1_918985947 * tmp6) - (K1_309721467 * tmp5) - (K284629676 * tmp4);
99 tmp18 = tmp1 + (K830830026 * tmp2) + (K1_682507065 * tmp6) - (K284629676 * tmp5) - (K1_918985947 * tmp4) - (K1_309721467 * tmp3);
100 output[6 * ostride] = tmp7 - tmp13;
101 output[5 * ostride] = tmp7 + tmp13;
102 output[7 * ostride] = tmp20 - tmp21;
103 output[4 * ostride] = tmp20 + tmp21;
104 output[0] = tmp1 + (K2_000000000 * (tmp2 + tmp3 + tmp4 + tmp5 + tmp6));
105 output[2 * ostride] = tmp18 + tmp19;
106 output[9 * ostride] = tmp18 - tmp19;
107 output[10 * ostride] = tmp16 + tmp17;
108 output[ostride] = tmp16 - tmp17;
109 output[8 * ostride] = tmp14 - tmp15;
110 output[3 * ostride] = tmp14 + tmp15;
113 fftw_codelet_desc fftw_hc2real_11_desc =
115 "fftw_hc2real_11",
116 (void (*)()) fftw_hc2real_11,
118 FFTW_BACKWARD,
119 FFTW_HC2REAL,
120 257,
122 (const int *) 0,