Logo Search packages:      
Sourcecode: fftw version File versions  Download package

fn_11.c

/*
 * Copyright (c) 1997-1999 Massachusetts Institute of Technology
 *
 * 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 Sun Nov  7 20:43:48 EST 1999 */

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

/* Generated by: ./genfft -magic-alignment-check -magic-twiddle-load-all -magic-variables 4 -magic-loopi -notwiddle 11 */

/*
 * This function contains 140 FP additions, 100 FP multiplications,
 * (or, 140 additions, 100 multiplications, 0 fused multiply/add),
 * 30 stack variables, and 44 memory accesses
 */
static const fftw_real K959492973 = FFTW_KONST(+0.959492973614497389890368057066327699062454848);
static const fftw_real K654860733 = FFTW_KONST(+0.654860733945285064056925072466293553183791199);
static const fftw_real K142314838 = FFTW_KONST(+0.142314838273285140443792668616369668791051361);
static const fftw_real K415415013 = FFTW_KONST(+0.415415013001886425529274149229623203524004910);
static const fftw_real K841253532 = FFTW_KONST(+0.841253532831181168861811648919367717513292498);
static const fftw_real K540640817 = FFTW_KONST(+0.540640817455597582107635954318691695431770608);
static const fftw_real K909631995 = FFTW_KONST(+0.909631995354518371411715383079028460060241051);
static const fftw_real K989821441 = FFTW_KONST(+0.989821441880932732376092037776718787376519372);
static const fftw_real K755749574 = FFTW_KONST(+0.755749574354258283774035843972344420179717445);
static const fftw_real K281732556 = FFTW_KONST(+0.281732556841429697711417915346616899035777899);

/*
 * Generator Id's : 
 * $Id: exprdag.ml,v 1.41 1999/05/26 15:44:14 fftw Exp $
 * $Id: fft.ml,v 1.43 1999/05/17 19:44:18 fftw Exp $
 * $Id: to_c.ml,v 1.25 1999/10/26 21:41:32 stevenj Exp $
 */

