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:10 EDT 1999 */
26 /* Generated by: ./genfft -magic-alignment-check -magic-twiddle-load-all -magic-variables 4 -magic-loopi -hc2real 14 */
29 * This function contains 62 FP additions, 38 FP multiplications,
30 * (or, 60 additions, 36 multiplications, 2 fused multiply/add),
31 * 24 stack variables, and 28 memory accesses
33 static const fftw_real K445041867
= FFTW_KONST(+0.445041867912628808577805128993589518932711138);
34 static const fftw_real K1_801937735
= FFTW_KONST(+1.801937735804838252472204639014890102331838324);
35 static const fftw_real K1_246979603
= FFTW_KONST(+1.246979603717467061050009768008479621264549462);
36 static const fftw_real K867767478
= FFTW_KONST(+0.867767478235116240951536665696717509219981456);
37 static const fftw_real K1_949855824
= FFTW_KONST(+1.949855824363647214036263365987862434465571601);
38 static const fftw_real K1_563662964
= FFTW_KONST(+1.563662964936059617416889053348115500464669037);
39 static const fftw_real K2_000000000
= FFTW_KONST(+2.000000000000000000000000000000000000000000000);
48 void fftw_hc2real_14(const fftw_real
*real_input
, const fftw_real
*imag_input
, fftw_real
*output
, int real_istride
, int imag_istride
, int ostride
)
66 ASSERT_ALIGNED_DOUBLE();
68 tmp2
= real_input
[7 * real_istride
];
76 ASSERT_ALIGNED_DOUBLE();
77 tmp4
= real_input
[2 * real_istride
];
78 tmp5
= real_input
[5 * real_istride
];
81 tmp24
= imag_input
[2 * imag_istride
];
82 tmp25
= imag_input
[5 * imag_istride
];
83 tmp26
= tmp24
- tmp25
;
84 tmp35
= tmp24
+ tmp25
;
91 ASSERT_ALIGNED_DOUBLE();
92 tmp21
= imag_input
[6 * imag_istride
];
93 tmp22
= imag_input
[imag_istride
];
94 tmp23
= tmp21
- tmp22
;
95 tmp34
= tmp21
+ tmp22
;
96 tmp10
= real_input
[6 * real_istride
];
97 tmp11
= real_input
[real_istride
];
98 tmp12
= tmp10
- tmp11
;
99 tmp16
= tmp10
+ tmp11
;
106 ASSERT_ALIGNED_DOUBLE();
107 tmp18
= imag_input
[4 * imag_istride
];
108 tmp19
= imag_input
[3 * imag_istride
];
109 tmp20
= tmp18
- tmp19
;
110 tmp33
= tmp18
+ tmp19
;
111 tmp7
= real_input
[4 * real_istride
];
112 tmp8
= real_input
[3 * real_istride
];
121 ASSERT_ALIGNED_DOUBLE();
122 output
[7 * ostride
] = tmp3
+ (K2_000000000
* (tmp6
+ tmp9
+ tmp12
));
123 tmp38
= (K1_563662964
* tmp35
) + (K1_949855824
* tmp33
) + (K867767478
* tmp34
);
124 tmp37
= tmp3
+ (K1_246979603
* tmp6
) - (K1_801937735
* tmp12
) - (K445041867
* tmp9
);
125 output
[ostride
] = tmp37
- tmp38
;
126 output
[13 * ostride
] = tmp37
+ tmp38
;
132 ASSERT_ALIGNED_DOUBLE();
133 tmp40
= (K867767478
* tmp33
) + (K1_563662964
* tmp34
) - (K1_949855824
* tmp35
);
134 tmp39
= tmp3
+ (K1_246979603
* tmp12
) - (K1_801937735
* tmp9
) - (K445041867
* tmp6
);
135 output
[5 * ostride
] = tmp39
- tmp40
;
136 output
[9 * ostride
] = tmp39
+ tmp40
;
137 tmp36
= (K1_563662964
* tmp33
) - (K1_949855824
* tmp34
) - (K867767478
* tmp35
);
138 tmp32
= tmp3
+ (K1_246979603
* tmp9
) - (K445041867
* tmp12
) - (K1_801937735
* tmp6
);
139 output
[11 * ostride
] = tmp32
- tmp36
;
140 output
[3 * ostride
] = tmp32
+ tmp36
;
142 output
[0] = tmp13
+ (K2_000000000
* (tmp14
+ tmp15
+ tmp16
));
143 tmp29
= (K867767478
* tmp20
) + (K1_563662964
* tmp23
) - (K1_949855824
* tmp26
);
144 tmp28
= tmp13
+ (K1_246979603
* tmp16
) - (K1_801937735
* tmp15
) - (K445041867
* tmp14
);
145 output
[12 * ostride
] = tmp28
- tmp29
;
146 output
[2 * ostride
] = tmp28
+ tmp29
;
152 ASSERT_ALIGNED_DOUBLE();
153 tmp31
= (K1_563662964
* tmp26
) + (K1_949855824
* tmp20
) + (K867767478
* tmp23
);
154 tmp30
= tmp13
+ (K1_246979603
* tmp14
) - (K1_801937735
* tmp16
) - (K445041867
* tmp15
);
155 output
[8 * ostride
] = tmp30
- tmp31
;
156 output
[6 * ostride
] = tmp30
+ tmp31
;
157 tmp27
= (K1_563662964
* tmp20
) - (K1_949855824
* tmp23
) - (K867767478
* tmp26
);
158 tmp17
= tmp13
+ (K1_246979603
* tmp15
) - (K445041867
* tmp16
) - (K1_801937735
* tmp14
);
159 output
[4 * ostride
] = tmp17
- tmp27
;
160 output
[10 * ostride
] = tmp17
+ tmp27
;
165 fftw_codelet_desc fftw_hc2real_14_desc
=
168 (void (*)()) fftw_hc2real_14
,