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 */
26 /* Generated by: ./genfft -magic-alignment-check -magic-twiddle-load-all -magic-variables 4 -magic-loopi -hc2real 12 */
29 * This function contains 38 FP additions, 10 FP multiplications,
30 * (or, 34 additions, 6 multiplications, 4 fused multiply/add),
31 * 22 stack variables, and 24 memory accesses
33 static const fftw_real K1_732050807
= FFTW_KONST(+1.732050807568877293527446341505872366942805254);
34 static const fftw_real K2_000000000
= FFTW_KONST(+2.000000000000000000000000000000000000000000000);
43 void fftw_hc2real_12(const fftw_real
*real_input
, const fftw_real
*imag_input
, fftw_real
*output
, int real_istride
, int imag_istride
, int ostride
)
59 ASSERT_ALIGNED_DOUBLE();
65 ASSERT_ALIGNED_DOUBLE();
66 tmp8
= real_input
[3 * real_istride
];
67 tmp9
= real_input
[5 * real_istride
];
68 tmp10
= real_input
[real_istride
];
70 tmp22
= (K2_000000000
* tmp8
) - tmp11
;
71 tmp36
= K1_732050807
* (tmp9
- tmp10
);
72 tmp32
= imag_input
[3 * imag_istride
];
73 tmp23
= imag_input
[5 * imag_istride
];
74 tmp24
= imag_input
[imag_istride
];
75 tmp33
= tmp23
+ tmp24
;
76 tmp25
= K1_732050807
* (tmp23
- tmp24
);
77 tmp37
= (K2_000000000
* tmp32
) + tmp33
;
85 ASSERT_ALIGNED_DOUBLE();
86 tmp14
= imag_input
[4 * imag_istride
];
87 tmp15
= K1_732050807
* tmp14
;
89 tmp2
= real_input
[4 * real_istride
];
91 tmp3
= tmp1
+ (K2_000000000
* tmp2
);
92 tmp27
= tmp13
- tmp15
;
93 tmp16
= tmp13
+ tmp15
;
101 ASSERT_ALIGNED_DOUBLE();
102 tmp18
= imag_input
[2 * imag_istride
];
103 tmp19
= K1_732050807
* tmp18
;
104 tmp4
= real_input
[6 * real_istride
];
105 tmp5
= real_input
[2 * real_istride
];
107 tmp6
= tmp4
+ (K2_000000000
* tmp5
);
108 tmp28
= tmp17
+ tmp19
;
109 tmp20
= tmp17
- tmp19
;
116 ASSERT_ALIGNED_DOUBLE();
118 tmp12
= K2_000000000
* (tmp8
+ tmp11
);
119 output
[6 * ostride
] = tmp7
- tmp12
;
120 output
[0] = tmp7
+ tmp12
;
126 ASSERT_ALIGNED_DOUBLE();
128 tmp34
= K2_000000000
* (tmp32
- tmp33
);
129 output
[9 * ostride
] = tmp31
- tmp34
;
130 output
[3 * ostride
] = tmp31
+ tmp34
;
131 tmp21
= tmp16
+ tmp20
;
132 tmp26
= tmp22
- tmp25
;
133 output
[2 * ostride
] = tmp21
- tmp26
;
134 output
[8 * ostride
] = tmp21
+ tmp26
;
136 tmp39
= tmp16
- tmp20
;
137 tmp40
= tmp37
- tmp36
;
138 output
[5 * ostride
] = tmp39
- tmp40
;
139 output
[11 * ostride
] = tmp39
+ tmp40
;
145 ASSERT_ALIGNED_DOUBLE();
146 tmp35
= tmp27
- tmp28
;
147 tmp38
= tmp36
+ tmp37
;
148 output
[ostride
] = tmp35
- tmp38
;
149 output
[7 * ostride
] = tmp35
+ tmp38
;
150 tmp29
= tmp27
+ tmp28
;
151 tmp30
= tmp22
+ tmp25
;
152 output
[10 * ostride
] = tmp29
- tmp30
;
153 output
[4 * ostride
] = tmp29
+ tmp30
;
158 fftw_codelet_desc fftw_hc2real_12_desc
=
161 (void (*)()) fftw_hc2real_12
,