20
20
/* This file was automatically generated --- DO NOT EDIT */
21
/* Generated on Sun Nov 7 20:43:54 EST 1999 */
26
/* Generated by: ./genfft -magic-alignment-check -magic-twiddle-load-all -magic-variables 4 -magic-loopi -real2hc 7 */
21
/* Generated on Mon Mar 24 02:05:53 EST 2003 */
26
/* Generated by: /homee/stevenj/cvs/fftw/gensrc/genfft -magic-alignment-check -magic-twiddle-load-all -magic-variables 4 -magic-loopi -real2hc 7 */
29
29
* This function contains 24 FP additions, 18 FP multiplications,
30
30
* (or, 24 additions, 18 multiplications, 0 fused multiply/add),
31
31
* 13 stack variables, and 14 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 K781831482 = FFTW_KONST(+0.781831482468029808708444526674057750232334519);
38
static const fftw_real K974927912 = FFTW_KONST(+0.974927912181823607018131682993931217232785801);
33
static const fftw_real K222520933 =
34
FFTW_KONST(+0.222520933956314404288902564496794759466355569);
35
static const fftw_real K900968867 =
36
FFTW_KONST(+0.900968867902419126236102319507445051165919162);
37
static const fftw_real K623489801 =
38
FFTW_KONST(+0.623489801858733530525004884004239810632274731);
39
static const fftw_real K433883739 =
40
FFTW_KONST(+0.433883739117558120475768332848358754609990728);
41
static const fftw_real K781831482 =
42
FFTW_KONST(+0.781831482468029808708444526674057750232334519);
43
static const fftw_real K974927912 =
44
FFTW_KONST(+0.974927912181823607018131682993931217232785801);
42
* $Id: exprdag.ml,v 1.41 1999/05/26 15:44:14 fftw Exp $
43
* $Id: fft.ml,v 1.43 1999/05/17 19:44:18 fftw Exp $
44
* $Id: to_c.ml,v 1.25 1999/10/26 21:41:32 stevenj Exp $
48
* $Id: exprdag.ml,v 1.43 2003/03/16 23:43:46 stevenj Exp $
49
* $Id: fft.ml,v 1.44 2003/03/16 23:43:46 stevenj Exp $
50
* $Id: to_c.ml,v 1.26 2003/03/16 23:43:46 stevenj Exp $
47
void fftw_real2hc_7(const fftw_real *input, fftw_real *real_output, fftw_real *imag_output, int istride, int real_ostride, int imag_ostride)
53
void fftw_real2hc_7(const fftw_real *input, fftw_real *real_output,
54
fftw_real *imag_output, int istride, int real_ostride,
58
66
ASSERT_ALIGNED_DOUBLE;
60
tmp8 = input[istride];
61
tmp9 = input[6 * istride];
68
tmp8 = input[2 * istride];
69
tmp9 = input[5 * istride];
62
70
tmp10 = tmp8 + tmp9;
69
77
ASSERT_ALIGNED_DOUBLE;
70
tmp2 = input[2 * istride];
71
tmp3 = input[5 * istride];
78
tmp2 = input[3 * istride];
79
tmp3 = input[4 * istride];
72
80
tmp4 = tmp2 + tmp3;
74
tmp5 = input[3 * istride];
75
tmp6 = input[4 * istride];
82
tmp5 = input[istride];
83
tmp6 = input[6 * istride];
76
84
tmp7 = tmp5 + tmp6;
79
imag_output[2 * imag_ostride] = (K974927912 * tmp11) - (K781831482 * tmp12) - (K433883739 * tmp13);
80
imag_output[imag_ostride] = (K781831482 * tmp11) + (K974927912 * tmp13) + (K433883739 * tmp12);
81
imag_output[3 * imag_ostride] = (K433883739 * tmp11) + (K974927912 * tmp12) - (K781831482 * tmp13);
82
real_output[2 * real_ostride] = tmp1 + (K623489801 * tmp7) - (K900968867 * tmp4) - (K222520933 * tmp10);
83
real_output[real_ostride] = tmp1 + (K623489801 * tmp10) - (K900968867 * tmp7) - (K222520933 * tmp4);
84
real_output[3 * real_ostride] = tmp1 + (K623489801 * tmp4) - (K222520933 * tmp7) - (K900968867 * tmp10);
87
imag_output[2 * imag_ostride] =
88
(K974927912 * tmp11) - (K781831482 * tmp12) -
90
imag_output[imag_ostride] =
91
(K974927912 * tmp13) + (K433883739 * tmp12) +
93
imag_output[3 * imag_ostride] =
94
(K974927912 * tmp12) + (K433883739 * tmp11) -
85
96
real_output[0] = tmp1 + tmp10 + tmp4 + tmp7;
97
real_output[3 * real_ostride] =
98
tmp1 + (K623489801 * tmp10) - (K900968867 * tmp7) -
100
real_output[2 * real_ostride] =
101
tmp1 + (K623489801 * tmp4) - (K222520933 * tmp7) -
102
(K900968867 * tmp10);
103
real_output[real_ostride] =
104
tmp1 + (K623489801 * tmp7) - (K900968867 * tmp4) -
105
(K222520933 * tmp10);
88
fftw_codelet_desc fftw_real2hc_7_desc =
108
fftw_codelet_desc fftw_real2hc_7_desc = {
91
110
(void (*)()) fftw_real2hc_7,