annotate Lib/fftw-3.2.1/cell/spu/spu_t1fv_7.spuc @ 2:c649e493c30a

Removed a redundant cout<<
author Geogaddi\David <d.m.ronan@qmul.ac.uk>
date Thu, 09 Jul 2015 21:45:55 +0100
parents 25bf17994ef1
children
rev   line source
d@0 1 /*
d@0 2 * Copyright (c) 2003, 2007-8 Matteo Frigo
d@0 3 * Copyright (c) 2003, 2007-8 Massachusetts Institute of Technology
d@0 4 *
d@0 5 * This program is free software; you can redistribute it and/or modify
d@0 6 * it under the terms of the GNU General Public License as published by
d@0 7 * the Free Software Foundation; either version 2 of the License, or
d@0 8 * (at your option) any later version.
d@0 9 *
d@0 10 * This program is distributed in the hope that it will be useful,
d@0 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
d@0 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
d@0 13 * GNU General Public License for more details.
d@0 14 *
d@0 15 * You should have received a copy of the GNU General Public License
d@0 16 * along with this program; if not, write to the Free Software
d@0 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
d@0 18 *
d@0 19 */
d@0 20 /* Generated by: ../../genfft/gen_twiddle_c -standalone -fma -reorder-insns -simd -compact -variables 100000 -include fftw-spu.h -trivial-stores -n 7 -name X(spu_t1fv_7) */
d@0 21
d@0 22 /*
d@0 23 * This function contains 36 FP additions, 36 FP multiplications,
d@0 24 * (or, 15 additions, 15 multiplications, 21 fused multiply/add),
d@0 25 * 49 stack variables, 6 constants, and 14 memory accesses
d@0 26 */
d@0 27 #include "fftw-spu.h"
d@0 28
d@0 29 void X(spu_t1fv_7) (R *ri, R *ii, const R *W, stride rs, INT mb, INT me, INT ms) {
d@0 30 DVK(KP900968867, +0.900968867902419126236102319507445051165919162);
d@0 31 DVK(KP692021471, +0.692021471630095869627814897002069140197260599);
d@0 32 DVK(KP801937735, +0.801937735804838252472204639014890102331838324);
d@0 33 DVK(KP974927912, +0.974927912181823607018131682993931217232785801);
d@0 34 DVK(KP554958132, +0.554958132087371191422194871006410481067288862);
d@0 35 DVK(KP356895867, +0.356895867892209443894399510021300583399127187);
d@0 36 INT m;
d@0 37 R *x;
d@0 38 x = ri;
d@0 39 for (m = mb, W = W + (mb * ((TWVL / VL) * 12)); m < me; m = m + VL, x = x + (VL * ms), W = W + (TWVL * 12), MAKE_VOLATILE_STRIDE(rs)) {
d@0 40 V T1, T6, Tl, Tm, Tg, Tb, Tn, Ti, Tz, Ts, To, TC, Tv, T3, T5;
d@0 41 V Tf, Td, Ta, T8, T2, T4, Te, Tc, T9, T7, Th, TD, TB, TA, TF;
d@0 42 V TE, Tp, Tk, Tj, Tr, Tq, Tw, Tu, Tt, Ty, Tx;
d@0 43 T1 = LD(&(x[0]), ms, &(x[0]));
d@0 44 T2 = LD(&(x[WS(rs, 1)]), ms, &(x[WS(rs, 1)]));
d@0 45 T3 = BYTWJ(&(W[0]), T2);
d@0 46 T4 = LD(&(x[WS(rs, 6)]), ms, &(x[0]));
d@0 47 T5 = BYTWJ(&(W[TWVL * 10]), T4);
d@0 48 Te = LD(&(x[WS(rs, 4)]), ms, &(x[0]));
d@0 49 Tf = BYTWJ(&(W[TWVL * 6]), Te);
d@0 50 Tc = LD(&(x[WS(rs, 3)]), ms, &(x[WS(rs, 1)]));
d@0 51 Td = BYTWJ(&(W[TWVL * 4]), Tc);
d@0 52 T9 = LD(&(x[WS(rs, 5)]), ms, &(x[WS(rs, 1)]));
d@0 53 Ta = BYTWJ(&(W[TWVL * 8]), T9);
d@0 54 T7 = LD(&(x[WS(rs, 2)]), ms, &(x[0]));
d@0 55 T8 = BYTWJ(&(W[TWVL * 2]), T7);
d@0 56 T6 = VADD(T3, T5);
d@0 57 Tl = VSUB(T5, T3);
d@0 58 Tm = VSUB(Tf, Td);
d@0 59 Tg = VADD(Td, Tf);
d@0 60 Tb = VADD(T8, Ta);
d@0 61 Tn = VSUB(Ta, T8);
d@0 62 Ti = VFNMS(LDK(KP356895867), T6, Tg);
d@0 63 Tz = VFNMS(LDK(KP356895867), Tg, Tb);
d@0 64 Ts = VFNMS(LDK(KP356895867), Tb, T6);
d@0 65 To = VFMA(LDK(KP554958132), Tn, Tm);
d@0 66 TC = VFNMS(LDK(KP554958132), Tl, Tn);
d@0 67 Tv = VFMA(LDK(KP554958132), Tm, Tl);
d@0 68 Th = VADD(T1, VADD(T6, VADD(Tb, Tg)));
d@0 69 ST(&(x[0]), Th, ms, &(x[0]));
d@0 70 TD = VMUL(LDK(KP974927912), VFNMS(LDK(KP801937735), TC, Tm));
d@0 71 TA = VFNMS(LDK(KP692021471), Tz, T6);
d@0 72 TB = VFNMS(LDK(KP900968867), TA, T1);
d@0 73 TF = VFMAI(TD, TB);
d@0 74 TE = VFNMSI(TD, TB);
d@0 75 ST(&(x[WS(rs, 4)]), TE, ms, &(x[0]));
d@0 76 ST(&(x[WS(rs, 3)]), TF, ms, &(x[WS(rs, 1)]));
d@0 77 Tp = VMUL(LDK(KP974927912), VFNMS(LDK(KP801937735), To, Tl));
d@0 78 Tj = VFNMS(LDK(KP692021471), Ti, Tb);
d@0 79 Tk = VFNMS(LDK(KP900968867), Tj, T1);
d@0 80 Tq = VFNMSI(Tp, Tk);
d@0 81 Tr = VFMAI(Tp, Tk);
d@0 82 ST(&(x[WS(rs, 5)]), Tq, ms, &(x[WS(rs, 1)]));
d@0 83 ST(&(x[WS(rs, 2)]), Tr, ms, &(x[0]));
d@0 84 Tw = VMUL(LDK(KP974927912), VFMA(LDK(KP801937735), Tv, Tn));
d@0 85 Tt = VFNMS(LDK(KP692021471), Ts, Tg);
d@0 86 Tu = VFNMS(LDK(KP900968867), Tt, T1);
d@0 87 Ty = VFMAI(Tw, Tu);
d@0 88 Tx = VFNMSI(Tw, Tu);
d@0 89 ST(&(x[WS(rs, 6)]), Tx, ms, &(x[0]));
d@0 90 ST(&(x[WS(rs, 1)]), Ty, ms, &(x[WS(rs, 1)]));
d@0 91 }
d@0 92 }