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 Sun Nov 7 20:44:42 EST 1999 */
26
/* Generated by: ./genfft -magic-alignment-check -magic-twiddle-load-all -magic-variables 4 -magic-loopi -hc2hc-forward 2 */
29
* This function contains 8 FP additions, 4 FP multiplications,
30
* (or, 6 additions, 2 multiplications, 2 fused multiply/add),
31
* 11 stack variables, and 16 memory accesses
36
* $Id: exprdag.ml,v 1.41 1999/05/26 15:44:14 fftw Exp $
37
* $Id: fft.ml,v 1.43 1999/05/17 19:44:18 fftw Exp $
38
* $Id: to_c.ml,v 1.25 1999/10/26 21:41:32 stevenj Exp $
41
void fftw_hc2hc_forward_2(fftw_real *A, const fftw_complex *W, int iostride, int m, int dist)
47
Y = A + (2 * iostride);
51
ASSERT_ALIGNED_DOUBLE;
54
X[iostride] = tmp11 - tmp12;
59
for (i = 2; i < m; i = i + 2, X = X + dist, Y = Y - dist, W = W + 1) {
64
ASSERT_ALIGNED_DOUBLE;
72
ASSERT_ALIGNED_DOUBLE;
77
tmp8 = (tmp4 * tmp5) - (tmp6 * tmp7);
78
tmp10 = (tmp6 * tmp5) + (tmp4 * tmp7);
80
Y[-iostride] = tmp3 - tmp8;
82
X[iostride] = -(tmp9 - tmp10);
88
ASSERT_ALIGNED_DOUBLE;
96
static const int twiddle_order[] =
98
fftw_codelet_desc fftw_hc2hc_forward_2_desc =
100
"fftw_hc2hc_forward_2",
101
(void (*)()) fftw_hc2hc_forward_2,