void fftw_no_twiddle_11(const fftw_complex *input, fftw_complex *output, int istride, int ostride)
{
     fftw_real tmp1;
     fftw_real tmp48;
     fftw_real tmp4;
     fftw_real tmp42;
     fftw_real tmp20;
     fftw_real tmp53;
     fftw_real tmp32;
     fftw_real tmp49;
     fftw_real tmp7;
     fftw_real tmp46;
     fftw_real tmp10;
     fftw_real tmp43;
     fftw_real tmp23;
     fftw_real tmp52;
     fftw_real tmp13;
     fftw_real tmp45;
     fftw_real tmp26;
     fftw_real tmp50;
     fftw_real tmp29;
     fftw_real tmp51;
     fftw_real tmp16;
     fftw_real tmp44;
     ASSERT_ALIGNED_DOUBLE;
     {
        fftw_real tmp2;
        fftw_real tmp3;
        fftw_real tmp18;
        fftw_real tmp19;
        ASSERT_ALIGNED_DOUBLE;
        tmp1 = c_re(input[0]);
        tmp48 = c_im(input[0]);
        tmp2 = c_re(input[istride]);
        tmp3 = c_re(input[10 * istride]);
        tmp4 = tmp2 + tmp3;
        tmp42 = tmp3 - tmp2;
        tmp18 = c_im(input[istride]);
        tmp19 = c_im(input[10 * istride]);
        tmp20 = tmp18 - tmp19;
        tmp53 = tmp18 + tmp19;
        {
             fftw_real tmp30;
             fftw_real tmp31;
             fftw_real tmp5;
             fftw_real tmp6;
             ASSERT_ALIGNED_DOUBLE;
             tmp30 = c_im(input[2 * istride]);
             tmp31 = c_im(input[9 * istride]);
             tmp32 = tmp30 - tmp31;
             tmp49 = tmp30 + tmp31;
             tmp5 = c_re(input[2 * istride]);
             tmp6 = c_re(input[9 * istride]);
             tmp7 = tmp5 + tmp6;
             tmp46 = tmp6 - tmp5;
        }
     }
     {
        fftw_real tmp8;
        fftw_real tmp9;
        fftw_real tmp24;
        fftw_real tmp25;
        ASSERT_ALIGNED_DOUBLE;
        tmp8 = c_re(input[3 * istride]);
        tmp9 = c_re(input[8 * istride]);
        tmp10 = tmp8 + tmp9;
        tmp43 = tmp9 - tmp8;
        {
             fftw_real tmp21;
             fftw_real tmp22;
             fftw_real tmp11;
             fftw_real tmp12;
             ASSERT_ALIGNED_DOUBLE;
             tmp21 = c_im(input[3 * istride]);
             tmp22 = c_im(input[8 * istride]);
             tmp23 = tmp21 - tmp22;
             tmp52 = tmp21 + tmp22;
             tmp11 = c_re(input[4 * istride]);
             tmp12 = c_re(input[7 * istride]);
             tmp13 = tmp11 + tmp12;
             tmp45 = tmp12 - tmp11;
        }
        tmp24 = c_im(input[4 * istride]);
        tmp25 = c_im(input[7 * istride]);
        tmp26 = tmp24 - tmp25;
        tmp50 = tmp24 + tmp25;
        {
             fftw_real tmp27;
             fftw_real tmp28;
             fftw_real tmp14;
             fftw_real tmp15;
             ASSERT_ALIGNED_DOUBLE;
             tmp27 = c_im(input[5 * istride]);
             tmp28 = c_im(input[6 * istride]);
             tmp29 = tmp27 - tmp28;
             tmp51 = tmp27 + tmp28;
             tmp14 = c_re(input[5 * istride]);
             tmp15 = c_re(input[6 * istride]);
             tmp16 = tmp14 + tmp15;
             tmp44 = tmp15 - tmp14;
        }
     }
     {
        fftw_real tmp35;
        fftw_real tmp34;
        fftw_real tmp59;
        fftw_real tmp60;
        ASSERT_ALIGNED_DOUBLE;
        c_re(output[0]) = tmp1 + tmp4 + tmp7 + tmp10 + tmp13 + tmp16;
        {
             fftw_real tmp41;
             fftw_real tmp40;
             fftw_real tmp37;
             fftw_real tmp36;
             ASSERT_ALIGNED_DOUBLE;
             tmp41 = (K281732556 * tmp20) + (K755749574 * tmp23) + (K989821441 * tmp29) - (K909631995 * tmp26) - (K540640817 * tmp32);
             tmp40 = tmp1 + (K841253532 * tmp7) + (K415415013 * tmp13) - (K142314838 * tmp16) - (K654860733 * tmp10) - (K959492973 * tmp4);
             c_re(output[6 * ostride]) = tmp40 - tmp41;
             c_re(output[5 * ostride]) = tmp40 + tmp41;
             tmp37 = (K540640817 * tmp20) + (K909631995 * tmp32) + (K989821441 * tmp23) + (K755749574 * tmp26) + (K281732556 * tmp29);
             tmp36 = tmp1 + (K841253532 * tmp4) + (K415415013 * tmp7) - (K959492973 * tmp16) - (K654860733 * tmp13) - (K142314838 * tmp10);
             c_re(output[10 * ostride]) = tmp36 - tmp37;
             c_re(output[ostride]) = tmp36 + tmp37;
        }
        tmp35 = (K909631995 * tmp20) + (K755749574 * tmp32) - (K540640817 * tmp29) - (K989821441 * tmp26) - (K281732556 * tmp23);
        tmp34 = tmp1 + (K415415013 * tmp4) + (K841253532 * tmp16) - (K142314838 * tmp13) - (K959492973 * tmp10) - (K654860733 * tmp7);
        c_re(output[9 * ostride]) = tmp34 - tmp35;
        c_re(output[2 * ostride]) = tmp34 + tmp35;
        {
             fftw_real tmp39;
             fftw_real tmp38;
             fftw_real tmp33;
             fftw_real tmp17;
             ASSERT_ALIGNED_DOUBLE;
             tmp39 = (K989821441 * tmp20) + (K540640817 * tmp26) + (K755749574 * tmp29) - (K909631995 * tmp23) - (K281732556 * tmp32);
             tmp38 = tmp1 + (K415415013 * tmp10) + (K841253532 * tmp13) - (K654860733 * tmp16) - (K959492973 * tmp7) - (K142314838 * tmp4);
             c_re(output[8 * ostride]) = tmp38 - tmp39;
             c_re(output[3 * ostride]) = tmp38 + tmp39;
             tmp33 = (K755749574 * tmp20) + (K540640817 * tmp23) + (K281732556 * tmp26) - (K909631995 * tmp29) - (K989821441 * tmp32);
             tmp17 = tmp1 + (K841253532 * tmp10) + (K415415013 * tmp16) - (K959492973 * tmp13) - (K142314838 * tmp7) - (K654860733 * tmp4);
             c_re(output[7 * ostride]) = tmp17 - tmp33;
             c_re(output[4 * ostride]) = tmp17 + tmp33;
        }
        c_im(output[0]) = tmp48 + tmp53 + tmp49 + tmp52 + tmp50 + tmp51;
        {
             fftw_real tmp47;
             fftw_real tmp54;
             fftw_real tmp57;
             fftw_real tmp58;
             ASSERT_ALIGNED_DOUBLE;
             tmp47 = (K281732556 * tmp42) + (K755749574 * tmp43) + (K989821441 * tmp44) - (K909631995 * tmp45) - (K540640817 * tmp46);
             tmp54 = tmp48 + (K841253532 * tmp49) + (K415415013 * tmp50) - (K142314838 * tmp51) - (K654860733 * tmp52) - (K959492973 * tmp53);
             c_im(output[5 * ostride]) = tmp47 + tmp54;
             c_im(output[6 * ostride]) = tmp54 - tmp47;
             tmp57 = (K540640817 * tmp42) + (K909631995 * tmp46) + (K989821441 * tmp43) + (K755749574 * tmp45) + (K281732556 * tmp44);
             tmp58 = tmp48 + (K841253532 * tmp53) + (K415415013 * tmp49) - (K959492973 * tmp51) - (K654860733 * tmp50) - (K142314838 * tmp52);
             c_im(output[ostride]) = tmp57 + tmp58;
             c_im(output[10 * ostride]) = tmp58 - tmp57;
        }
        tmp59 = (K909631995 * tmp42) + (K755749574 * tmp46) - (K540640817 * tmp44) - (K989821441 * tmp45) - (K281732556 * tmp43);
        tmp60 = tmp48 + (K415415013 * tmp53) + (K841253532 * tmp51) - (K142314838 * tmp50) - (K959492973 * tmp52) - (K654860733 * tmp49);
        c_im(output[2 * ostride]) = tmp59 + tmp60;
        c_im(output[9 * ostride]) = tmp60 - tmp59;
        {
             fftw_real tmp55;
             fftw_real tmp56;
             fftw_real tmp61;
             fftw_real tmp62;
             ASSERT_ALIGNED_DOUBLE;
             tmp55 = (K989821441 * tmp42) + (K540640817 * tmp45) + (K755749574 * tmp44) - (K909631995 * tmp43) - (K281732556 * tmp46);
             tmp56 = tmp48 + (K415415013 * tmp52) + (K841253532 * tmp50) - (K654860733 * tmp51) - (K959492973 * tmp49) - (K142314838 * tmp53);
             c_im(output[3 * ostride]) = tmp55 + tmp56;
             c_im(output[8 * ostride]) = tmp56 - tmp55;
             tmp61 = (K755749574 * tmp42) + (K540640817 * tmp43) + (K281732556 * tmp45) - (K909631995 * tmp44) - (K989821441 * tmp46);
             tmp62 = tmp48 + (K841253532 * tmp52) + (K415415013 * tmp51) - (K959492973 * tmp50) - (K142314838 * tmp49) - (K654860733 * tmp53);
             c_im(output[4 * ostride]) = tmp61 + tmp62;
             c_im(output[7 * ostride]) = tmp62 - tmp61;
        }
     }
}

fftw_codelet_desc fftw_no_twiddle_11_desc =
{
     "fftw_no_twiddle_11",
     (void (*)()) fftw_no_twiddle_11,
     11,
     FFTW_FORWARD,
     FFTW_NOTW,
     243,
     0,
     (const int *) 0,
};

Generated by  Doxygen 1.6.0   Back to index