/*
 * Copyright (c) 1997-1999 Massachusetts Institute of Technology
 * Copyright (c) 2000-2002 Stefan Kral
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 */

/* This file was automatically generated --- DO NOT EDIT */
/* Generated on Tue Feb 19 14:29:49 CET 2002 */

#include <fftw-int.h>
#include <fftw.h>



DECLARE_SIMD_CONST2 (PK500000000PK500000000, +0.5000000000000000000000000,
		     +0.5000000000000000000000000);
DECLARE_SIMD_CONST2 (PK866025403PK866025403, +0.8660254037844386467637232,
		     +0.8660254037844386467637232);

void
fftwi_no_twiddle_6 (const fftw_complex * inC, fftw_complex * outC,
		    int istride, int ostride)
{
     const fftw_simd2 *input = (const fftw_simd2 *) inC;
     fftw_simd2 *output = (fftw_simd2 *) outC;
     DECLARE_SIMD_TMPVAR2 (t1004);
     DECLARE_SIMD_TMPVAR2 (t1003);
     DECLARE_SIMD_TMPVAR2 (t1019);
     DECLARE_SIMD_TMPVAR2 (t1001);
     DECLARE_SIMD_TMPVAR2 (t1015);
     DECLARE_SIMD_TMPVAR2 (t1014);
     DECLARE_SIMD_TMPVAR2 (t1021);
     DECLARE_SIMD_TMPVAR2 (t1012);
     DECLARE_SIMD_TMPVAR2 (t1017);
     DECLARE_SIMD_TMPVAR2 (t1016);
     DECLARE_SIMD_TMPVAR2 (t1022);
     DECLARE_SIMD_TMPVAR2 (t1013);
     DECLARE_SIMD_TMPVAR2 (t1002);
     DECLARE_SIMD_TMPVAR2 (t1029);
     DECLARE_SIMD_TMPVAR2 (t1020);
     DECLARE_SIMD_TMPVAR2 (t1038);
     DECLARE_SIMD_TMPVAR2 (t1000);
     DECLARE_SIMD_TMPVAR2 (t1024);
     DECLARE_SIMD_TMPVAR2 (t1030);
     DECLARE_SIMD_TMPVAR2 (t1031);
     DECLARE_SIMD_TMPVAR2 (t1023);
     DECLARE_SIMD_TMPVAR2 (t1018);
     DECLARE_SIMD_TMPVAR2 (t1033);
     DECLARE_SIMD_TMPVAR2 (t1039);
     DECLARE_SIMD_TMPVAR2 (t1040);
     DECLARE_SIMD_TMPVAR2 (t1032);

     simd_ld2 (input[istride * 3], t1004);
     simd_ld2 (input[0], t1003);
     simd_add2 (t1003, t1004, t1019);
     simd_sub2 (t1003, t1004, t1001);
     simd_ld2 (input[istride * 5], t1015);
     simd_ld2 (input[istride * 2], t1014);
     simd_add2 (t1014, t1015, t1021);
     simd_sub2 (t1014, t1015, t1012);
     simd_ld2 (input[istride], t1017);
     simd_ld2 (input[istride * 4], t1016);
     simd_add2 (t1016, t1017, t1022);
     simd_sub2 (t1016, t1017, t1013);
     simd_add2 (t1012, t1013, t1002);
     simd_sub2 (t1013, t1012, t1029);
     simd_add2 (t1021, t1022, t1020);
     simd_sub2 (t1022, t1021, t1038);
     simd_add2 (t1001, t1002, t1000);
     simd_fnmca2 (PK500000000PK500000000, t1002, t1001, t1024);
     simd_st2 (t1000, output[ostride * 3]);
     simd_swapchsH2 (t1029, t1030);
     simd_fmca2 (PK866025403PK866025403, t1030, t1024, t1031);
     simd_fnmca2 (PK866025403PK866025403, t1030, t1024, t1023);
     simd_st2 (t1031, output[ostride]);
     simd_st2 (t1023, output[ostride * 5]);
     simd_add2 (t1019, t1020, t1018);
     simd_fnmca2 (PK500000000PK500000000, t1020, t1019, t1033);
     simd_st2 (t1018, output[0]);
     simd_swapchsH2 (t1038, t1039);
     simd_fmca2 (PK866025403PK866025403, t1039, t1033, t1040);
     simd_fnmca2 (PK866025403PK866025403, t1039, t1033, t1032);
     simd_st2 (t1040, output[ostride * 4]);
     simd_st2 (t1032, output[ostride * 2]);
}


fftw_codelet_desc fftwi_no_twiddle_6_desc = {
     "fftwi_no_twiddle_6",
     (void (*)()) fftwi_no_twiddle_6,
     6,
     FFTW_BACKWARD,
     FFTW_NOTW,
     144,
     0,
     (const int *) 0,
};
