summaryrefslogtreecommitdiff
path: root/src/fftw/fni_14.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fftw/fni_14.c')
-rw-r--r--src/fftw/fni_14.c409
1 files changed, 409 insertions, 0 deletions
diff --git a/src/fftw/fni_14.c b/src/fftw/fni_14.c
new file mode 100644
index 0000000..61f5f89
--- /dev/null
+++ b/src/fftw/fni_14.c
@@ -0,0 +1,409 @@
+/*
+ * Copyright (c) 1997-1999, 2003 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 Mon Mar 24 02:06:45 EST 2003 */
+
+#include "fftw-int.h"
+#include "fftw.h"
+
+/* Generated by: /homee/stevenj/cvs/fftw/gensrc/genfft -magic-alignment-check -magic-twiddle-load-all -magic-variables 4 -magic-loopi -notwiddleinv 14 */
+
+/*
+ * This function contains 148 FP additions, 72 FP multiplications,
+ * (or, 148 additions, 72 multiplications, 0 fused multiply/add),
+ * 36 stack variables, and 56 memory accesses
+ */
+static const fftw_real K900968867 =
+FFTW_KONST(+0.900968867902419126236102319507445051165919162);
+static const fftw_real K222520933 =
+FFTW_KONST(+0.222520933956314404288902564496794759466355569);
+static const fftw_real K623489801 =
+FFTW_KONST(+0.623489801858733530525004884004239810632274731);
+static const fftw_real K781831482 =
+FFTW_KONST(+0.781831482468029808708444526674057750232334519);
+static const fftw_real K974927912 =
+FFTW_KONST(+0.974927912181823607018131682993931217232785801);
+static const fftw_real K433883739 =
+FFTW_KONST(+0.433883739117558120475768332848358754609990728);
+
+/*
+ * Generator Id's :
+ * $Id: fni_14.c,v 1.1 2008/10/17 06:13:18 scuri Exp $
+ * $Id: fni_14.c,v 1.1 2008/10/17 06:13:18 scuri Exp $
+ * $Id: fni_14.c,v 1.1 2008/10/17 06:13:18 scuri Exp $
+ */
+
+void fftwi_no_twiddle_14(const fftw_complex *input, fftw_complex *output,
+ int istride, int ostride)
+{
+ fftw_real tmp3;
+ fftw_real tmp25;
+ fftw_real tmp84;
+ fftw_real tmp93;
+ fftw_real tmp10;
+ fftw_real tmp77;
+ fftw_real tmp28;
+ fftw_real tmp97;
+ fftw_real tmp42;
+ fftw_real tmp86;
+ fftw_real tmp65;
+ fftw_real tmp92;
+ fftw_real tmp17;
+ fftw_real tmp79;
+ fftw_real tmp31;
+ fftw_real tmp99;
+ fftw_real tmp56;
+ fftw_real tmp81;
+ fftw_real tmp68;
+ fftw_real tmp94;
+ fftw_real tmp24;
+ fftw_real tmp78;
+ fftw_real tmp34;
+ fftw_real tmp98;
+ fftw_real tmp49;
+ fftw_real tmp85;
+ fftw_real tmp71;
+ fftw_real tmp95;
+ ASSERT_ALIGNED_DOUBLE;
+ {
+ fftw_real tmp1;
+ fftw_real tmp2;
+ fftw_real tmp82;
+ fftw_real tmp83;
+ ASSERT_ALIGNED_DOUBLE;
+ tmp1 = c_re(input[0]);
+ tmp2 = c_re(input[7 * istride]);
+ tmp3 = tmp1 - tmp2;
+ tmp25 = tmp1 + tmp2;
+ tmp82 = c_im(input[0]);
+ tmp83 = c_im(input[7 * istride]);
+ tmp84 = tmp82 - tmp83;
+ tmp93 = tmp82 + tmp83;
+ }
+ {
+ fftw_real tmp6;
+ fftw_real tmp26;
+ fftw_real tmp9;
+ fftw_real tmp27;
+ ASSERT_ALIGNED_DOUBLE;
+ {
+ fftw_real tmp4;
+ fftw_real tmp5;
+ fftw_real tmp7;
+ fftw_real tmp8;
+ ASSERT_ALIGNED_DOUBLE;
+ tmp4 = c_re(input[2 * istride]);
+ tmp5 = c_re(input[9 * istride]);
+ tmp6 = tmp4 - tmp5;
+ tmp26 = tmp4 + tmp5;
+ tmp7 = c_re(input[12 * istride]);
+ tmp8 = c_re(input[5 * istride]);
+ tmp9 = tmp7 - tmp8;
+ tmp27 = tmp7 + tmp8;
+ }
+ tmp10 = tmp6 + tmp9;
+ tmp77 = tmp6 - tmp9;
+ tmp28 = tmp26 + tmp27;
+ tmp97 = tmp26 - tmp27;
+ }
+ {
+ fftw_real tmp38;
+ fftw_real tmp63;
+ fftw_real tmp41;
+ fftw_real tmp64;
+ ASSERT_ALIGNED_DOUBLE;
+ {
+ fftw_real tmp36;
+ fftw_real tmp37;
+ fftw_real tmp39;
+ fftw_real tmp40;
+ ASSERT_ALIGNED_DOUBLE;
+ tmp36 = c_im(input[12 * istride]);
+ tmp37 = c_im(input[5 * istride]);
+ tmp38 = tmp36 - tmp37;
+ tmp63 = tmp36 + tmp37;
+ tmp39 = c_im(input[2 * istride]);
+ tmp40 = c_im(input[9 * istride]);
+ tmp41 = tmp39 - tmp40;
+ tmp64 = tmp39 + tmp40;
+ }
+ tmp42 = tmp38 - tmp41;
+ tmp86 = tmp38 + tmp41;
+ tmp65 = tmp63 - tmp64;
+ tmp92 = tmp63 + tmp64;
+ }
+ {
+ fftw_real tmp13;
+ fftw_real tmp29;
+ fftw_real tmp16;
+ fftw_real tmp30;
+ ASSERT_ALIGNED_DOUBLE;
+ {
+ fftw_real tmp11;
+ fftw_real tmp12;
+ fftw_real tmp14;
+ fftw_real tmp15;
+ ASSERT_ALIGNED_DOUBLE;
+ tmp11 = c_re(input[4 * istride]);
+ tmp12 = c_re(input[11 * istride]);
+ tmp13 = tmp11 - tmp12;
+ tmp29 = tmp11 + tmp12;
+ tmp14 = c_re(input[10 * istride]);
+ tmp15 = c_re(input[3 * istride]);
+ tmp16 = tmp14 - tmp15;
+ tmp30 = tmp14 + tmp15;
+ }
+ tmp17 = tmp13 + tmp16;
+ tmp79 = tmp13 - tmp16;
+ tmp31 = tmp29 + tmp30;
+ tmp99 = tmp30 - tmp29;
+ }
+ {
+ fftw_real tmp52;
+ fftw_real tmp67;
+ fftw_real tmp55;
+ fftw_real tmp66;
+ ASSERT_ALIGNED_DOUBLE;
+ {
+ fftw_real tmp50;
+ fftw_real tmp51;
+ fftw_real tmp53;
+ fftw_real tmp54;
+ ASSERT_ALIGNED_DOUBLE;
+ tmp50 = c_im(input[10 * istride]);
+ tmp51 = c_im(input[3 * istride]);
+ tmp52 = tmp50 - tmp51;
+ tmp67 = tmp50 + tmp51;
+ tmp53 = c_im(input[4 * istride]);
+ tmp54 = c_im(input[11 * istride]);
+ tmp55 = tmp53 - tmp54;
+ tmp66 = tmp53 + tmp54;
+ }
+ tmp56 = tmp52 - tmp55;
+ tmp81 = tmp52 + tmp55;
+ tmp68 = tmp66 - tmp67;
+ tmp94 = tmp67 + tmp66;
+ }
+ {
+ fftw_real tmp20;
+ fftw_real tmp32;
+ fftw_real tmp23;
+ fftw_real tmp33;
+ ASSERT_ALIGNED_DOUBLE;
+ {
+ fftw_real tmp18;
+ fftw_real tmp19;
+ fftw_real tmp21;
+ fftw_real tmp22;
+ ASSERT_ALIGNED_DOUBLE;
+ tmp18 = c_re(input[6 * istride]);
+ tmp19 = c_re(input[13 * istride]);
+ tmp20 = tmp18 - tmp19;
+ tmp32 = tmp18 + tmp19;
+ tmp21 = c_re(input[8 * istride]);
+ tmp22 = c_re(input[istride]);
+ tmp23 = tmp21 - tmp22;
+ tmp33 = tmp21 + tmp22;
+ }
+ tmp24 = tmp20 + tmp23;
+ tmp78 = tmp20 - tmp23;
+ tmp34 = tmp32 + tmp33;
+ tmp98 = tmp33 - tmp32;
+ }
+ {
+ fftw_real tmp45;
+ fftw_real tmp70;
+ fftw_real tmp48;
+ fftw_real tmp69;
+ ASSERT_ALIGNED_DOUBLE;
+ {
+ fftw_real tmp43;
+ fftw_real tmp44;
+ fftw_real tmp46;
+ fftw_real tmp47;
+ ASSERT_ALIGNED_DOUBLE;
+ tmp43 = c_im(input[8 * istride]);
+ tmp44 = c_im(input[istride]);
+ tmp45 = tmp43 - tmp44;
+ tmp70 = tmp43 + tmp44;
+ tmp46 = c_im(input[6 * istride]);
+ tmp47 = c_im(input[13 * istride]);
+ tmp48 = tmp46 - tmp47;
+ tmp69 = tmp46 + tmp47;
+ }
+ tmp49 = tmp45 - tmp48;
+ tmp85 = tmp45 + tmp48;
+ tmp71 = tmp69 - tmp70;
+ tmp95 = tmp70 + tmp69;
+ }
+ {
+ fftw_real tmp57;
+ fftw_real tmp35;
+ fftw_real tmp72;
+ fftw_real tmp62;
+ ASSERT_ALIGNED_DOUBLE;
+ c_re(output[7 * ostride]) = tmp3 + tmp10 + tmp17 + tmp24;
+ tmp57 =
+ (K433883739 * tmp42) + (K974927912 * tmp49) -
+ (K781831482 * tmp56);
+ tmp35 =
+ tmp3 + (K623489801 * tmp17) - (K222520933 * tmp24) -
+ (K900968867 * tmp10);
+ c_re(output[11 * ostride]) = tmp35 - tmp57;
+ c_re(output[3 * ostride]) = tmp35 + tmp57;
+ {
+ fftw_real tmp59;
+ fftw_real tmp58;
+ fftw_real tmp61;
+ fftw_real tmp60;
+ ASSERT_ALIGNED_DOUBLE;
+ tmp59 =
+ (K974927912 * tmp42) - (K433883739 * tmp56) -
+ (K781831482 * tmp49);
+ tmp58 =
+ tmp3 + (K623489801 * tmp24) - (K900968867 * tmp17) -
+ (K222520933 * tmp10);
+ c_re(output[5 * ostride]) = tmp58 - tmp59;
+ c_re(output[9 * ostride]) = tmp58 + tmp59;
+ tmp61 =
+ (K781831482 * tmp42) + (K433883739 * tmp49) +
+ (K974927912 * tmp56);
+ tmp60 =
+ tmp3 + (K623489801 * tmp10) - (K900968867 * tmp24) -
+ (K222520933 * tmp17);
+ c_re(output[13 * ostride]) = tmp60 - tmp61;
+ c_re(output[ostride]) = tmp60 + tmp61;
+ }
+ c_re(output[0]) = tmp25 + tmp28 + tmp31 + tmp34;
+ tmp72 =
+ (K781831482 * tmp65) - (K974927912 * tmp68) -
+ (K433883739 * tmp71);
+ tmp62 =
+ tmp25 + (K623489801 * tmp28) - (K900968867 * tmp34) -
+ (K222520933 * tmp31);
+ c_re(output[6 * ostride]) = tmp62 - tmp72;
+ c_re(output[8 * ostride]) = tmp62 + tmp72;
+ {
+ fftw_real tmp74;
+ fftw_real tmp73;
+ fftw_real tmp76;
+ fftw_real tmp75;
+ ASSERT_ALIGNED_DOUBLE;
+ tmp74 =
+ (K433883739 * tmp65) + (K781831482 * tmp68) -
+ (K974927912 * tmp71);
+ tmp73 =
+ tmp25 + (K623489801 * tmp31) - (K222520933 * tmp34) -
+ (K900968867 * tmp28);
+ c_re(output[4 * ostride]) = tmp73 - tmp74;
+ c_re(output[10 * ostride]) = tmp73 + tmp74;
+ tmp76 =
+ (K974927912 * tmp65) + (K781831482 * tmp71) +
+ (K433883739 * tmp68);
+ tmp75 =
+ tmp25 + (K623489801 * tmp34) - (K900968867 * tmp31) -
+ (K222520933 * tmp28);
+ c_re(output[12 * ostride]) = tmp75 - tmp76;
+ c_re(output[2 * ostride]) = tmp75 + tmp76;
+ }
+ }
+ {
+ fftw_real tmp91;
+ fftw_real tmp90;
+ fftw_real tmp103;
+ fftw_real tmp104;
+ ASSERT_ALIGNED_DOUBLE;
+ c_im(output[7 * ostride]) = tmp86 + tmp85 + tmp81 + tmp84;
+ tmp91 =
+ (K974927912 * tmp77) - (K781831482 * tmp78) -
+ (K433883739 * tmp79);
+ tmp90 =
+ (K623489801 * tmp85) + tmp84 - (K900968867 * tmp81) -
+ (K222520933 * tmp86);
+ c_im(output[5 * ostride]) = tmp90 - tmp91;
+ c_im(output[9 * ostride]) = tmp91 + tmp90;
+ {
+ fftw_real tmp88;
+ fftw_real tmp89;
+ fftw_real tmp80;
+ fftw_real tmp87;
+ ASSERT_ALIGNED_DOUBLE;
+ tmp88 =
+ (K781831482 * tmp77) + (K974927912 * tmp79) +
+ (K433883739 * tmp78);
+ tmp89 =
+ (K623489801 * tmp86) + tmp84 - (K222520933 * tmp81) -
+ (K900968867 * tmp85);
+ c_im(output[ostride]) = tmp88 + tmp89;
+ c_im(output[13 * ostride]) = tmp89 - tmp88;
+ tmp80 =
+ (K433883739 * tmp77) + (K974927912 * tmp78) -
+ (K781831482 * tmp79);
+ tmp87 =
+ (K623489801 * tmp81) + tmp84 - (K222520933 * tmp85) -
+ (K900968867 * tmp86);
+ c_im(output[3 * ostride]) = tmp80 + tmp87;
+ c_im(output[11 * ostride]) = tmp87 - tmp80;
+ }
+ c_im(output[0]) = tmp92 + tmp95 + tmp94 + tmp93;
+ tmp103 =
+ (K974927912 * tmp97) + (K433883739 * tmp99) +
+ (K781831482 * tmp98);
+ tmp104 =
+ (K623489801 * tmp95) + tmp93 - (K900968867 * tmp94) -
+ (K222520933 * tmp92);
+ c_im(output[2 * ostride]) = tmp103 + tmp104;
+ c_im(output[12 * ostride]) = tmp104 - tmp103;
+ {
+ fftw_real tmp100;
+ fftw_real tmp96;
+ fftw_real tmp102;
+ fftw_real tmp101;
+ ASSERT_ALIGNED_DOUBLE;
+ tmp100 =
+ (K781831482 * tmp97) - (K433883739 * tmp98) -
+ (K974927912 * tmp99);
+ tmp96 =
+ (K623489801 * tmp92) + tmp93 - (K222520933 * tmp94) -
+ (K900968867 * tmp95);
+ c_im(output[6 * ostride]) = tmp96 - tmp100;
+ c_im(output[8 * ostride]) = tmp100 + tmp96;
+ tmp102 =
+ (K433883739 * tmp97) + (K781831482 * tmp99) -
+ (K974927912 * tmp98);
+ tmp101 =
+ (K623489801 * tmp94) + tmp93 - (K222520933 * tmp95) -
+ (K900968867 * tmp92);
+ c_im(output[4 * ostride]) = tmp101 - tmp102;
+ c_im(output[10 * ostride]) = tmp102 + tmp101;
+ }
+ }
+}
+
+fftw_codelet_desc fftwi_no_twiddle_14_desc = {
+ "fftwi_no_twiddle_14",
+ (void (*)()) fftwi_no_twiddle_14,
+ 14,
+ FFTW_BACKWARD,
+ FFTW_NOTW,
+ 320,
+ 0,
+ (const int *) 0,
+};