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:54:34 EDT 1999 */
26 /* Generated by: ./genfft -magic-alignment-check -magic-twiddle-load-all -magic-variables 4 -magic-loopi -real2hc 8 */
29 * This function contains 20 FP additions, 2 FP multiplications,
30 * (or, 20 additions, 2 multiplications, 0 fused multiply/add),
31 * 12 stack variables, and 16 memory accesses
33 static const fftw_real K707106781
= FFTW_KONST(+0.707106781186547524400844362104849039284835938);
42 void fftw_real2hc_8(const fftw_real
*input
, fftw_real
*real_output
, fftw_real
*imag_output
, int istride
, int real_ostride
, int imag_ostride
)
52 ASSERT_ALIGNED_DOUBLE();
58 ASSERT_ALIGNED_DOUBLE();
60 tmp2
= input
[4 * istride
];
63 tmp11
= input
[7 * istride
];
64 tmp12
= input
[3 * istride
];
65 tmp13
= tmp11
- tmp12
;
66 tmp19
= tmp11
+ tmp12
;
73 ASSERT_ALIGNED_DOUBLE();
74 tmp4
= input
[2 * istride
];
75 tmp5
= input
[6 * istride
];
78 tmp8
= input
[istride
];
79 tmp9
= input
[5 * istride
];
88 ASSERT_ALIGNED_DOUBLE();
89 real_output
[2 * real_ostride
] = tmp3
- tmp6
;
91 tmp20
= tmp18
+ tmp19
;
92 real_output
[4 * real_ostride
] = tmp17
- tmp20
;
93 real_output
[0] = tmp17
+ tmp20
;
94 imag_output
[2 * imag_ostride
] = tmp19
- tmp18
;
95 tmp14
= K707106781
* (tmp10
+ tmp13
);
96 real_output
[3 * real_ostride
] = tmp7
- tmp14
;
97 real_output
[real_ostride
] = tmp7
+ tmp14
;
98 tmp15
= K707106781
* (tmp13
- tmp10
);
99 imag_output
[imag_ostride
] = tmp15
- tmp16
;
100 imag_output
[3 * imag_ostride
] = tmp16
+ tmp15
;
104 fftw_codelet_desc fftw_real2hc_8_desc
=
107 (void (*)()) fftw_real2hc_8
,