Esempio n. 1
0
static void hc2cfdftv_6(R *Rp, R *Ip, R *Rm, R *Im, const R *W, stride rs, INT mb, INT me, INT ms)
{
     DVK(KP500000000, +0.500000000000000000000000000000000000000000000);
     DVK(KP866025403, +0.866025403784438646763723170752936183471402627);
     {
	  INT m;
	  for (m = mb, W = W + ((mb - 1) * ((TWVL / VL) * 10)); m < me; m = m + VL, Rp = Rp + (VL * ms), Ip = Ip + (VL * ms), Rm = Rm - (VL * ms), Im = Im - (VL * ms), W = W + (TWVL * 10), MAKE_VOLATILE_STRIDE(24, rs)) {
	       V T5, T6, T3, Tj, T4, T9, Te, Th, T1, T2, Ti, Tc, Td, Tb, Tg;
	       V T7, Ta, Tt, Tk, Tr, T8, Ts, Tf, Tx, Tu, To, Tl, Tw, Tv, Tn;
	       V Tm, Tz, Ty, Tp, Tq;
	       T1 = LD(&(Rp[0]), ms, &(Rp[0]));
	       T2 = LD(&(Rm[0]), -ms, &(Rm[0]));
	       Ti = LDW(&(W[0]));
	       Tc = LD(&(Rp[WS(rs, 2)]), ms, &(Rp[0]));
	       Td = LD(&(Rm[WS(rs, 2)]), -ms, &(Rm[0]));
	       Tb = LDW(&(W[TWVL * 8]));
	       Tg = LDW(&(W[TWVL * 6]));
	       T5 = LD(&(Rp[WS(rs, 1)]), ms, &(Rp[WS(rs, 1)]));
	       T6 = LD(&(Rm[WS(rs, 1)]), -ms, &(Rm[WS(rs, 1)]));
	       T3 = VFMACONJ(T2, T1);
	       Tj = VZMULIJ(Ti, VFNMSCONJ(T2, T1));
	       T4 = LDW(&(W[TWVL * 4]));
	       T9 = LDW(&(W[TWVL * 2]));
	       Te = VZMULIJ(Tb, VFNMSCONJ(Td, Tc));
	       Th = VZMULJ(Tg, VFMACONJ(Td, Tc));
	       T7 = VZMULIJ(T4, VFNMSCONJ(T6, T5));
	       Ta = VZMULJ(T9, VFMACONJ(T6, T5));
	       Tt = VADD(Tj, Th);
	       Tk = VSUB(Th, Tj);
	       Tr = VADD(T3, T7);
	       T8 = VSUB(T3, T7);
	       Ts = VADD(Ta, Te);
	       Tf = VSUB(Ta, Te);
	       Tx = VMUL(LDK(KP866025403), VSUB(Tt, Ts));
	       Tu = VADD(Ts, Tt);
	       To = VMUL(LDK(KP866025403), VSUB(Tk, Tf));
	       Tl = VADD(Tf, Tk);
	       Tw = VFNMS(LDK(KP500000000), Tu, Tr);
	       Tv = VCONJ(VMUL(LDK(KP500000000), VADD(Tr, Tu)));
	       Tn = VFNMS(LDK(KP500000000), Tl, T8);
	       Tm = VMUL(LDK(KP500000000), VADD(T8, Tl));
	       Tz = VMUL(LDK(KP500000000), VFMAI(Tx, Tw));
	       Ty = VCONJ(VMUL(LDK(KP500000000), VFNMSI(Tx, Tw)));
	       ST(&(Rm[WS(rs, 2)]), Tv, -ms, &(Rm[0]));
	       Tp = VMUL(LDK(KP500000000), VFNMSI(To, Tn));
	       Tq = VCONJ(VMUL(LDK(KP500000000), VFMAI(To, Tn)));
	       ST(&(Rp[0]), Tm, ms, &(Rp[0]));
	       ST(&(Rp[WS(rs, 1)]), Tz, ms, &(Rp[WS(rs, 1)]));
	       ST(&(Rm[0]), Ty, -ms, &(Rm[0]));
	       ST(&(Rm[WS(rs, 1)]), Tq, -ms, &(Rm[WS(rs, 1)]));
	       ST(&(Rp[WS(rs, 2)]), Tp, ms, &(Rp[0]));
	  }
     }
     VLEAVE();
}
Esempio n. 2
0
static void t3fv_5(R *ri, R *ii, const R *W, stride rs, INT mb, INT me, INT ms)
{
     DVK(KP559016994, +0.559016994374947424102293417182819058860154590);
     DVK(KP250000000, +0.250000000000000000000000000000000000000000000);
     DVK(KP618033988, +0.618033988749894848204586834365638117720309180);
     DVK(KP951056516, +0.951056516295153572116439333379382143405698634);
     {
	  INT m;
	  R *x;
	  x = ri;
	  for (m = mb, W = W + (mb * ((TWVL / VL) * 4)); m < me; m = m + VL, x = x + (VL * ms), W = W + (TWVL * 4), MAKE_VOLATILE_STRIDE(5, rs)) {
	       V T2, T5, T1, T3, Td, T7, Tb;
	       T2 = LDW(&(W[0]));
	       T5 = LDW(&(W[TWVL * 2]));
	       T1 = LD(&(x[0]), ms, &(x[0]));
	       T3 = LD(&(x[WS(rs, 1)]), ms, &(x[WS(rs, 1)]));
	       Td = LD(&(x[WS(rs, 3)]), ms, &(x[WS(rs, 1)]));
	       T7 = LD(&(x[WS(rs, 4)]), ms, &(x[0]));
	       Tb = LD(&(x[WS(rs, 2)]), ms, &(x[0]));
	       {
		    V Ta, T6, T4, Te, Tc, T8;
		    Ta = VZMULJ(T2, T5);
		    T6 = VZMUL(T2, T5);
		    T4 = VZMULJ(T2, T3);
		    Te = VZMULJ(T5, Td);
		    Tc = VZMULJ(Ta, Tb);
		    T8 = VZMULJ(T6, T7);
		    {
			 V Tf, Tl, T9, Tk;
			 Tf = VADD(Tc, Te);
			 Tl = VSUB(Tc, Te);
			 T9 = VADD(T4, T8);
			 Tk = VSUB(T4, T8);
			 {
			      V Ti, Tg, To, Tm, Th, Tn, Tj;
			      Ti = VSUB(T9, Tf);
			      Tg = VADD(T9, Tf);
			      To = VMUL(LDK(KP951056516), VFNMS(LDK(KP618033988), Tk, Tl));
			      Tm = VMUL(LDK(KP951056516), VFMA(LDK(KP618033988), Tl, Tk));
			      Th = VFNMS(LDK(KP250000000), Tg, T1);
			      ST(&(x[0]), VADD(T1, Tg), ms, &(x[0]));
			      Tn = VFNMS(LDK(KP559016994), Ti, Th);
			      Tj = VFMA(LDK(KP559016994), Ti, Th);
			      ST(&(x[WS(rs, 2)]), VFMAI(To, Tn), ms, &(x[0]));
			      ST(&(x[WS(rs, 3)]), VFNMSI(To, Tn), ms, &(x[WS(rs, 1)]));
			      ST(&(x[WS(rs, 4)]), VFMAI(Tm, Tj), ms, &(x[0]));
			      ST(&(x[WS(rs, 1)]), VFNMSI(Tm, Tj), ms, &(x[WS(rs, 1)]));
			 }
		    }
	       }
	  }
     }
     VLEAVE();
}
Esempio n. 3
0
static void t3bv_4(R *ri, R *ii, const R *W, stride rs, INT mb, INT me, INT ms)
{
     INT m;
     R *x;
     x = ii;
     for (m = mb, W = W + (mb * ((TWVL / VL) * 4)); m < me; m = m + VL, x = x + (VL * ms), W = W + (TWVL * 4), MAKE_VOLATILE_STRIDE(rs)) {
	  V T2, T3, T4;
	  T2 = LDW(&(W[0]));
	  T3 = LDW(&(W[TWVL * 2]));
	  T4 = VZMULJ(T2, T3);
	  {
	       V T1, Tb, T6, T9, Ta, T5, T8;
	       T1 = LD(&(x[0]), ms, &(x[0]));
	       Ta = LD(&(x[WS(rs, 3)]), ms, &(x[WS(rs, 1)]));
	       Tb = VZMUL(T3, Ta);
	       T5 = LD(&(x[WS(rs, 2)]), ms, &(x[0]));
	       T6 = VZMUL(T4, T5);
	       T8 = LD(&(x[WS(rs, 1)]), ms, &(x[WS(rs, 1)]));
	       T9 = VZMUL(T2, T8);
	       {
		    V T7, Tc, Td, Te;
		    T7 = VSUB(T1, T6);
		    Tc = VBYI(VSUB(T9, Tb));
		    ST(&(x[WS(rs, 3)]), VSUB(T7, Tc), ms, &(x[WS(rs, 1)]));
		    ST(&(x[WS(rs, 1)]), VADD(T7, Tc), ms, &(x[WS(rs, 1)]));
		    Td = VADD(T1, T6);
		    Te = VADD(T9, Tb);
		    ST(&(x[WS(rs, 2)]), VSUB(Td, Te), ms, &(x[0]));
		    ST(&(x[0]), VADD(Td, Te), ms, &(x[0]));
	       }
	  }
     }
}
Esempio n. 4
0
static void hc2cfdftv_4(R *Rp, R *Ip, R *Rm, R *Im, const R *W, stride rs, INT mb, INT me, INT ms)
{
     DVK(KP500000000, +0.500000000000000000000000000000000000000000000);
     INT m;
     for (m = mb, W = W + ((mb - 1) * ((TWVL / VL) * 6)); m < me; m = m + VL, Rp = Rp + (VL * ms), Ip = Ip + (VL * ms), Rm = Rm - (VL * ms), Im = Im - (VL * ms), W = W + (TWVL * 6), MAKE_VOLATILE_STRIDE(rs)) {
	  V T4, Tc, T9, Te, T1, T3, T2, Tb, T6, T8, T7, T5, Td, Tg, Th;
	  V Ta, Tf, Tk, Tl, Ti, Tj;
	  T1 = LD(&(Rp[0]), ms, &(Rp[0]));
	  T2 = LD(&(Rm[0]), -ms, &(Rm[0]));
	  T3 = VCONJ(T2);
	  T4 = VADD(T1, T3);
	  Tb = LDW(&(W[0]));
	  Tc = VZMULIJ(Tb, VSUB(T3, T1));
	  T6 = LD(&(Rp[WS(rs, 1)]), ms, &(Rp[WS(rs, 1)]));
	  T7 = LD(&(Rm[WS(rs, 1)]), -ms, &(Rm[WS(rs, 1)]));
	  T8 = VCONJ(T7);
	  T5 = LDW(&(W[TWVL * 2]));
	  T9 = VZMULJ(T5, VADD(T6, T8));
	  Td = LDW(&(W[TWVL * 4]));
	  Te = VZMULIJ(Td, VSUB(T8, T6));
	  Ta = VSUB(T4, T9);
	  Tf = VBYI(VSUB(Tc, Te));
	  Tg = VMUL(LDK(KP500000000), VSUB(Ta, Tf));
	  Th = VCONJ(VMUL(LDK(KP500000000), VADD(Ta, Tf)));
	  ST(&(Rp[WS(rs, 1)]), Tg, ms, &(Rp[WS(rs, 1)]));
	  ST(&(Rm[0]), Th, -ms, &(Rm[0]));
	  Ti = VADD(T4, T9);
	  Tj = VADD(Tc, Te);
	  Tk = VCONJ(VMUL(LDK(KP500000000), VSUB(Ti, Tj)));
	  Tl = VMUL(LDK(KP500000000), VADD(Ti, Tj));
	  ST(&(Rm[WS(rs, 1)]), Tk, -ms, &(Rm[WS(rs, 1)]));
	  ST(&(Rp[0]), Tl, ms, &(Rp[0]));
     }
}
Esempio n. 5
0
static void hc2cfdftv_4(R *Rp, R *Ip, R *Rm, R *Im, const R *W, stride rs, INT mb, INT me, INT ms)
{
     DVK(KP500000000, +0.500000000000000000000000000000000000000000000);
     {
	  INT m;
	  for (m = mb, W = W + ((mb - 1) * ((TWVL / VL) * 6)); m < me; m = m + VL, Rp = Rp + (VL * ms), Ip = Ip + (VL * ms), Rm = Rm - (VL * ms), Im = Im - (VL * ms), W = W + (TWVL * 6), MAKE_VOLATILE_STRIDE(16, rs)) {
	       V T1, T2, Tb, T5, T6, T4, T9, T3, Tc, T7, Ta, Tg, T8, Td, Th;
	       V Tf, Te, Ti, Tj;
	       T1 = LD(&(Rp[0]), ms, &(Rp[0]));
	       T2 = LD(&(Rm[0]), -ms, &(Rm[0]));
	       Tb = LDW(&(W[0]));
	       T5 = LD(&(Rp[WS(rs, 1)]), ms, &(Rp[WS(rs, 1)]));
	       T6 = LD(&(Rm[WS(rs, 1)]), -ms, &(Rm[WS(rs, 1)]));
	       T4 = LDW(&(W[TWVL * 2]));
	       T9 = LDW(&(W[TWVL * 4]));
	       T3 = VFMACONJ(T2, T1);
	       Tc = VZMULIJ(Tb, VFNMSCONJ(T2, T1));
	       T7 = VZMULJ(T4, VFMACONJ(T6, T5));
	       Ta = VZMULIJ(T9, VFNMSCONJ(T6, T5));
	       Tg = VADD(T3, T7);
	       T8 = VSUB(T3, T7);
	       Td = VSUB(Ta, Tc);
	       Th = VADD(Tc, Ta);
	       Tf = VCONJ(VMUL(LDK(KP500000000), VFMAI(Td, T8)));
	       Te = VMUL(LDK(KP500000000), VFNMSI(Td, T8));
	       Ti = VMUL(LDK(KP500000000), VSUB(Tg, Th));
	       Tj = VCONJ(VMUL(LDK(KP500000000), VADD(Th, Tg)));
	       ST(&(Rm[0]), Tf, -ms, &(Rm[0]));
	       ST(&(Rp[WS(rs, 1)]), Te, ms, &(Rp[WS(rs, 1)]));
	       ST(&(Rp[0]), Ti, ms, &(Rp[0]));
	       ST(&(Rm[WS(rs, 1)]), Tj, -ms, &(Rm[WS(rs, 1)]));
	  }
     }
     VLEAVE();
}
Esempio n. 6
0
static void t3bv_5(R *ri, R *ii, const R *W, stride rs, INT mb, INT me, INT ms)
{
     DVK(KP250000000, +0.250000000000000000000000000000000000000000000);
     DVK(KP559016994, +0.559016994374947424102293417182819058860154590);
     DVK(KP587785252, +0.587785252292473129168705954639072768597652438);
     DVK(KP951056516, +0.951056516295153572116439333379382143405698634);
     {
	  INT m;
	  R *x;
	  x = ii;
	  for (m = mb, W = W + (mb * ((TWVL / VL) * 4)); m < me; m = m + VL, x = x + (VL * ms), W = W + (TWVL * 4), MAKE_VOLATILE_STRIDE(5, rs)) {
	       V T1, T4, T5, T9;
	       T1 = LDW(&(W[0]));
	       T4 = LDW(&(W[TWVL * 2]));
	       T5 = VZMUL(T1, T4);
	       T9 = VZMULJ(T1, T4);
	       {
		    V Tj, T8, Te, Tg, Th, Tk;
		    Tj = LD(&(x[0]), ms, &(x[0]));
		    {
			 V T3, Td, T7, Tb;
			 {
			      V T2, Tc, T6, Ta;
			      T2 = LD(&(x[WS(rs, 1)]), ms, &(x[WS(rs, 1)]));
			      T3 = VZMUL(T1, T2);
			      Tc = LD(&(x[WS(rs, 3)]), ms, &(x[WS(rs, 1)]));
			      Td = VZMUL(T4, Tc);
			      T6 = LD(&(x[WS(rs, 4)]), ms, &(x[0]));
			      T7 = VZMUL(T5, T6);
			      Ta = LD(&(x[WS(rs, 2)]), ms, &(x[0]));
			      Tb = VZMUL(T9, Ta);
			 }
			 T8 = VSUB(T3, T7);
			 Te = VSUB(Tb, Td);
			 Tg = VADD(T3, T7);
			 Th = VADD(Tb, Td);
			 Tk = VADD(Tg, Th);
		    }
		    ST(&(x[0]), VADD(Tj, Tk), ms, &(x[0]));
		    {
			 V Tf, Tn, Tm, To, Ti, Tl;
			 Tf = VBYI(VFMA(LDK(KP951056516), T8, VMUL(LDK(KP587785252), Te)));
			 Tn = VBYI(VFNMS(LDK(KP951056516), Te, VMUL(LDK(KP587785252), T8)));
			 Ti = VMUL(LDK(KP559016994), VSUB(Tg, Th));
			 Tl = VFNMS(LDK(KP250000000), Tk, Tj);
			 Tm = VADD(Ti, Tl);
			 To = VSUB(Tl, Ti);
			 ST(&(x[WS(rs, 1)]), VADD(Tf, Tm), ms, &(x[WS(rs, 1)]));
			 ST(&(x[WS(rs, 3)]), VSUB(To, Tn), ms, &(x[WS(rs, 1)]));
			 ST(&(x[WS(rs, 4)]), VSUB(Tm, Tf), ms, &(x[0]));
			 ST(&(x[WS(rs, 2)]), VADD(Tn, To), ms, &(x[0]));
		    }
	       }
	  }
     }
     VLEAVE();
}
Esempio n. 7
0
static void t3fv_20(R *ri, R *ii, const R *W, stride rs, INT mb, INT me, INT ms)
{
     DVK(KP587785252, +0.587785252292473129168705954639072768597652438);
     DVK(KP951056516, +0.951056516295153572116439333379382143405698634);
     DVK(KP250000000, +0.250000000000000000000000000000000000000000000);
     DVK(KP559016994, +0.559016994374947424102293417182819058860154590);
     {
	  INT m;
	  R *x;
	  x = ri;
	  for (m = mb, W = W + (mb * ((TWVL / VL) * 8)); m < me; m = m + VL, x = x + (VL * ms), W = W + (TWVL * 8), MAKE_VOLATILE_STRIDE(20, rs)) {
	       V T2, T8, T9, TA, T3, Tc, T4, TZ, T18, Tl, Tq, Tx, TU, Td, Te;
	       V T15, Ti, Tt, TJ;
	       T2 = LDW(&(W[0]));
	       T8 = LDW(&(W[TWVL * 2]));
	       T9 = VZMUL(T2, T8);
	       TA = VZMULJ(T2, T8);
	       T3 = LDW(&(W[TWVL * 4]));
	       Tc = VZMULJ(T9, T3);
	       T4 = VZMUL(T2, T3);
	       TZ = VZMUL(T9, T3);
	       T18 = VZMULJ(TA, T3);
	       Tl = VZMULJ(T8, T3);
	       Tq = VZMULJ(T2, T3);
	       Tx = VZMUL(T8, T3);
	       TU = VZMUL(TA, T3);
	       Td = LDW(&(W[TWVL * 6]));
	       Te = VZMULJ(Tc, Td);
	       T15 = VZMULJ(TA, Td);
	       Ti = VZMULJ(T8, Td);
	       Tt = VZMULJ(T2, Td);
	       TJ = VZMULJ(T9, Td);
	       {
		    V T7, TM, T1U, T2d, T1i, T1p, T1q, T1j, Tp, TE, TF, T26, T27, T2b, T1M;
		    V T1P, T1V, TY, T1c, T1d, T23, T24, T2a, T1F, T1I, T1W, TG, T1e;
		    {
			 V T1, TL, T6, TI, TK, T5, TH, T1S, T1T;
			 T1 = LD(&(x[0]), ms, &(x[0]));
			 TK = LD(&(x[WS(rs, 15)]), ms, &(x[WS(rs, 1)]));
			 TL = VZMULJ(TJ, TK);
			 T5 = LD(&(x[WS(rs, 10)]), ms, &(x[0]));
			 T6 = VZMULJ(T4, T5);
			 TH = LD(&(x[WS(rs, 5)]), ms, &(x[WS(rs, 1)]));
			 TI = VZMULJ(Tc, TH);
			 T7 = VSUB(T1, T6);
			 TM = VSUB(TI, TL);
			 T1S = VADD(T1, T6);
			 T1T = VADD(TI, TL);
			 T1U = VSUB(T1S, T1T);
			 T2d = VADD(T1S, T1T);
		    }
		    {
			 V Th, T1K, T14, T1E, T1b, T1H, To, T1N, Tw, T1D, TR, T1L, TX, T1O, TD;
			 V T1G;
			 {
			      V Tb, Tg, Ta, Tf;
			      Ta = LD(&(x[WS(rs, 4)]), ms, &(x[0]));
			      Tb = VZMULJ(T9, Ta);
			      Tf = LD(&(x[WS(rs, 14)]), ms, &(x[0]));
			      Tg = VZMULJ(Te, Tf);
			      Th = VSUB(Tb, Tg);
			      T1K = VADD(Tb, Tg);
			 }
			 {
			      V T11, T13, T10, T12;
			      T10 = LD(&(x[WS(rs, 13)]), ms, &(x[WS(rs, 1)]));
			      T11 = VZMULJ(TZ, T10);
			      T12 = LD(&(x[WS(rs, 3)]), ms, &(x[WS(rs, 1)]));
			      T13 = VZMULJ(T8, T12);
			      T14 = VSUB(T11, T13);
			      T1E = VADD(T11, T13);
			 }
			 {
			      V T17, T1a, T16, T19;
			      T16 = LD(&(x[WS(rs, 17)]), ms, &(x[WS(rs, 1)]));
			      T17 = VZMULJ(T15, T16);
			      T19 = LD(&(x[WS(rs, 7)]), ms, &(x[WS(rs, 1)]));
			      T1a = VZMULJ(T18, T19);
			      T1b = VSUB(T17, T1a);
			      T1H = VADD(T17, T1a);
			 }
			 {
			      V Tk, Tn, Tj, Tm;
			      Tj = LD(&(x[WS(rs, 16)]), ms, &(x[0]));
			      Tk = VZMULJ(Ti, Tj);
			      Tm = LD(&(x[WS(rs, 6)]), ms, &(x[0]));
			      Tn = VZMULJ(Tl, Tm);
			      To = VSUB(Tk, Tn);
			      T1N = VADD(Tk, Tn);
			 }
			 {
			      V Ts, Tv, Tr, Tu;
			      Tr = LD(&(x[WS(rs, 8)]), ms, &(x[0]));
			      Ts = VZMULJ(Tq, Tr);
			      Tu = LD(&(x[WS(rs, 18)]), ms, &(x[0]));
			      Tv = VZMULJ(Tt, Tu);
			      Tw = VSUB(Ts, Tv);
			      T1D = VADD(Ts, Tv);
			 }
			 {
			      V TO, TQ, TN, TP;
			      TN = LD(&(x[WS(rs, 9)]), ms, &(x[WS(rs, 1)]));
			      TO = VZMULJ(T3, TN);
			      TP = LD(&(x[WS(rs, 19)]), ms, &(x[WS(rs, 1)]));
			      TQ = VZMULJ(Td, TP);
			      TR = VSUB(TO, TQ);
			      T1L = VADD(TO, TQ);
			 }
			 {
			      V TT, TW, TS, TV;
			      TS = LD(&(x[WS(rs, 1)]), ms, &(x[WS(rs, 1)]));
			      TT = VZMULJ(T2, TS);
			      TV = LD(&(x[WS(rs, 11)]), ms, &(x[WS(rs, 1)]));
			      TW = VZMULJ(TU, TV);
			      TX = VSUB(TT, TW);
			      T1O = VADD(TT, TW);
			 }
			 {
			      V Tz, TC, Ty, TB;
			      Ty = LD(&(x[WS(rs, 12)]), ms, &(x[0]));
			      Tz = VZMULJ(Tx, Ty);
			      TB = LD(&(x[WS(rs, 2)]), ms, &(x[0]));
			      TC = VZMULJ(TA, TB);
			      TD = VSUB(Tz, TC);
			      T1G = VADD(Tz, TC);
			 }
			 T1i = VSUB(TX, TR);
			 T1p = VSUB(Th, To);
			 T1q = VSUB(Tw, TD);
			 T1j = VSUB(T1b, T14);
			 Tp = VADD(Th, To);
			 TE = VADD(Tw, TD);
			 TF = VADD(Tp, TE);
			 T26 = VADD(T1D, T1E);
			 T27 = VADD(T1G, T1H);
			 T2b = VADD(T26, T27);
			 T1M = VSUB(T1K, T1L);
			 T1P = VSUB(T1N, T1O);
			 T1V = VADD(T1M, T1P);
			 TY = VADD(TR, TX);
			 T1c = VADD(T14, T1b);
			 T1d = VADD(TY, T1c);
			 T23 = VADD(T1K, T1L);
			 T24 = VADD(T1N, T1O);
			 T2a = VADD(T23, T24);
			 T1F = VSUB(T1D, T1E);
			 T1I = VSUB(T1G, T1H);
			 T1W = VADD(T1F, T1I);
		    }
		    TG = VADD(T7, TF);
		    T1e = VBYI(VADD(TM, T1d));
		    ST(&(x[WS(rs, 5)]), VSUB(TG, T1e), ms, &(x[WS(rs, 1)]));
		    ST(&(x[WS(rs, 15)]), VADD(TG, T1e), ms, &(x[WS(rs, 1)]));
		    {
			 V T2c, T2e, T2f, T29, T2i, T25, T28, T2h, T2g;
			 T2c = VMUL(LDK(KP559016994), VSUB(T2a, T2b));
			 T2e = VADD(T2a, T2b);
			 T2f = VFNMS(LDK(KP250000000), T2e, T2d);
			 T25 = VSUB(T23, T24);
			 T28 = VSUB(T26, T27);
			 T29 = VBYI(VFMA(LDK(KP951056516), T25, VMUL(LDK(KP587785252), T28)));
			 T2i = VBYI(VFNMS(LDK(KP587785252), T25, VMUL(LDK(KP951056516), T28)));
			 ST(&(x[0]), VADD(T2d, T2e), ms, &(x[0]));
			 T2h = VSUB(T2f, T2c);
			 ST(&(x[WS(rs, 8)]), VSUB(T2h, T2i), ms, &(x[0]));
			 ST(&(x[WS(rs, 12)]), VADD(T2i, T2h), ms, &(x[0]));
			 T2g = VADD(T2c, T2f);
			 ST(&(x[WS(rs, 4)]), VADD(T29, T2g), ms, &(x[0]));
			 ST(&(x[WS(rs, 16)]), VSUB(T2g, T29), ms, &(x[0]));
		    }
		    {
			 V T1Z, T1X, T1Y, T1R, T22, T1J, T1Q, T21, T20;
			 T1Z = VMUL(LDK(KP559016994), VSUB(T1V, T1W));
			 T1X = VADD(T1V, T1W);
			 T1Y = VFNMS(LDK(KP250000000), T1X, T1U);
			 T1J = VSUB(T1F, T1I);
			 T1Q = VSUB(T1M, T1P);
			 T1R = VBYI(VFNMS(LDK(KP587785252), T1Q, VMUL(LDK(KP951056516), T1J)));
			 T22 = VBYI(VFMA(LDK(KP951056516), T1Q, VMUL(LDK(KP587785252), T1J)));
			 ST(&(x[WS(rs, 10)]), VADD(T1U, T1X), ms, &(x[0]));
			 T21 = VADD(T1Z, T1Y);
			 ST(&(x[WS(rs, 6)]), VSUB(T21, T22), ms, &(x[0]));
			 ST(&(x[WS(rs, 14)]), VADD(T22, T21), ms, &(x[0]));
			 T20 = VSUB(T1Y, T1Z);
			 ST(&(x[WS(rs, 2)]), VADD(T1R, T20), ms, &(x[0]));
			 ST(&(x[WS(rs, 18)]), VSUB(T20, T1R), ms, &(x[0]));
		    }
		    {
			 V T1k, T1r, T1z, T1w, T1o, T1y, T1h, T1v;
			 T1k = VFMA(LDK(KP951056516), T1i, VMUL(LDK(KP587785252), T1j));
			 T1r = VFMA(LDK(KP951056516), T1p, VMUL(LDK(KP587785252), T1q));
			 T1z = VFNMS(LDK(KP587785252), T1p, VMUL(LDK(KP951056516), T1q));
			 T1w = VFNMS(LDK(KP587785252), T1i, VMUL(LDK(KP951056516), T1j));
			 {
			      V T1m, T1n, T1f, T1g;
			      T1m = VFMS(LDK(KP250000000), T1d, TM);
			      T1n = VMUL(LDK(KP559016994), VSUB(T1c, TY));
			      T1o = VADD(T1m, T1n);
			      T1y = VSUB(T1n, T1m);
			      T1f = VMUL(LDK(KP559016994), VSUB(Tp, TE));
			      T1g = VFNMS(LDK(KP250000000), TF, T7);
			      T1h = VADD(T1f, T1g);
			      T1v = VSUB(T1g, T1f);
			 }
			 {
			      V T1l, T1s, T1B, T1C;
			      T1l = VADD(T1h, T1k);
			      T1s = VBYI(VSUB(T1o, T1r));
			      ST(&(x[WS(rs, 19)]), VSUB(T1l, T1s), ms, &(x[WS(rs, 1)]));
			      ST(&(x[WS(rs, 1)]), VADD(T1l, T1s), ms, &(x[WS(rs, 1)]));
			      T1B = VADD(T1v, T1w);
			      T1C = VBYI(VADD(T1z, T1y));
			      ST(&(x[WS(rs, 13)]), VSUB(T1B, T1C), ms, &(x[WS(rs, 1)]));
			      ST(&(x[WS(rs, 7)]), VADD(T1B, T1C), ms, &(x[WS(rs, 1)]));
			 }
			 {
			      V T1t, T1u, T1x, T1A;
			      T1t = VSUB(T1h, T1k);
			      T1u = VBYI(VADD(T1r, T1o));
			      ST(&(x[WS(rs, 11)]), VSUB(T1t, T1u), ms, &(x[WS(rs, 1)]));
			      ST(&(x[WS(rs, 9)]), VADD(T1t, T1u), ms, &(x[WS(rs, 1)]));
			      T1x = VSUB(T1v, T1w);
			      T1A = VBYI(VSUB(T1y, T1z));
			      ST(&(x[WS(rs, 17)]), VSUB(T1x, T1A), ms, &(x[WS(rs, 1)]));
			      ST(&(x[WS(rs, 3)]), VADD(T1x, T1A), ms, &(x[WS(rs, 1)]));
			 }
		    }
	       }
	  }
     }
     VLEAVE();
}
Esempio n. 8
0
static void hc2cfdftv_8(R *Rp, R *Ip, R *Rm, R *Im, const R *W, stride rs, INT mb, INT me, INT ms)
{
     DVK(KP500000000, +0.500000000000000000000000000000000000000000000);
     DVK(KP707106781, +0.707106781186547524400844362104849039284835938);
     {
	  INT m;
	  for (m = mb, W = W + ((mb - 1) * ((TWVL / VL) * 14)); m < me; m = m + VL, Rp = Rp + (VL * ms), Ip = Ip + (VL * ms), Rm = Rm - (VL * ms), Im = Im - (VL * ms), W = W + (TWVL * 14), MAKE_VOLATILE_STRIDE(32, rs)) {
	       V T3, Tc, Tl, Ts, Tf, Tg, Te, Tp, T7, Ta, T1, T2, Tb, Tj, Tk;
	       V Ti, Tr, T5, T6, T4, T9, Th, Tq, TC, T8, Td, TF, Tm, TG, TD;
	       V Tt, Tu, Tn, TH, TL, TE, TK, Tz, Tv, Ty, To, TJ, TI, TN, TM;
	       V TB, TA, Tx, Tw;
	       T1 = LD(&(Rp[0]), ms, &(Rp[0]));
	       T2 = LD(&(Rm[0]), -ms, &(Rm[0]));
	       Tb = LDW(&(W[0]));
	       Tj = LD(&(Rp[WS(rs, 3)]), ms, &(Rp[WS(rs, 1)]));
	       Tk = LD(&(Rm[WS(rs, 3)]), -ms, &(Rm[WS(rs, 1)]));
	       Ti = LDW(&(W[TWVL * 12]));
	       Tr = LDW(&(W[TWVL * 10]));
	       T5 = LD(&(Rp[WS(rs, 2)]), ms, &(Rp[0]));
	       T6 = LD(&(Rm[WS(rs, 2)]), -ms, &(Rm[0]));
	       T3 = VFMACONJ(T2, T1);
	       Tc = VZMULIJ(Tb, VFNMSCONJ(T2, T1));
	       T4 = LDW(&(W[TWVL * 6]));
	       T9 = LDW(&(W[TWVL * 8]));
	       Tl = VZMULIJ(Ti, VFNMSCONJ(Tk, Tj));
	       Ts = VZMULJ(Tr, VFMACONJ(Tk, Tj));
	       Tf = LD(&(Rp[WS(rs, 1)]), ms, &(Rp[WS(rs, 1)]));
	       Tg = LD(&(Rm[WS(rs, 1)]), -ms, &(Rm[WS(rs, 1)]));
	       Te = LDW(&(W[TWVL * 4]));
	       Tp = LDW(&(W[TWVL * 2]));
	       T7 = VZMULJ(T4, VFMACONJ(T6, T5));
	       Ta = VZMULIJ(T9, VFNMSCONJ(T6, T5));
	       Th = VZMULIJ(Te, VFNMSCONJ(Tg, Tf));
	       Tq = VZMULJ(Tp, VFMACONJ(Tg, Tf));
	       TC = VADD(T3, T7);
	       T8 = VSUB(T3, T7);
	       Td = VSUB(Ta, Tc);
	       TF = VADD(Tc, Ta);
	       Tm = VSUB(Th, Tl);
	       TG = VADD(Th, Tl);
	       TD = VADD(Tq, Ts);
	       Tt = VSUB(Tq, Ts);
	       Tu = VSUB(Tm, Td);
	       Tn = VADD(Td, Tm);
	       TH = VSUB(TF, TG);
	       TL = VADD(TF, TG);
	       TE = VSUB(TC, TD);
	       TK = VADD(TC, TD);
	       Tz = VFMA(LDK(KP707106781), Tu, Tt);
	       Tv = VFNMS(LDK(KP707106781), Tu, Tt);
	       Ty = VFNMS(LDK(KP707106781), Tn, T8);
	       To = VFMA(LDK(KP707106781), Tn, T8);
	       TJ = VCONJ(VMUL(LDK(KP500000000), VFNMSI(TH, TE)));
	       TI = VMUL(LDK(KP500000000), VFMAI(TH, TE));
	       TN = VCONJ(VMUL(LDK(KP500000000), VADD(TL, TK)));
	       TM = VMUL(LDK(KP500000000), VSUB(TK, TL));
	       TB = VMUL(LDK(KP500000000), VFMAI(Tz, Ty));
	       TA = VCONJ(VMUL(LDK(KP500000000), VFNMSI(Tz, Ty)));
	       Tx = VCONJ(VMUL(LDK(KP500000000), VFMAI(Tv, To)));
	       Tw = VMUL(LDK(KP500000000), VFNMSI(Tv, To));
	       ST(&(Rm[WS(rs, 1)]), TJ, -ms, &(Rm[WS(rs, 1)]));
	       ST(&(Rp[WS(rs, 2)]), TI, ms, &(Rp[0]));
	       ST(&(Rm[WS(rs, 3)]), TN, -ms, &(Rm[WS(rs, 1)]));
	       ST(&(Rp[0]), TM, ms, &(Rp[0]));
	       ST(&(Rp[WS(rs, 3)]), TB, ms, &(Rp[WS(rs, 1)]));
	       ST(&(Rm[WS(rs, 2)]), TA, -ms, &(Rm[0]));
	       ST(&(Rm[0]), Tx, -ms, &(Rm[0]));
	       ST(&(Rp[WS(rs, 1)]), Tw, ms, &(Rp[WS(rs, 1)]));
	  }
     }
     VLEAVE();
}
Esempio n. 9
0
static void hc2cfdftv_8(R *Rp, R *Ip, R *Rm, R *Im, const R *W, stride rs, INT mb, INT me, INT ms)
{
     DVK(KP707106781, +0.707106781186547524400844362104849039284835938);
     DVK(KP353553390, +0.353553390593273762200422181052424519642417969);
     DVK(KP500000000, +0.500000000000000000000000000000000000000000000);
     {
	  INT m;
	  for (m = mb, W = W + ((mb - 1) * ((TWVL / VL) * 14)); m < me; m = m + VL, Rp = Rp + (VL * ms), Ip = Ip + (VL * ms), Rm = Rm - (VL * ms), Im = Im - (VL * ms), W = W + (TWVL * 14), MAKE_VOLATILE_STRIDE(32, rs)) {
	       V Ta, TE, Tr, TF, Tl, TK, Tw, TG, T1, T6, T3, T8, T2, T7, T4;
	       V T9, T5, To, Tq, Tn, Tp, Tc, Th, Te, Tj, Td, Ti, Tf, Tk, Tb;
	       V Tg, Tt, Tv, Ts, Tu, Ty, Tz, Tm, Tx, TC, TD, TA, TB, TI, TO;
	       V TL, TP, TH, TJ, TM, TR, TN, TQ;
	       T1 = LD(&(Rp[0]), ms, &(Rp[0]));
	       T6 = LD(&(Rp[WS(rs, 2)]), ms, &(Rp[0]));
	       T2 = LD(&(Rm[0]), -ms, &(Rm[0]));
	       T3 = VCONJ(T2);
	       T7 = LD(&(Rm[WS(rs, 2)]), -ms, &(Rm[0]));
	       T8 = VCONJ(T7);
	       T4 = VADD(T1, T3);
	       T5 = LDW(&(W[TWVL * 6]));
	       T9 = VZMULJ(T5, VADD(T6, T8));
	       Ta = VADD(T4, T9);
	       TE = VMUL(LDK(KP500000000), VSUB(T4, T9));
	       Tn = LDW(&(W[0]));
	       To = VZMULIJ(Tn, VSUB(T3, T1));
	       Tp = LDW(&(W[TWVL * 8]));
	       Tq = VZMULIJ(Tp, VSUB(T8, T6));
	       Tr = VADD(To, Tq);
	       TF = VSUB(To, Tq);
	       Tc = LD(&(Rp[WS(rs, 1)]), ms, &(Rp[WS(rs, 1)]));
	       Th = LD(&(Rp[WS(rs, 3)]), ms, &(Rp[WS(rs, 1)]));
	       Td = LD(&(Rm[WS(rs, 1)]), -ms, &(Rm[WS(rs, 1)]));
	       Te = VCONJ(Td);
	       Ti = LD(&(Rm[WS(rs, 3)]), -ms, &(Rm[WS(rs, 1)]));
	       Tj = VCONJ(Ti);
	       Tb = LDW(&(W[TWVL * 2]));
	       Tf = VZMULJ(Tb, VADD(Tc, Te));
	       Tg = LDW(&(W[TWVL * 10]));
	       Tk = VZMULJ(Tg, VADD(Th, Tj));
	       Tl = VADD(Tf, Tk);
	       TK = VSUB(Tf, Tk);
	       Ts = LDW(&(W[TWVL * 4]));
	       Tt = VZMULIJ(Ts, VSUB(Te, Tc));
	       Tu = LDW(&(W[TWVL * 12]));
	       Tv = VZMULIJ(Tu, VSUB(Tj, Th));
	       Tw = VADD(Tt, Tv);
	       TG = VSUB(Tv, Tt);
	       Tm = VADD(Ta, Tl);
	       Tx = VADD(Tr, Tw);
	       Ty = VCONJ(VMUL(LDK(KP500000000), VSUB(Tm, Tx)));
	       Tz = VMUL(LDK(KP500000000), VADD(Tm, Tx));
	       ST(&(Rm[WS(rs, 3)]), Ty, -ms, &(Rm[WS(rs, 1)]));
	       ST(&(Rp[0]), Tz, ms, &(Rp[0]));
	       TA = VSUB(Ta, Tl);
	       TB = VBYI(VSUB(Tw, Tr));
	       TC = VCONJ(VMUL(LDK(KP500000000), VSUB(TA, TB)));
	       TD = VMUL(LDK(KP500000000), VADD(TA, TB));
	       ST(&(Rm[WS(rs, 1)]), TC, -ms, &(Rm[WS(rs, 1)]));
	       ST(&(Rp[WS(rs, 2)]), TD, ms, &(Rp[0]));
	       TH = VMUL(LDK(KP353553390), VADD(TF, TG));
	       TI = VADD(TE, TH);
	       TO = VSUB(TE, TH);
	       TJ = VMUL(LDK(KP707106781), VSUB(TG, TF));
	       TL = VMUL(LDK(KP500000000), VBYI(VSUB(TJ, TK)));
	       TP = VMUL(LDK(KP500000000), VBYI(VADD(TK, TJ)));
	       TM = VCONJ(VSUB(TI, TL));
	       ST(&(Rm[0]), TM, -ms, &(Rm[0]));
	       TR = VADD(TO, TP);
	       ST(&(Rp[WS(rs, 3)]), TR, ms, &(Rp[WS(rs, 1)]));
	       TN = VADD(TI, TL);
	       ST(&(Rp[WS(rs, 1)]), TN, ms, &(Rp[WS(rs, 1)]));
	       TQ = VCONJ(VSUB(TO, TP));
	       ST(&(Rm[WS(rs, 2)]), TQ, -ms, &(Rm[0]));
	  }
     }
     VLEAVE();
}
Esempio n. 10
0
static void t3bv_8(R *ri, R *ii, const R *W, stride rs, INT mb, INT me, INT ms)
{
     DVK(KP707106781, +0.707106781186547524400844362104849039284835938);
     {
	  INT m;
	  R *x;
	  x = ii;
	  for (m = mb, W = W + (mb * ((TWVL / VL) * 6)); m < me; m = m + VL, x = x + (VL * ms), W = W + (TWVL * 6), MAKE_VOLATILE_STRIDE(8, rs)) {
	       V T2, T3, Tb, T1, T5, Tn, Tq, T8, Td, T4, Ta, Tp, Tg, Ti, T9;
	       T2 = LDW(&(W[0]));
	       T3 = LDW(&(W[TWVL * 2]));
	       Tb = LDW(&(W[TWVL * 4]));
	       T1 = LD(&(x[0]), ms, &(x[0]));
	       T5 = LD(&(x[WS(rs, 4)]), ms, &(x[0]));
	       Tn = LD(&(x[WS(rs, 2)]), ms, &(x[0]));
	       Tq = LD(&(x[WS(rs, 6)]), ms, &(x[0]));
	       T8 = LD(&(x[WS(rs, 1)]), ms, &(x[WS(rs, 1)]));
	       Td = LD(&(x[WS(rs, 5)]), ms, &(x[WS(rs, 1)]));
	       T4 = VZMUL(T2, T3);
	       Ta = VZMULJ(T2, T3);
	       Tp = VZMULJ(T2, Tb);
	       Tg = LD(&(x[WS(rs, 7)]), ms, &(x[WS(rs, 1)]));
	       Ti = LD(&(x[WS(rs, 3)]), ms, &(x[WS(rs, 1)]));
	       T9 = VZMUL(T2, T8);
	       {
		    V T6, To, Tc, Tr, Th, Tj;
		    T6 = VZMUL(T4, T5);
		    To = VZMUL(Ta, Tn);
		    Tc = VZMULJ(Ta, Tb);
		    Tr = VZMUL(Tp, Tq);
		    Th = VZMUL(Tb, Tg);
		    Tj = VZMUL(T3, Ti);
		    {
			 V Tx, T7, Te, Ts, Ty, Tk, TB;
			 Tx = VADD(T1, T6);
			 T7 = VSUB(T1, T6);
			 Te = VZMUL(Tc, Td);
			 Ts = VSUB(To, Tr);
			 Ty = VADD(To, Tr);
			 Tk = VSUB(Th, Tj);
			 TB = VADD(Th, Tj);
			 {
			      V Tf, TA, Tz, TD;
			      Tf = VSUB(T9, Te);
			      TA = VADD(T9, Te);
			      Tz = VSUB(Tx, Ty);
			      TD = VADD(Tx, Ty);
			      {
				   V TC, TE, Tl, Tt;
				   TC = VSUB(TA, TB);
				   TE = VADD(TA, TB);
				   Tl = VADD(Tf, Tk);
				   Tt = VSUB(Tf, Tk);
				   {
					V Tu, Tw, Tm, Tv;
					ST(&(x[0]), VADD(TD, TE), ms, &(x[0]));
					ST(&(x[WS(rs, 4)]), VSUB(TD, TE), ms, &(x[0]));
					ST(&(x[WS(rs, 2)]), VFMAI(TC, Tz), ms, &(x[0]));
					ST(&(x[WS(rs, 6)]), VFNMSI(TC, Tz), ms, &(x[0]));
					Tu = VFNMS(LDK(KP707106781), Tt, Ts);
					Tw = VFMA(LDK(KP707106781), Tt, Ts);
					Tm = VFNMS(LDK(KP707106781), Tl, T7);
					Tv = VFMA(LDK(KP707106781), Tl, T7);
					ST(&(x[WS(rs, 1)]), VFMAI(Tw, Tv), ms, &(x[WS(rs, 1)]));
					ST(&(x[WS(rs, 7)]), VFNMSI(Tw, Tv), ms, &(x[WS(rs, 1)]));
					ST(&(x[WS(rs, 5)]), VFMAI(Tu, Tm), ms, &(x[WS(rs, 1)]));
					ST(&(x[WS(rs, 3)]), VFNMSI(Tu, Tm), ms, &(x[WS(rs, 1)]));
				   }
			      }
			 }
		    }
	       }
	  }
     }
     VLEAVE();
}
Esempio n. 11
0
static void t3bv_8(R *ri, R *ii, const R *W, stride rs, INT mb, INT me, INT ms)
{
     DVK(KP707106781, +0.707106781186547524400844362104849039284835938);
     {
	  INT m;
	  R *x;
	  x = ii;
	  for (m = mb, W = W + (mb * ((TWVL / VL) * 6)); m < me; m = m + VL, x = x + (VL * ms), W = W + (TWVL * 6), MAKE_VOLATILE_STRIDE(8, rs)) {
	       V T1, T4, T5, Tp, T6, T7, Tj;
	       T1 = LDW(&(W[0]));
	       T4 = LDW(&(W[TWVL * 2]));
	       T5 = VZMULJ(T1, T4);
	       Tp = VZMUL(T1, T4);
	       T6 = LDW(&(W[TWVL * 4]));
	       T7 = VZMULJ(T5, T6);
	       Tj = VZMULJ(T1, T6);
	       {
		    V Ts, Tx, Tm, Ty, Ta, TA, Tf, TB, To, Tr, Tq;
		    To = LD(&(x[0]), ms, &(x[0]));
		    Tq = LD(&(x[WS(rs, 4)]), ms, &(x[0]));
		    Tr = VZMUL(Tp, Tq);
		    Ts = VSUB(To, Tr);
		    Tx = VADD(To, Tr);
		    {
			 V Ti, Tl, Th, Tk;
			 Th = LD(&(x[WS(rs, 2)]), ms, &(x[0]));
			 Ti = VZMUL(T5, Th);
			 Tk = LD(&(x[WS(rs, 6)]), ms, &(x[0]));
			 Tl = VZMUL(Tj, Tk);
			 Tm = VSUB(Ti, Tl);
			 Ty = VADD(Ti, Tl);
		    }
		    {
			 V T3, T9, T2, T8;
			 T2 = LD(&(x[WS(rs, 1)]), ms, &(x[WS(rs, 1)]));
			 T3 = VZMUL(T1, T2);
			 T8 = LD(&(x[WS(rs, 5)]), ms, &(x[WS(rs, 1)]));
			 T9 = VZMUL(T7, T8);
			 Ta = VSUB(T3, T9);
			 TA = VADD(T3, T9);
		    }
		    {
			 V Tc, Te, Tb, Td;
			 Tb = LD(&(x[WS(rs, 7)]), ms, &(x[WS(rs, 1)]));
			 Tc = VZMUL(T6, Tb);
			 Td = LD(&(x[WS(rs, 3)]), ms, &(x[WS(rs, 1)]));
			 Te = VZMUL(T4, Td);
			 Tf = VSUB(Tc, Te);
			 TB = VADD(Tc, Te);
		    }
		    {
			 V Tz, TC, TD, TE;
			 Tz = VSUB(Tx, Ty);
			 TC = VBYI(VSUB(TA, TB));
			 ST(&(x[WS(rs, 6)]), VSUB(Tz, TC), ms, &(x[0]));
			 ST(&(x[WS(rs, 2)]), VADD(Tz, TC), ms, &(x[0]));
			 TD = VADD(Tx, Ty);
			 TE = VADD(TA, TB);
			 ST(&(x[WS(rs, 4)]), VSUB(TD, TE), ms, &(x[0]));
			 ST(&(x[0]), VADD(TD, TE), ms, &(x[0]));
			 {
			      V Tn, Tv, Tu, Tw, Tg, Tt;
			      Tg = VMUL(LDK(KP707106781), VSUB(Ta, Tf));
			      Tn = VBYI(VSUB(Tg, Tm));
			      Tv = VBYI(VADD(Tm, Tg));
			      Tt = VMUL(LDK(KP707106781), VADD(Ta, Tf));
			      Tu = VSUB(Ts, Tt);
			      Tw = VADD(Ts, Tt);
			      ST(&(x[WS(rs, 3)]), VADD(Tn, Tu), ms, &(x[WS(rs, 1)]));
			      ST(&(x[WS(rs, 7)]), VSUB(Tw, Tv), ms, &(x[WS(rs, 1)]));
			      ST(&(x[WS(rs, 5)]), VSUB(Tu, Tn), ms, &(x[WS(rs, 1)]));
			      ST(&(x[WS(rs, 1)]), VADD(Tv, Tw), ms, &(x[WS(rs, 1)]));
			 }
		    }
	       }
	  }
     }
     VLEAVE();
}
Esempio n. 12
0
static void hc2cfdftv_10(R *Rp, R *Ip, R *Rm, R *Im, const R *W, stride rs, INT mb, INT me, INT ms)
{
     DVK(KP559016994, +0.559016994374947424102293417182819058860154590);
     DVK(KP500000000, +0.500000000000000000000000000000000000000000000);
     DVK(KP250000000, +0.250000000000000000000000000000000000000000000);
     DVK(KP618033988, +0.618033988749894848204586834365638117720309180);
     DVK(KP951056516, +0.951056516295153572116439333379382143405698634);
     {
	  INT m;
	  for (m = mb, W = W + ((mb - 1) * ((TWVL / VL) * 18)); m < me; m = m + VL, Rp = Rp + (VL * ms), Ip = Ip + (VL * ms), Rm = Rm - (VL * ms), Im = Im - (VL * ms), W = W + (TWVL * 18), MAKE_VOLATILE_STRIDE(40, rs)) {
	       V T5, T6, Tw, Tr, Tc, Tj, Tl, Tm, Tk, Ts, Tg, Ty, T3, T4, T1;
	       V T2, Tv, Tq, Ta, Tb, T9, Ti, Te, Tf, Td, Tx, Tn, Tt, Th, TQ;
	       V TT, Tz, T7, TR, To, Tu, TU;
	       T1 = LD(&(Rp[0]), ms, &(Rp[0]));
	       T2 = LD(&(Rm[0]), -ms, &(Rm[0]));
	       Tv = LDW(&(W[0]));
	       T5 = LD(&(Rp[WS(rs, 2)]), ms, &(Rp[0]));
	       T6 = LD(&(Rm[WS(rs, 2)]), -ms, &(Rm[0]));
	       Tq = LDW(&(W[TWVL * 6]));
	       Ta = LD(&(Rp[WS(rs, 1)]), ms, &(Rp[WS(rs, 1)]));
	       Tb = LD(&(Rm[WS(rs, 1)]), -ms, &(Rm[WS(rs, 1)]));
	       T9 = LDW(&(W[TWVL * 2]));
	       Ti = LDW(&(W[TWVL * 4]));
	       Tw = VZMULIJ(Tv, VFNMSCONJ(T2, T1));
	       Te = LD(&(Rp[WS(rs, 3)]), ms, &(Rp[WS(rs, 1)]));
	       Tf = LD(&(Rm[WS(rs, 3)]), -ms, &(Rm[WS(rs, 1)]));
	       Tr = VZMULJ(Tq, VFMACONJ(T6, T5));
	       Td = LDW(&(W[TWVL * 12]));
	       Tx = LDW(&(W[TWVL * 10]));
	       Tc = VZMULJ(T9, VFMACONJ(Tb, Ta));
	       Tj = VZMULIJ(Ti, VFNMSCONJ(Tb, Ta));
	       Tl = LD(&(Rp[WS(rs, 4)]), ms, &(Rp[0]));
	       Tm = LD(&(Rm[WS(rs, 4)]), -ms, &(Rm[0]));
	       Tk = LDW(&(W[TWVL * 14]));
	       Ts = LDW(&(W[TWVL * 16]));
	       Tg = VZMULIJ(Td, VFNMSCONJ(Tf, Te));
	       Ty = VZMULJ(Tx, VFMACONJ(Tf, Te));
	       T3 = VFMACONJ(T2, T1);
	       T4 = LDW(&(W[TWVL * 8]));
	       Tn = VZMULJ(Tk, VFMACONJ(Tm, Tl));
	       Tt = VZMULIJ(Ts, VFNMSCONJ(Tm, Tl));
	       Th = VSUB(Tc, Tg);
	       TQ = VADD(Tc, Tg);
	       TT = VADD(Tw, Ty);
	       Tz = VSUB(Tw, Ty);
	       T7 = VZMULIJ(T4, VFNMSCONJ(T6, T5));
	       TR = VADD(Tj, Tn);
	       To = VSUB(Tj, Tn);
	       Tu = VSUB(Tr, Tt);
	       TU = VADD(Tr, Tt);
	       {
		    V TP, T8, TS, T11, Tp, TH, TA, TG, TV, T12, TE, TB, TM, TI, TZ;
		    V TW, T17, T13, TD, TC, TY, TX, TL, TF, T10, T16, TN, TO, TK, TJ;
		    V T18, T19, T15, T14;
		    TP = VADD(T3, T7);
		    T8 = VSUB(T3, T7);
		    TS = VADD(TQ, TR);
		    T11 = VSUB(TQ, TR);
		    Tp = VSUB(Th, To);
		    TH = VADD(Th, To);
		    TA = VSUB(Tu, Tz);
		    TG = VADD(Tz, Tu);
		    TV = VADD(TT, TU);
		    T12 = VSUB(TU, TT);
		    TE = VSUB(Tp, TA);
		    TB = VADD(Tp, TA);
		    TM = VMUL(LDK(KP951056516), VFMA(LDK(KP618033988), TG, TH));
		    TI = VMUL(LDK(KP951056516), VFNMS(LDK(KP618033988), TH, TG));
		    TZ = VSUB(TS, TV);
		    TW = VADD(TS, TV);
		    T17 = VMUL(LDK(KP951056516), VFNMS(LDK(KP618033988), T11, T12));
		    T13 = VMUL(LDK(KP951056516), VFMA(LDK(KP618033988), T12, T11));
		    TD = VFNMS(LDK(KP250000000), TB, T8);
		    TC = VMUL(LDK(KP500000000), VADD(T8, TB));
		    TY = VFNMS(LDK(KP250000000), TW, TP);
		    TX = VCONJ(VMUL(LDK(KP500000000), VADD(TP, TW)));
		    TL = VFMA(LDK(KP559016994), TE, TD);
		    TF = VFNMS(LDK(KP559016994), TE, TD);
		    ST(&(Rp[0]), TC, ms, &(Rp[0]));
		    T10 = VFMA(LDK(KP559016994), TZ, TY);
		    T16 = VFNMS(LDK(KP559016994), TZ, TY);
		    ST(&(Rm[WS(rs, 4)]), TX, -ms, &(Rm[0]));
		    TN = VCONJ(VMUL(LDK(KP500000000), VFNMSI(TM, TL)));
		    TO = VMUL(LDK(KP500000000), VFMAI(TM, TL));
		    TK = VMUL(LDK(KP500000000), VFMAI(TI, TF));
		    TJ = VCONJ(VMUL(LDK(KP500000000), VFNMSI(TI, TF)));
		    T18 = VMUL(LDK(KP500000000), VFNMSI(T17, T16));
		    T19 = VCONJ(VMUL(LDK(KP500000000), VFMAI(T17, T16)));
		    T15 = VCONJ(VMUL(LDK(KP500000000), VFMAI(T13, T10)));
		    T14 = VMUL(LDK(KP500000000), VFNMSI(T13, T10));
		    ST(&(Rm[WS(rs, 3)]), TN, -ms, &(Rm[WS(rs, 1)]));
		    ST(&(Rp[WS(rs, 4)]), TO, ms, &(Rp[0]));
		    ST(&(Rp[WS(rs, 2)]), TK, ms, &(Rp[0]));
		    ST(&(Rm[WS(rs, 1)]), TJ, -ms, &(Rm[WS(rs, 1)]));
		    ST(&(Rp[WS(rs, 3)]), T18, ms, &(Rp[WS(rs, 1)]));
		    ST(&(Rm[WS(rs, 2)]), T19, -ms, &(Rm[0]));
		    ST(&(Rm[0]), T15, -ms, &(Rm[0]));
		    ST(&(Rp[WS(rs, 1)]), T14, ms, &(Rp[WS(rs, 1)]));
	       }
	  }
     }
     VLEAVE();
}
Esempio n. 13
0
static void t3bv_10(R *ri, R *ii, const R *W, stride rs, INT mb, INT me, INT ms)
{
     DVK(KP587785252, +0.587785252292473129168705954639072768597652438);
     DVK(KP951056516, +0.951056516295153572116439333379382143405698634);
     DVK(KP250000000, +0.250000000000000000000000000000000000000000000);
     DVK(KP559016994, +0.559016994374947424102293417182819058860154590);
     {
	  INT m;
	  R *x;
	  x = ii;
	  for (m = mb, W = W + (mb * ((TWVL / VL) * 6)); m < me; m = m + VL, x = x + (VL * ms), W = W + (TWVL * 6), MAKE_VOLATILE_STRIDE(10, rs)) {
	       V T1, T2, T3, Ti, T6, T7, TA, Tb, To;
	       T1 = LDW(&(W[0]));
	       T2 = LDW(&(W[TWVL * 2]));
	       T3 = VZMULJ(T1, T2);
	       Ti = VZMUL(T1, T2);
	       T6 = LDW(&(W[TWVL * 4]));
	       T7 = VZMULJ(T3, T6);
	       TA = VZMULJ(Ti, T6);
	       Tb = VZMULJ(T1, T6);
	       To = VZMULJ(T2, T6);
	       {
		    V TD, TQ, Tn, Tt, Tx, TM, TN, TS, Ta, Tg, Tw, TJ, TK, TR, Tz;
		    V TC, TB;
		    Tz = LD(&(x[0]), ms, &(x[0]));
		    TB = LD(&(x[WS(rs, 5)]), ms, &(x[WS(rs, 1)]));
		    TC = VZMUL(TA, TB);
		    TD = VSUB(Tz, TC);
		    TQ = VADD(Tz, TC);
		    {
			 V Tk, Ts, Tm, Tq;
			 {
			      V Tj, Tr, Tl, Tp;
			      Tj = LD(&(x[WS(rs, 4)]), ms, &(x[0]));
			      Tk = VZMUL(Ti, Tj);
			      Tr = LD(&(x[WS(rs, 1)]), ms, &(x[WS(rs, 1)]));
			      Ts = VZMUL(T1, Tr);
			      Tl = LD(&(x[WS(rs, 9)]), ms, &(x[WS(rs, 1)]));
			      Tm = VZMUL(T6, Tl);
			      Tp = LD(&(x[WS(rs, 6)]), ms, &(x[0]));
			      Tq = VZMUL(To, Tp);
			 }
			 Tn = VSUB(Tk, Tm);
			 Tt = VSUB(Tq, Ts);
			 Tx = VADD(Tn, Tt);
			 TM = VADD(Tk, Tm);
			 TN = VADD(Tq, Ts);
			 TS = VADD(TM, TN);
		    }
		    {
			 V T5, Tf, T9, Td;
			 {
			      V T4, Te, T8, Tc;
			      T4 = LD(&(x[WS(rs, 2)]), ms, &(x[0]));
			      T5 = VZMUL(T3, T4);
			      Te = LD(&(x[WS(rs, 3)]), ms, &(x[WS(rs, 1)]));
			      Tf = VZMUL(T2, Te);
			      T8 = LD(&(x[WS(rs, 7)]), ms, &(x[WS(rs, 1)]));
			      T9 = VZMUL(T7, T8);
			      Tc = LD(&(x[WS(rs, 8)]), ms, &(x[0]));
			      Td = VZMUL(Tb, Tc);
			 }
			 Ta = VSUB(T5, T9);
			 Tg = VSUB(Td, Tf);
			 Tw = VADD(Ta, Tg);
			 TJ = VADD(T5, T9);
			 TK = VADD(Td, Tf);
			 TR = VADD(TJ, TK);
		    }
		    {
			 V Ty, TE, TF, Tv, TI, Th, Tu, TH, TG;
			 Ty = VMUL(LDK(KP559016994), VSUB(Tw, Tx));
			 TE = VADD(Tw, Tx);
			 TF = VFNMS(LDK(KP250000000), TE, TD);
			 Th = VSUB(Ta, Tg);
			 Tu = VSUB(Tn, Tt);
			 Tv = VBYI(VFMA(LDK(KP951056516), Th, VMUL(LDK(KP587785252), Tu)));
			 TI = VBYI(VFNMS(LDK(KP951056516), Tu, VMUL(LDK(KP587785252), Th)));
			 ST(&(x[WS(rs, 5)]), VADD(TD, TE), ms, &(x[WS(rs, 1)]));
			 TH = VSUB(TF, Ty);
			 ST(&(x[WS(rs, 3)]), VSUB(TH, TI), ms, &(x[WS(rs, 1)]));
			 ST(&(x[WS(rs, 7)]), VADD(TI, TH), ms, &(x[WS(rs, 1)]));
			 TG = VADD(Ty, TF);
			 ST(&(x[WS(rs, 1)]), VADD(Tv, TG), ms, &(x[WS(rs, 1)]));
			 ST(&(x[WS(rs, 9)]), VSUB(TG, Tv), ms, &(x[WS(rs, 1)]));
		    }
		    {
			 V TV, TT, TU, TP, TY, TL, TO, TX, TW;
			 TV = VMUL(LDK(KP559016994), VSUB(TR, TS));
			 TT = VADD(TR, TS);
			 TU = VFNMS(LDK(KP250000000), TT, TQ);
			 TL = VSUB(TJ, TK);
			 TO = VSUB(TM, TN);
			 TP = VBYI(VFNMS(LDK(KP951056516), TO, VMUL(LDK(KP587785252), TL)));
			 TY = VBYI(VFMA(LDK(KP951056516), TL, VMUL(LDK(KP587785252), TO)));
			 ST(&(x[0]), VADD(TQ, TT), ms, &(x[0]));
			 TX = VADD(TV, TU);
			 ST(&(x[WS(rs, 4)]), VSUB(TX, TY), ms, &(x[0]));
			 ST(&(x[WS(rs, 6)]), VADD(TY, TX), ms, &(x[0]));
			 TW = VSUB(TU, TV);
			 ST(&(x[WS(rs, 2)]), VADD(TP, TW), ms, &(x[0]));
			 ST(&(x[WS(rs, 8)]), VSUB(TW, TP), ms, &(x[0]));
		    }
	       }
	  }
     }
     VLEAVE();
}
Esempio n. 14
0
static void t3fv_20(R *ri, R *ii, const R *W, stride rs, INT mb, INT me, INT ms)
{
     DVK(KP559016994, +0.559016994374947424102293417182819058860154590);
     DVK(KP951056516, +0.951056516295153572116439333379382143405698634);
     DVK(KP618033988, +0.618033988749894848204586834365638117720309180);
     DVK(KP250000000, +0.250000000000000000000000000000000000000000000);
     {
	  INT m;
	  R *x;
	  x = ri;
	  for (m = mb, W = W + (mb * ((TWVL / VL) * 8)); m < me; m = m + VL, x = x + (VL * ms), W = W + (TWVL * 8), MAKE_VOLATILE_STRIDE(20, rs)) {
	       V T1k, T1w, T1r, T1z, T1o, T1y, T1v, T1h;
	       {
		    V T2, T8, T3, Td;
		    T2 = LDW(&(W[0]));
		    T8 = LDW(&(W[TWVL * 2]));
		    T3 = LDW(&(W[TWVL * 4]));
		    Td = LDW(&(W[TWVL * 6]));
		    {
			 V T7, TM, T1F, T23, T1p, Tp, T1j, T27, T1P, T1I, T1i, T1L, T28, T1S, T1q;
			 V TE, T1n, T1d, T26, T2e;
			 {
			      V T1, TK, T5, TH;
			      T1 = LD(&(x[0]), ms, &(x[0]));
			      TK = LD(&(x[WS(rs, 15)]), ms, &(x[WS(rs, 1)]));
			      T5 = LD(&(x[WS(rs, 10)]), ms, &(x[0]));
			      TH = LD(&(x[WS(rs, 5)]), ms, &(x[WS(rs, 1)]));
			      {
				   V TA, Tx, TU, T1O, T14, Th, T1G, T1R, T1b, T1J, To, Ts, TV, Tv, TO;
				   V TQ, TT, Ty, TB;
				   {
					V Tq, Tt, T17, T1a, Tk, Tn;
					{
					     V Tl, Ti, T15, T18, TZ, Tc, T6, Tb, Tf, T10, T12, TL;
					     {
						  V TJ, Ta, T9, T4;
						  Ta = LD(&(x[WS(rs, 4)]), ms, &(x[0]));
						  TA = VZMULJ(T2, T8);
						  T9 = VZMUL(T2, T8);
						  Tx = VZMUL(T8, T3);
						  Tl = VZMULJ(T8, T3);
						  T4 = VZMUL(T2, T3);
						  Tq = VZMULJ(T2, T3);
						  Tt = VZMULJ(T2, Td);
						  Ti = VZMULJ(T8, Td);
						  T15 = VZMULJ(TA, Td);
						  T18 = VZMULJ(TA, T3);
						  TU = VZMUL(TA, T3);
						  TJ = VZMULJ(T9, Td);
						  TZ = VZMUL(T9, T3);
						  Tc = VZMULJ(T9, T3);
						  T6 = VZMULJ(T4, T5);
						  Tb = VZMULJ(T9, Ta);
						  Tf = LD(&(x[WS(rs, 14)]), ms, &(x[0]));
						  T10 = LD(&(x[WS(rs, 13)]), ms, &(x[WS(rs, 1)]));
						  T12 = LD(&(x[WS(rs, 3)]), ms, &(x[WS(rs, 1)]));
						  TL = VZMULJ(TJ, TK);
					     }
					     {
						  V T1D, T11, T13, T19, T1E, Tg, T16, TI, Te, Tj, Tm;
						  T16 = LD(&(x[WS(rs, 17)]), ms, &(x[WS(rs, 1)]));
						  TI = VZMULJ(Tc, TH);
						  Te = VZMULJ(Tc, Td);
						  T7 = VSUB(T1, T6);
						  T1D = VADD(T1, T6);
						  T11 = VZMULJ(TZ, T10);
						  T13 = VZMULJ(T8, T12);
						  T19 = LD(&(x[WS(rs, 7)]), ms, &(x[WS(rs, 1)]));
						  T17 = VZMULJ(T15, T16);
						  TM = VSUB(TI, TL);
						  T1E = VADD(TI, TL);
						  Tg = VZMULJ(Te, Tf);
						  Tj = LD(&(x[WS(rs, 16)]), ms, &(x[0]));
						  Tm = LD(&(x[WS(rs, 6)]), ms, &(x[0]));
						  T1O = VADD(T11, T13);
						  T14 = VSUB(T11, T13);
						  T1a = VZMULJ(T18, T19);
						  T1F = VSUB(T1D, T1E);
						  T23 = VADD(T1D, T1E);
						  Th = VSUB(Tb, Tg);
						  T1G = VADD(Tb, Tg);
						  Tk = VZMULJ(Ti, Tj);
						  Tn = VZMULJ(Tl, Tm);
					     }
					}
					{
					     V Tr, Tu, TN, TP, TS;
					     Tr = LD(&(x[WS(rs, 8)]), ms, &(x[0]));
					     T1R = VADD(T17, T1a);
					     T1b = VSUB(T17, T1a);
					     Tu = LD(&(x[WS(rs, 18)]), ms, &(x[0]));
					     TN = LD(&(x[WS(rs, 9)]), ms, &(x[WS(rs, 1)]));
					     TP = LD(&(x[WS(rs, 19)]), ms, &(x[WS(rs, 1)]));
					     TS = LD(&(x[WS(rs, 1)]), ms, &(x[WS(rs, 1)]));
					     T1J = VADD(Tk, Tn);
					     To = VSUB(Tk, Tn);
					     Ts = VZMULJ(Tq, Tr);
					     TV = LD(&(x[WS(rs, 11)]), ms, &(x[WS(rs, 1)]));
					     Tv = VZMULJ(Tt, Tu);
					     TO = VZMULJ(T3, TN);
					     TQ = VZMULJ(Td, TP);
					     TT = VZMULJ(T2, TS);
					     Ty = LD(&(x[WS(rs, 12)]), ms, &(x[0]));
					     TB = LD(&(x[WS(rs, 2)]), ms, &(x[0]));
					}
				   }
				   {
					V T1N, Tw, T1H, TR, Tz, TC, T1c, TX, T1K, TW;
					T1p = VSUB(Th, To);
					Tp = VADD(Th, To);
					TW = VZMULJ(TU, TV);
					T1N = VADD(Ts, Tv);
					Tw = VSUB(Ts, Tv);
					T1H = VADD(TO, TQ);
					TR = VSUB(TO, TQ);
					Tz = VZMULJ(Tx, Ty);
					TC = VZMULJ(TA, TB);
					T1j = VSUB(T1b, T14);
					T1c = VADD(T14, T1b);
					TX = VSUB(TT, TW);
					T1K = VADD(TT, TW);
					T27 = VADD(T1N, T1O);
					T1P = VSUB(T1N, T1O);
					{
					     V TD, T1Q, T24, TY, T25;
					     TD = VSUB(Tz, TC);
					     T1Q = VADD(Tz, TC);
					     T1I = VSUB(T1G, T1H);
					     T24 = VADD(T1G, T1H);
					     TY = VADD(TR, TX);
					     T1i = VSUB(TX, TR);
					     T25 = VADD(T1J, T1K);
					     T1L = VSUB(T1J, T1K);
					     T28 = VADD(T1Q, T1R);
					     T1S = VSUB(T1Q, T1R);
					     T1q = VSUB(Tw, TD);
					     TE = VADD(Tw, TD);
					     T1n = VSUB(T1c, TY);
					     T1d = VADD(TY, T1c);
					     T26 = VADD(T24, T25);
					     T2e = VSUB(T24, T25);
					}
				   }
			      }
			 }
			 {
			      V T1M, T1Z, T1Y, T1T, T29, T2f, T1g, TF, T1m, T1e;
			      T1M = VADD(T1I, T1L);
			      T1Z = VSUB(T1I, T1L);
			      T1Y = VSUB(T1P, T1S);
			      T1T = VADD(T1P, T1S);
			      T29 = VADD(T27, T28);
			      T2f = VSUB(T27, T28);
			      T1g = VSUB(Tp, TE);
			      TF = VADD(Tp, TE);
			      T1m = VFNMS(LDK(KP250000000), T1d, TM);
			      T1e = VADD(TM, T1d);
			      {
				   V T1W, T2c, T1f, T2i, T2g, T22, T20, T1V, T2b, T1U, T2a, TG;
				   T1k = VFMA(LDK(KP618033988), T1j, T1i);
				   T1w = VFNMS(LDK(KP618033988), T1i, T1j);
				   T1W = VSUB(T1M, T1T);
				   T1U = VADD(T1M, T1T);
				   T2c = VSUB(T26, T29);
				   T2a = VADD(T26, T29);
				   T1f = VFNMS(LDK(KP250000000), TF, T7);
				   TG = VADD(T7, TF);
				   T2i = VMUL(LDK(KP951056516), VFNMS(LDK(KP618033988), T2e, T2f));
				   T2g = VMUL(LDK(KP951056516), VFMA(LDK(KP618033988), T2f, T2e));
				   T22 = VMUL(LDK(KP951056516), VFMA(LDK(KP618033988), T1Y, T1Z));
				   T20 = VMUL(LDK(KP951056516), VFNMS(LDK(KP618033988), T1Z, T1Y));
				   ST(&(x[WS(rs, 10)]), VADD(T1F, T1U), ms, &(x[0]));
				   T1V = VFNMS(LDK(KP250000000), T1U, T1F);
				   ST(&(x[0]), VADD(T23, T2a), ms, &(x[0]));
				   T2b = VFNMS(LDK(KP250000000), T2a, T23);
				   ST(&(x[WS(rs, 15)]), VFMAI(T1e, TG), ms, &(x[WS(rs, 1)]));
				   ST(&(x[WS(rs, 5)]), VFNMSI(T1e, TG), ms, &(x[WS(rs, 1)]));
				   T1r = VFMA(LDK(KP618033988), T1q, T1p);
				   T1z = VFNMS(LDK(KP618033988), T1p, T1q);
				   {
					V T21, T1X, T2h, T2d;
					T21 = VFMA(LDK(KP559016994), T1W, T1V);
					T1X = VFNMS(LDK(KP559016994), T1W, T1V);
					T2h = VFNMS(LDK(KP559016994), T2c, T2b);
					T2d = VFMA(LDK(KP559016994), T2c, T2b);
					ST(&(x[WS(rs, 18)]), VFNMSI(T20, T1X), ms, &(x[0]));
					ST(&(x[WS(rs, 2)]), VFMAI(T20, T1X), ms, &(x[0]));
					ST(&(x[WS(rs, 14)]), VFMAI(T22, T21), ms, &(x[0]));
					ST(&(x[WS(rs, 6)]), VFNMSI(T22, T21), ms, &(x[0]));
					ST(&(x[WS(rs, 16)]), VFNMSI(T2g, T2d), ms, &(x[0]));
					ST(&(x[WS(rs, 4)]), VFMAI(T2g, T2d), ms, &(x[0]));
					ST(&(x[WS(rs, 12)]), VFMAI(T2i, T2h), ms, &(x[0]));
					ST(&(x[WS(rs, 8)]), VFNMSI(T2i, T2h), ms, &(x[0]));
					T1o = VFNMS(LDK(KP559016994), T1n, T1m);
					T1y = VFMA(LDK(KP559016994), T1n, T1m);
					T1v = VFNMS(LDK(KP559016994), T1g, T1f);
					T1h = VFMA(LDK(KP559016994), T1g, T1f);
				   }
			      }
			 }
		    }
	       }
	       {
		    V T1C, T1A, T1s, T1u, T1l, T1t, T1B, T1x;
		    T1C = VFMA(LDK(KP951056516), T1z, T1y);
		    T1A = VFNMS(LDK(KP951056516), T1z, T1y);
		    T1s = VFMA(LDK(KP951056516), T1r, T1o);
		    T1u = VFNMS(LDK(KP951056516), T1r, T1o);
		    T1l = VFMA(LDK(KP951056516), T1k, T1h);
		    T1t = VFNMS(LDK(KP951056516), T1k, T1h);
		    T1B = VFMA(LDK(KP951056516), T1w, T1v);
		    T1x = VFNMS(LDK(KP951056516), T1w, T1v);
		    ST(&(x[WS(rs, 11)]), VFMAI(T1u, T1t), ms, &(x[WS(rs, 1)]));
		    ST(&(x[WS(rs, 9)]), VFNMSI(T1u, T1t), ms, &(x[WS(rs, 1)]));
		    ST(&(x[WS(rs, 19)]), VFMAI(T1s, T1l), ms, &(x[WS(rs, 1)]));
		    ST(&(x[WS(rs, 1)]), VFNMSI(T1s, T1l), ms, &(x[WS(rs, 1)]));
		    ST(&(x[WS(rs, 3)]), VFMAI(T1A, T1x), ms, &(x[WS(rs, 1)]));
		    ST(&(x[WS(rs, 17)]), VFNMSI(T1A, T1x), ms, &(x[WS(rs, 1)]));
		    ST(&(x[WS(rs, 7)]), VFMAI(T1C, T1B), ms, &(x[WS(rs, 1)]));
		    ST(&(x[WS(rs, 13)]), VFNMSI(T1C, T1B), ms, &(x[WS(rs, 1)]));
	       }
	  }
     }
     VLEAVE();
}
Esempio n. 15
0
static const R *t3fv_16(R *ri, R *ii, const R *W, stride ios, INT m, INT dist)
{
     DVK(KP923879532, +0.923879532511286756128183189396788286822416626);
     DVK(KP414213562, +0.414213562373095048801688724209698078569671875);
     DVK(KP707106781, +0.707106781186547524400844362104849039284835938);
     INT i;
     R *x;
     x = ri;
     for (i = m; i > 0; i = i - VL, x = x + (VL * dist), W = W + (TWVL * 8), MAKE_VOLATILE_STRIDE(ios)) {
	  V T13, Tg, TY, T14, T1A, T1q, T1f, T1x, T1r, T1i, Tt, T16, TB, T1j, T1k;
	  V TH;
	  {
	       V T2, T8, Tu, T3;
	       T2 = LDW(&(W[0]));
	       T8 = LDW(&(W[TWVL * 2]));
	       Tu = LDW(&(W[TWVL * 6]));
	       T3 = LDW(&(W[TWVL * 4]));
	       {
		    V Ty, T1o, Tf, T1b, T7, Tr, TR, TX, T1g, Tl, To, Tw, TG, Tz, T1p;
		    V T1e, TC;
		    {
			 V T1, T5, Ta, Td;
			 T1 = LD(&(x[0]), dist, &(x[0]));
			 T5 = LD(&(x[WS(ios, 8)]), dist, &(x[0]));
			 Ta = LD(&(x[WS(ios, 4)]), dist, &(x[0]));
			 Td = LD(&(x[WS(ios, 12)]), dist, &(x[0]));
			 {
			      V Tx, TO, TE, Tb, Tm, Tp, TN, Te, T6, TW, TP, TS;
			      {
				   V TM, T9, TL, Tc, TU, T4, TV;
				   TM = LD(&(x[WS(ios, 14)]), dist, &(x[0]));
				   Tx = VZMULJ(T2, T8);
				   T9 = VZMUL(T2, T8);
				   TL = VZMULJ(T2, Tu);
				   TO = VZMULJ(T8, T3);
				   Tc = VZMUL(T8, T3);
				   TU = VZMUL(T2, T3);
				   T4 = VZMULJ(T2, T3);
				   TV = LD(&(x[WS(ios, 10)]), dist, &(x[0]));
				   TE = VZMUL(Tx, T3);
				   Ty = VZMULJ(Tx, T3);
				   Tb = VZMULJ(T9, Ta);
				   Tm = VZMULJ(T9, T3);
				   Tp = VZMUL(T9, T3);
				   TN = VZMULJ(TL, TM);
				   Te = VZMULJ(Tc, Td);
				   T6 = VZMULJ(T4, T5);
				   TW = VZMULJ(TU, TV);
			      }
			      TP = LD(&(x[WS(ios, 6)]), dist, &(x[0]));
			      TS = LD(&(x[WS(ios, 2)]), dist, &(x[0]));
			      {
				   V TQ, TT, Ti, Tk, Tn, Th, Tq, Tj;
				   Th = LD(&(x[WS(ios, 1)]), dist, &(x[WS(ios, 1)]));
				   Tq = LD(&(x[WS(ios, 13)]), dist, &(x[WS(ios, 1)]));
				   Tj = LD(&(x[WS(ios, 9)]), dist, &(x[WS(ios, 1)]));
				   T1o = VSUB(Tb, Te);
				   Tf = VADD(Tb, Te);
				   T1b = VSUB(T1, T6);
				   T7 = VADD(T1, T6);
				   TQ = VZMULJ(TO, TP);
				   TT = VZMULJ(Tx, TS);
				   Ti = VZMULJ(T2, Th);
				   Tr = VZMULJ(Tp, Tq);
				   Tk = VZMULJ(T3, Tj);
				   Tn = LD(&(x[WS(ios, 5)]), dist, &(x[WS(ios, 1)]));
				   {
					V T1d, T1c, Tv, TF;
					Tv = LD(&(x[WS(ios, 15)]), dist, &(x[WS(ios, 1)]));
					TF = LD(&(x[WS(ios, 11)]), dist, &(x[WS(ios, 1)]));
					T1d = VSUB(TN, TQ);
					TR = VADD(TN, TQ);
					T1c = VSUB(TT, TW);
					TX = VADD(TT, TW);
					T1g = VSUB(Ti, Tk);
					Tl = VADD(Ti, Tk);
					To = VZMULJ(Tm, Tn);
					Tw = VZMULJ(Tu, Tv);
					TG = VZMULJ(TE, TF);
					Tz = LD(&(x[WS(ios, 7)]), dist, &(x[WS(ios, 1)]));
					T1p = VSUB(T1d, T1c);
					T1e = VADD(T1c, T1d);
					TC = LD(&(x[WS(ios, 3)]), dist, &(x[WS(ios, 1)]));
				   }
			      }
			 }
		    }
		    {
			 V T1h, Ts, TA, TD;
			 T13 = VADD(T7, Tf);
			 Tg = VSUB(T7, Tf);
			 T1h = VSUB(To, Tr);
			 Ts = VADD(To, Tr);
			 TY = VSUB(TR, TX);
			 T14 = VADD(TX, TR);
			 TA = VZMULJ(Ty, Tz);
			 T1A = VFMA(LDK(KP707106781), T1p, T1o);
			 T1q = VFNMS(LDK(KP707106781), T1p, T1o);
			 T1f = VFMA(LDK(KP707106781), T1e, T1b);
			 T1x = VFNMS(LDK(KP707106781), T1e, T1b);
			 TD = VZMULJ(T8, TC);
			 T1r = VFMA(LDK(KP414213562), T1g, T1h);
			 T1i = VFNMS(LDK(KP414213562), T1h, T1g);
			 Tt = VSUB(Tl, Ts);
			 T16 = VADD(Tl, Ts);
			 TB = VADD(Tw, TA);
			 T1j = VSUB(Tw, TA);
			 T1k = VSUB(TG, TD);
			 TH = VADD(TD, TG);
		    }
	       }
	  }
	  {
	       V T15, T19, T1l, T1s, TI, T17;
	       T15 = VADD(T13, T14);
	       T19 = VSUB(T13, T14);
	       T1l = VFNMS(LDK(KP414213562), T1k, T1j);
	       T1s = VFMA(LDK(KP414213562), T1j, T1k);
	       TI = VSUB(TB, TH);
	       T17 = VADD(TB, TH);
	       {
		    V T1y, T1t, T1B, T1m;
		    T1y = VADD(T1r, T1s);
		    T1t = VSUB(T1r, T1s);
		    T1B = VSUB(T1l, T1i);
		    T1m = VADD(T1i, T1l);
		    {
			 V T18, T1a, TJ, TZ;
			 T18 = VADD(T16, T17);
			 T1a = VSUB(T17, T16);
			 TJ = VADD(Tt, TI);
			 TZ = VSUB(TI, Tt);
			 {
			      V T1u, T1w, T1z, T1D;
			      T1u = VFNMS(LDK(KP923879532), T1t, T1q);
			      T1w = VFMA(LDK(KP923879532), T1t, T1q);
			      T1z = VFNMS(LDK(KP923879532), T1y, T1x);
			      T1D = VFMA(LDK(KP923879532), T1y, T1x);
			      {
				   V T1n, T1v, T1C, T1E;
				   T1n = VFNMS(LDK(KP923879532), T1m, T1f);
				   T1v = VFMA(LDK(KP923879532), T1m, T1f);
				   T1C = VFNMS(LDK(KP923879532), T1B, T1A);
				   T1E = VFMA(LDK(KP923879532), T1B, T1A);
				   ST(&(x[WS(ios, 12)]), VFNMSI(T1a, T19), dist, &(x[0]));
				   ST(&(x[WS(ios, 4)]), VFMAI(T1a, T19), dist, &(x[0]));
				   ST(&(x[0]), VADD(T15, T18), dist, &(x[0]));
				   ST(&(x[WS(ios, 8)]), VSUB(T15, T18), dist, &(x[0]));
				   {
					V T10, T12, TK, T11;
					T10 = VFNMS(LDK(KP707106781), TZ, TY);
					T12 = VFMA(LDK(KP707106781), TZ, TY);
					TK = VFNMS(LDK(KP707106781), TJ, Tg);
					T11 = VFMA(LDK(KP707106781), TJ, Tg);
					ST(&(x[WS(ios, 1)]), VFNMSI(T1w, T1v), dist, &(x[WS(ios, 1)]));
					ST(&(x[WS(ios, 15)]), VFMAI(T1w, T1v), dist, &(x[WS(ios, 1)]));
					ST(&(x[WS(ios, 7)]), VFMAI(T1u, T1n), dist, &(x[WS(ios, 1)]));
					ST(&(x[WS(ios, 9)]), VFNMSI(T1u, T1n), dist, &(x[WS(ios, 1)]));
					ST(&(x[WS(ios, 3)]), VFMAI(T1E, T1D), dist, &(x[WS(ios, 1)]));
					ST(&(x[WS(ios, 13)]), VFNMSI(T1E, T1D), dist, &(x[WS(ios, 1)]));
					ST(&(x[WS(ios, 11)]), VFMAI(T1C, T1z), dist, &(x[WS(ios, 1)]));
					ST(&(x[WS(ios, 5)]), VFNMSI(T1C, T1z), dist, &(x[WS(ios, 1)]));
					ST(&(x[WS(ios, 14)]), VFNMSI(T12, T11), dist, &(x[0]));
					ST(&(x[WS(ios, 2)]), VFMAI(T12, T11), dist, &(x[0]));
					ST(&(x[WS(ios, 10)]), VFMAI(T10, TK), dist, &(x[0]));
					ST(&(x[WS(ios, 6)]), VFNMSI(T10, TK), dist, &(x[0]));
				   }
			      }
			 }
		    }
	       }
	  }
     }
     return W;
}
Esempio n. 16
0
static const R *t3fv_16(R *ri, R *ii, const R *W, stride ios, INT m, INT dist)
{
     DVK(KP923879532, +0.923879532511286756128183189396788286822416626);
     DVK(KP382683432, +0.382683432365089771728459984030398866761344562);
     DVK(KP707106781, +0.707106781186547524400844362104849039284835938);
     INT i;
     R *x;
     x = ri;
     for (i = m; i > 0; i = i - VL, x = x + (VL * dist), W = W + (TWVL * 8), MAKE_VOLATILE_STRIDE(ios)) {
	  V T4, T5, T6, To, T1, Ty, T7, T8, TO, TV, Te, Tp, TB, TH, Ts;
	  T4 = LDW(&(W[0]));
	  T5 = LDW(&(W[TWVL * 2]));
	  T6 = VZMULJ(T4, T5);
	  To = VZMUL(T4, T5);
	  T1 = LDW(&(W[TWVL * 6]));
	  Ty = VZMULJ(T4, T1);
	  T7 = LDW(&(W[TWVL * 4]));
	  T8 = VZMULJ(T6, T7);
	  TO = VZMUL(T5, T7);
	  TV = VZMULJ(T4, T7);
	  Te = VZMUL(T6, T7);
	  Tp = VZMULJ(To, T7);
	  TB = VZMULJ(T5, T7);
	  TH = VZMUL(T4, T7);
	  Ts = VZMUL(To, T7);
	  {
	       V TY, T1f, TR, T1g, T1q, T1r, TL, TZ, T1l, T1m, T1n, Ti, T12, T1i, T1j;
	       V T1k, Tw, T11, TU, TX, TW;
	       TU = LD(&(x[0]), dist, &(x[0]));
	       TW = LD(&(x[WS(ios, 8)]), dist, &(x[0]));
	       TX = VZMULJ(TV, TW);
	       TY = VSUB(TU, TX);
	       T1f = VADD(TU, TX);
	       {
		    V TN, TQ, TM, TP;
		    TM = LD(&(x[WS(ios, 4)]), dist, &(x[0]));
		    TN = VZMULJ(To, TM);
		    TP = LD(&(x[WS(ios, 12)]), dist, &(x[0]));
		    TQ = VZMULJ(TO, TP);
		    TR = VSUB(TN, TQ);
		    T1g = VADD(TN, TQ);
	       }
	       {
		    V TA, TJ, TD, TG, TE, TK;
		    {
			 V Tz, TI, TC, TF;
			 Tz = LD(&(x[WS(ios, 14)]), dist, &(x[0]));
			 TA = VZMULJ(Ty, Tz);
			 TI = LD(&(x[WS(ios, 10)]), dist, &(x[0]));
			 TJ = VZMULJ(TH, TI);
			 TC = LD(&(x[WS(ios, 6)]), dist, &(x[0]));
			 TD = VZMULJ(TB, TC);
			 TF = LD(&(x[WS(ios, 2)]), dist, &(x[0]));
			 TG = VZMULJ(T6, TF);
		    }
		    T1q = VADD(TA, TD);
		    T1r = VADD(TG, TJ);
		    TE = VSUB(TA, TD);
		    TK = VSUB(TG, TJ);
		    TL = VMUL(LDK(KP707106781), VSUB(TE, TK));
		    TZ = VMUL(LDK(KP707106781), VADD(TK, TE));
	       }
	       {
		    V T3, Tg, Ta, Td, Tb, Th;
		    {
			 V T2, Tf, T9, Tc;
			 T2 = LD(&(x[WS(ios, 15)]), dist, &(x[WS(ios, 1)]));
			 T3 = VZMULJ(T1, T2);
			 Tf = LD(&(x[WS(ios, 11)]), dist, &(x[WS(ios, 1)]));
			 Tg = VZMULJ(Te, Tf);
			 T9 = LD(&(x[WS(ios, 7)]), dist, &(x[WS(ios, 1)]));
			 Ta = VZMULJ(T8, T9);
			 Tc = LD(&(x[WS(ios, 3)]), dist, &(x[WS(ios, 1)]));
			 Td = VZMULJ(T5, Tc);
		    }
		    T1l = VADD(T3, Ta);
		    T1m = VADD(Td, Tg);
		    T1n = VSUB(T1l, T1m);
		    Tb = VSUB(T3, Ta);
		    Th = VSUB(Td, Tg);
		    Ti = VFNMS(LDK(KP923879532), Th, VMUL(LDK(KP382683432), Tb));
		    T12 = VFMA(LDK(KP923879532), Tb, VMUL(LDK(KP382683432), Th));
	       }
	       {
		    V Tk, Tu, Tm, Tr, Tn, Tv;
		    {
			 V Tj, Tt, Tl, Tq;
			 Tj = LD(&(x[WS(ios, 1)]), dist, &(x[WS(ios, 1)]));
			 Tk = VZMULJ(T4, Tj);
			 Tt = LD(&(x[WS(ios, 13)]), dist, &(x[WS(ios, 1)]));
			 Tu = VZMULJ(Ts, Tt);
			 Tl = LD(&(x[WS(ios, 9)]), dist, &(x[WS(ios, 1)]));
			 Tm = VZMULJ(T7, Tl);
			 Tq = LD(&(x[WS(ios, 5)]), dist, &(x[WS(ios, 1)]));
			 Tr = VZMULJ(Tp, Tq);
		    }
		    T1i = VADD(Tk, Tm);
		    T1j = VADD(Tr, Tu);
		    T1k = VSUB(T1i, T1j);
		    Tn = VSUB(Tk, Tm);
		    Tv = VSUB(Tr, Tu);
		    Tw = VFMA(LDK(KP382683432), Tn, VMUL(LDK(KP923879532), Tv));
		    T11 = VFNMS(LDK(KP382683432), Tv, VMUL(LDK(KP923879532), Tn));
	       }
	       {
		    V T1p, T1v, T1u, T1w;
		    {
			 V T1h, T1o, T1s, T1t;
			 T1h = VSUB(T1f, T1g);
			 T1o = VMUL(LDK(KP707106781), VADD(T1k, T1n));
			 T1p = VADD(T1h, T1o);
			 T1v = VSUB(T1h, T1o);
			 T1s = VSUB(T1q, T1r);
			 T1t = VMUL(LDK(KP707106781), VSUB(T1n, T1k));
			 T1u = VBYI(VADD(T1s, T1t));
			 T1w = VBYI(VSUB(T1t, T1s));
		    }
		    ST(&(x[WS(ios, 14)]), VSUB(T1p, T1u), dist, &(x[0]));
		    ST(&(x[WS(ios, 6)]), VADD(T1v, T1w), dist, &(x[0]));
		    ST(&(x[WS(ios, 2)]), VADD(T1p, T1u), dist, &(x[0]));
		    ST(&(x[WS(ios, 10)]), VSUB(T1v, T1w), dist, &(x[0]));
	       }
	       {
		    V T1z, T1D, T1C, T1E;
		    {
			 V T1x, T1y, T1A, T1B;
			 T1x = VADD(T1f, T1g);
			 T1y = VADD(T1r, T1q);
			 T1z = VADD(T1x, T1y);
			 T1D = VSUB(T1x, T1y);
			 T1A = VADD(T1i, T1j);
			 T1B = VADD(T1l, T1m);
			 T1C = VADD(T1A, T1B);
			 T1E = VBYI(VSUB(T1B, T1A));
		    }
		    ST(&(x[WS(ios, 8)]), VSUB(T1z, T1C), dist, &(x[0]));
		    ST(&(x[WS(ios, 4)]), VADD(T1D, T1E), dist, &(x[0]));
		    ST(&(x[0]), VADD(T1z, T1C), dist, &(x[0]));
		    ST(&(x[WS(ios, 12)]), VSUB(T1D, T1E), dist, &(x[0]));
	       }
	       {
		    V TT, T15, T14, T16;
		    {
			 V Tx, TS, T10, T13;
			 Tx = VSUB(Ti, Tw);
			 TS = VSUB(TL, TR);
			 TT = VBYI(VSUB(Tx, TS));
			 T15 = VBYI(VADD(TS, Tx));
			 T10 = VADD(TY, TZ);
			 T13 = VADD(T11, T12);
			 T14 = VSUB(T10, T13);
			 T16 = VADD(T10, T13);
		    }
		    ST(&(x[WS(ios, 7)]), VADD(TT, T14), dist, &(x[WS(ios, 1)]));
		    ST(&(x[WS(ios, 15)]), VSUB(T16, T15), dist, &(x[WS(ios, 1)]));
		    ST(&(x[WS(ios, 9)]), VSUB(T14, TT), dist, &(x[WS(ios, 1)]));
		    ST(&(x[WS(ios, 1)]), VADD(T15, T16), dist, &(x[WS(ios, 1)]));
	       }
	       {
		    V T19, T1d, T1c, T1e;
		    {
			 V T17, T18, T1a, T1b;
			 T17 = VSUB(TY, TZ);
			 T18 = VADD(Tw, Ti);
			 T19 = VADD(T17, T18);
			 T1d = VSUB(T17, T18);
			 T1a = VADD(TR, TL);
			 T1b = VSUB(T12, T11);
			 T1c = VBYI(VADD(T1a, T1b));
			 T1e = VBYI(VSUB(T1b, T1a));
		    }
		    ST(&(x[WS(ios, 13)]), VSUB(T19, T1c), dist, &(x[WS(ios, 1)]));
		    ST(&(x[WS(ios, 5)]), VADD(T1d, T1e), dist, &(x[WS(ios, 1)]));
		    ST(&(x[WS(ios, 3)]), VADD(T19, T1c), dist, &(x[WS(ios, 1)]));
		    ST(&(x[WS(ios, 11)]), VSUB(T1d, T1e), dist, &(x[WS(ios, 1)]));
	       }
	  }
     }
     return W;
}
Esempio n. 17
0
static void t3fv_8(R *ri, R *ii, const R *W, stride rs, INT mb, INT me, INT ms)
{
     DVK(KP707106781, +0.707106781186547524400844362104849039284835938);
     {
	  INT m;
	  R *x;
	  x = ri;
	  for (m = mb, W = W + (mb * ((TWVL / VL) * 6)); m < me; m = m + VL, x = x + (VL * ms), W = W + (TWVL * 6), MAKE_VOLATILE_STRIDE(rs)) {
	       V T2, T3, Ta, T4, Tb, Tc, Tq;
	       T2 = LDW(&(W[0]));
	       T3 = LDW(&(W[TWVL * 2]));
	       Ta = VZMULJ(T2, T3);
	       T4 = VZMUL(T2, T3);
	       Tb = LDW(&(W[TWVL * 4]));
	       Tc = VZMULJ(Ta, Tb);
	       Tq = VZMULJ(T2, Tb);
	       {
		    V T7, Tx, Tt, Ty, Tf, TA, Tk, TB, T1, T6, T5;
		    T1 = LD(&(x[0]), ms, &(x[0]));
		    T5 = LD(&(x[WS(rs, 4)]), ms, &(x[0]));
		    T6 = VZMULJ(T4, T5);
		    T7 = VSUB(T1, T6);
		    Tx = VADD(T1, T6);
		    {
			 V Tp, Ts, To, Tr;
			 To = LD(&(x[WS(rs, 2)]), ms, &(x[0]));
			 Tp = VZMULJ(Ta, To);
			 Tr = LD(&(x[WS(rs, 6)]), ms, &(x[0]));
			 Ts = VZMULJ(Tq, Tr);
			 Tt = VSUB(Tp, Ts);
			 Ty = VADD(Tp, Ts);
		    }
		    {
			 V T9, Te, T8, Td;
			 T8 = LD(&(x[WS(rs, 1)]), ms, &(x[WS(rs, 1)]));
			 T9 = VZMULJ(T2, T8);
			 Td = LD(&(x[WS(rs, 5)]), ms, &(x[WS(rs, 1)]));
			 Te = VZMULJ(Tc, Td);
			 Tf = VSUB(T9, Te);
			 TA = VADD(T9, Te);
		    }
		    {
			 V Th, Tj, Tg, Ti;
			 Tg = LD(&(x[WS(rs, 7)]), ms, &(x[WS(rs, 1)]));
			 Th = VZMULJ(Tb, Tg);
			 Ti = LD(&(x[WS(rs, 3)]), ms, &(x[WS(rs, 1)]));
			 Tj = VZMULJ(T3, Ti);
			 Tk = VSUB(Th, Tj);
			 TB = VADD(Th, Tj);
		    }
		    {
			 V Tz, TC, TD, TE;
			 Tz = VADD(Tx, Ty);
			 TC = VADD(TA, TB);
			 ST(&(x[WS(rs, 4)]), VSUB(Tz, TC), ms, &(x[0]));
			 ST(&(x[0]), VADD(Tz, TC), ms, &(x[0]));
			 TD = VSUB(Tx, Ty);
			 TE = VBYI(VSUB(TB, TA));
			 ST(&(x[WS(rs, 6)]), VSUB(TD, TE), ms, &(x[0]));
			 ST(&(x[WS(rs, 2)]), VADD(TD, TE), ms, &(x[0]));
			 {
			      V Tm, Tv, Tu, Tw, Tl, Tn;
			      Tl = VMUL(LDK(KP707106781), VADD(Tf, Tk));
			      Tm = VADD(T7, Tl);
			      Tv = VSUB(T7, Tl);
			      Tn = VMUL(LDK(KP707106781), VSUB(Tk, Tf));
			      Tu = VBYI(VSUB(Tn, Tt));
			      Tw = VBYI(VADD(Tt, Tn));
			      ST(&(x[WS(rs, 7)]), VSUB(Tm, Tu), ms, &(x[WS(rs, 1)]));
			      ST(&(x[WS(rs, 3)]), VADD(Tv, Tw), ms, &(x[WS(rs, 1)]));
			      ST(&(x[WS(rs, 1)]), VADD(Tm, Tu), ms, &(x[WS(rs, 1)]));
			      ST(&(x[WS(rs, 5)]), VSUB(Tv, Tw), ms, &(x[WS(rs, 1)]));
			 }
		    }
	       }
	  }
     }
     VLEAVE();
}
Esempio n. 18
0
static void hc2cfdftv_12(R *Rp, R *Ip, R *Rm, R *Im, const R *W, stride rs, INT mb, INT me, INT ms)
{
     DVK(KP433012701, +0.433012701892219323381861585376468091735701313);
     DVK(KP866025403, +0.866025403784438646763723170752936183471402627);
     DVK(KP250000000, +0.250000000000000000000000000000000000000000000);
     DVK(KP500000000, +0.500000000000000000000000000000000000000000000);
     INT m;
     for (m = mb, W = W + ((mb - 1) * ((TWVL / VL) * 22)); m < me; m = m + VL, Rp = Rp + (VL * ms), Ip = Ip + (VL * ms), Rm = Rm - (VL * ms), Im = Im - (VL * ms), W = W + (TWVL * 22), MAKE_VOLATILE_STRIDE(rs)) {
	  V TX, T13, T4, Tf, TZ, TD, TF, T17, TW, T14, Tw, Tl, T10, TL, TN;
	  V T16;
	  {
	       V T1, T3, TA, Tb, Td, Te, T9, TC, T2, Tz, Tc, Ta, T6, T8, T7;
	       V T5, TB, TE, Ti, Tk, TI, Ts, Tu, Tv, Tq, TK, Tj, TH, Tt, Tr;
	       V Tn, Tp, To, Tm, TJ, Th, TM;
	       T1 = LD(&(Rp[0]), ms, &(Rp[0]));
	       T2 = LD(&(Rm[0]), -ms, &(Rm[0]));
	       T3 = VCONJ(T2);
	       Tz = LDW(&(W[0]));
	       TA = VZMULIJ(Tz, VSUB(T3, T1));
	       Tb = LD(&(Rp[WS(rs, 4)]), ms, &(Rp[0]));
	       Tc = LD(&(Rm[WS(rs, 4)]), -ms, &(Rm[0]));
	       Td = VCONJ(Tc);
	       Ta = LDW(&(W[TWVL * 14]));
	       Te = VZMULJ(Ta, VADD(Tb, Td));
	       T6 = LD(&(Rp[WS(rs, 2)]), ms, &(Rp[0]));
	       T7 = LD(&(Rm[WS(rs, 2)]), -ms, &(Rm[0]));
	       T8 = VCONJ(T7);
	       T5 = LDW(&(W[TWVL * 6]));
	       T9 = VZMULJ(T5, VADD(T6, T8));
	       TB = LDW(&(W[TWVL * 8]));
	       TC = VZMULIJ(TB, VSUB(T8, T6));
	       TX = VSUB(TC, TA);
	       T13 = VSUB(Te, T9);
	       T4 = VADD(T1, T3);
	       Tf = VADD(T9, Te);
	       TZ = VFNMS(LDK(KP250000000), Tf, VMUL(LDK(KP500000000), T4));
	       TD = VADD(TA, TC);
	       TE = LDW(&(W[TWVL * 16]));
	       TF = VZMULIJ(TE, VSUB(Td, Tb));
	       T17 = VFNMS(LDK(KP500000000), TD, TF);
	       Ti = LD(&(Rp[WS(rs, 3)]), ms, &(Rp[WS(rs, 1)]));
	       Tj = LD(&(Rm[WS(rs, 3)]), -ms, &(Rm[WS(rs, 1)]));
	       Tk = VCONJ(Tj);
	       TH = LDW(&(W[TWVL * 12]));
	       TI = VZMULIJ(TH, VSUB(Tk, Ti));
	       Ts = LD(&(Rp[WS(rs, 1)]), ms, &(Rp[WS(rs, 1)]));
	       Tt = LD(&(Rm[WS(rs, 1)]), -ms, &(Rm[WS(rs, 1)]));
	       Tu = VCONJ(Tt);
	       Tr = LDW(&(W[TWVL * 2]));
	       Tv = VZMULJ(Tr, VADD(Ts, Tu));
	       Tn = LD(&(Rp[WS(rs, 5)]), ms, &(Rp[WS(rs, 1)]));
	       To = LD(&(Rm[WS(rs, 5)]), -ms, &(Rm[WS(rs, 1)]));
	       Tp = VCONJ(To);
	       Tm = LDW(&(W[TWVL * 18]));
	       Tq = VZMULJ(Tm, VADD(Tn, Tp));
	       TJ = LDW(&(W[TWVL * 20]));
	       TK = VZMULIJ(TJ, VSUB(Tp, Tn));
	       TW = VSUB(TK, TI);
	       T14 = VSUB(Tv, Tq);
	       Tw = VADD(Tq, Tv);
	       Th = LDW(&(W[TWVL * 10]));
	       Tl = VZMULJ(Th, VADD(Ti, Tk));
	       T10 = VFNMS(LDK(KP250000000), Tw, VMUL(LDK(KP500000000), Tl));
	       TL = VADD(TI, TK);
	       TM = LDW(&(W[TWVL * 4]));
	       TN = VZMULIJ(TM, VSUB(Tu, Ts));
	       T16 = VFNMS(LDK(KP500000000), TL, TN);
	  }
	  {
	       V Ty, TS, TP, TT, Tg, Tx, TG, TO, TQ, TV, TR, TU, T1i, T1o, T1l;
	       V T1p, T1g, T1h, T1j, T1k, T1m, T1r, T1n, T1q, T12, T1c, T19, T1d, TY, T11;
	       V T15, T18, T1a, T1f, T1b, T1e;
	       Tg = VADD(T4, Tf);
	       Tx = VADD(Tl, Tw);
	       Ty = VADD(Tg, Tx);
	       TS = VSUB(Tg, Tx);
	       TG = VADD(TD, TF);
	       TO = VADD(TL, TN);
	       TP = VADD(TG, TO);
	       TT = VBYI(VSUB(TO, TG));
	       TQ = VCONJ(VMUL(LDK(KP500000000), VSUB(Ty, TP)));
	       ST(&(Rm[WS(rs, 5)]), TQ, -ms, &(Rm[WS(rs, 1)]));
	       TV = VMUL(LDK(KP500000000), VADD(TS, TT));
	       ST(&(Rp[WS(rs, 3)]), TV, ms, &(Rp[WS(rs, 1)]));
	       TR = VMUL(LDK(KP500000000), VADD(Ty, TP));
	       ST(&(Rp[0]), TR, ms, &(Rp[0]));
	       TU = VCONJ(VMUL(LDK(KP500000000), VSUB(TS, TT)));
	       ST(&(Rm[WS(rs, 2)]), TU, -ms, &(Rm[0]));
	       T1g = VADD(TX, TW);
	       T1h = VADD(T13, T14);
	       T1i = VMUL(LDK(KP500000000), VBYI(VMUL(LDK(KP866025403), VSUB(T1g, T1h))));
	       T1o = VMUL(LDK(KP500000000), VBYI(VMUL(LDK(KP866025403), VADD(T1g, T1h))));
	       T1j = VADD(TZ, T10);
	       T1k = VMUL(LDK(KP500000000), VADD(T17, T16));
	       T1l = VSUB(T1j, T1k);
	       T1p = VADD(T1j, T1k);
	       T1m = VADD(T1i, T1l);
	       ST(&(Rp[WS(rs, 2)]), T1m, ms, &(Rp[0]));
	       T1r = VCONJ(VSUB(T1p, T1o));
	       ST(&(Rm[WS(rs, 3)]), T1r, -ms, &(Rm[WS(rs, 1)]));
	       T1n = VCONJ(VSUB(T1l, T1i));
	       ST(&(Rm[WS(rs, 1)]), T1n, -ms, &(Rm[WS(rs, 1)]));
	       T1q = VADD(T1o, T1p);
	       ST(&(Rp[WS(rs, 4)]), T1q, ms, &(Rp[0]));
	       TY = VMUL(LDK(KP433012701), VSUB(TW, TX));
	       T11 = VSUB(TZ, T10);
	       T12 = VADD(TY, T11);
	       T1c = VSUB(T11, TY);
	       T15 = VMUL(LDK(KP866025403), VSUB(T13, T14));
	       T18 = VSUB(T16, T17);
	       T19 = VMUL(LDK(KP500000000), VBYI(VSUB(T15, T18)));
	       T1d = VMUL(LDK(KP500000000), VBYI(VADD(T15, T18)));
	       T1a = VCONJ(VSUB(T12, T19));
	       ST(&(Rm[0]), T1a, -ms, &(Rm[0]));
	       T1f = VCONJ(VADD(T1c, T1d));
	       ST(&(Rm[WS(rs, 4)]), T1f, -ms, &(Rm[0]));
	       T1b = VADD(T12, T19);
	       ST(&(Rp[WS(rs, 1)]), T1b, ms, &(Rp[WS(rs, 1)]));
	       T1e = VSUB(T1c, T1d);
	       ST(&(Rp[WS(rs, 5)]), T1e, ms, &(Rp[WS(rs, 1)]));
	  }
     }
}
Esempio n. 19
0
static void hc2cfdftv_12(R *Rp, R *Ip, R *Rm, R *Im, const R *W, stride rs, INT mb, INT me, INT ms)
{
     DVK(KP866025403, +0.866025403784438646763723170752936183471402627);
     DVK(KP500000000, +0.500000000000000000000000000000000000000000000);
     INT m;
     for (m = mb, W = W + ((mb - 1) * ((TWVL / VL) * 22)); m < me; m = m + VL, Rp = Rp + (VL * ms), Ip = Ip + (VL * ms), Rm = Rm - (VL * ms), Im = Im - (VL * ms), W = W + (TWVL * 22), MAKE_VOLATILE_STRIDE(rs)) {
	  V T3, T7, TH, TE, Th, TC, Tq, T11, TU, Tx, Tb, Tz, Tu, Tw, Tp;
	  V Tl, T9, Ta, T8, Ty, Tn, To, Tm, TG, T1, T2, Tt, T5, T6, T4;
	  V Tv, Tj, Tk, Ti, TD, Tf, Tg, Te, TB, TT, TF, TR, Tr;
	  T1 = LD(&(Rp[0]), ms, &(Rp[0]));
	  T2 = LD(&(Rm[0]), -ms, &(Rm[0]));
	  Tt = LDW(&(W[0]));
	  T5 = LD(&(Rp[WS(rs, 2)]), ms, &(Rp[0]));
	  T6 = LD(&(Rm[WS(rs, 2)]), -ms, &(Rm[0]));
	  T4 = LDW(&(W[TWVL * 6]));
	  Tv = LDW(&(W[TWVL * 8]));
	  Tn = LD(&(Rp[WS(rs, 1)]), ms, &(Rp[WS(rs, 1)]));
	  To = LD(&(Rm[WS(rs, 1)]), -ms, &(Rm[WS(rs, 1)]));
	  T3 = VFMACONJ(T2, T1);
	  Tu = VZMULIJ(Tt, VFNMSCONJ(T2, T1));
	  Tm = LDW(&(W[TWVL * 2]));
	  TG = LDW(&(W[TWVL * 4]));
	  T7 = VZMULJ(T4, VFMACONJ(T6, T5));
	  Tw = VZMULIJ(Tv, VFNMSCONJ(T6, T5));
	  Tj = LD(&(Rp[WS(rs, 5)]), ms, &(Rp[WS(rs, 1)]));
	  Tk = LD(&(Rm[WS(rs, 5)]), -ms, &(Rm[WS(rs, 1)]));
	  Ti = LDW(&(W[TWVL * 18]));
	  TD = LDW(&(W[TWVL * 20]));
	  Tp = VZMULJ(Tm, VFMACONJ(To, Tn));
	  TH = VZMULIJ(TG, VFNMSCONJ(To, Tn));
	  Tf = LD(&(Rp[WS(rs, 3)]), ms, &(Rp[WS(rs, 1)]));
	  Tg = LD(&(Rm[WS(rs, 3)]), -ms, &(Rm[WS(rs, 1)]));
	  Te = LDW(&(W[TWVL * 10]));
	  TB = LDW(&(W[TWVL * 12]));
	  Tl = VZMULJ(Ti, VFMACONJ(Tk, Tj));
	  TE = VZMULIJ(TD, VFNMSCONJ(Tk, Tj));
	  T9 = LD(&(Rp[WS(rs, 4)]), ms, &(Rp[0]));
	  Ta = LD(&(Rm[WS(rs, 4)]), -ms, &(Rm[0]));
	  T8 = LDW(&(W[TWVL * 14]));
	  Ty = LDW(&(W[TWVL * 16]));
	  Th = VZMULJ(Te, VFMACONJ(Tg, Tf));
	  TC = VZMULIJ(TB, VFNMSCONJ(Tg, Tf));
	  Tq = VADD(Tl, Tp);
	  T11 = VSUB(Tp, Tl);
	  TU = VSUB(Tu, Tw);
	  Tx = VADD(Tu, Tw);
	  Tb = VZMULJ(T8, VFMACONJ(Ta, T9));
	  Tz = VZMULIJ(Ty, VFNMSCONJ(Ta, T9));
	  TT = VSUB(TC, TE);
	  TF = VADD(TC, TE);
	  TR = VFNMS(LDK(KP500000000), Tq, Th);
	  Tr = VADD(Th, Tq);
	  {
	       V TX, TA, T1d, TV, TY, TI, T1e, T12, TQ, Td, T10, Tc, T1a, TN, TJ;
	       V T1j, T1f, T1b, TS, TM, Ts, T17, T13, TZ, T1i, T1c, T16, TW, TP, TO;
	       V TL, TK, T1k, T1l, T1h, T1g, T18, T19, T15, T14;
	       T10 = VSUB(Tb, T7);
	       Tc = VADD(T7, Tb);
	       TX = VFNMS(LDK(KP500000000), Tx, Tz);
	       TA = VADD(Tx, Tz);
	       T1d = VADD(TU, TT);
	       TV = VSUB(TT, TU);
	       TY = VFNMS(LDK(KP500000000), TF, TH);
	       TI = VADD(TF, TH);
	       T1e = VADD(T10, T11);
	       T12 = VSUB(T10, T11);
	       TQ = VFNMS(LDK(KP500000000), Tc, T3);
	       Td = VADD(T3, Tc);
	       T1a = VADD(TX, TY);
	       TZ = VSUB(TX, TY);
	       TN = VADD(TA, TI);
	       TJ = VSUB(TA, TI);
	       T1j = VMUL(LDK(KP866025403), VADD(T1d, T1e));
	       T1f = VMUL(LDK(KP866025403), VSUB(T1d, T1e));
	       T1b = VADD(TQ, TR);
	       TS = VSUB(TQ, TR);
	       TM = VADD(Td, Tr);
	       Ts = VSUB(Td, Tr);
	       T17 = VFMA(LDK(KP866025403), T12, TZ);
	       T13 = VFNMS(LDK(KP866025403), T12, TZ);
	       T1i = VSUB(T1b, T1a);
	       T1c = VADD(T1a, T1b);
	       T16 = VFNMS(LDK(KP866025403), TV, TS);
	       TW = VFMA(LDK(KP866025403), TV, TS);
	       TP = VCONJ(VMUL(LDK(KP500000000), VADD(TN, TM)));
	       TO = VMUL(LDK(KP500000000), VSUB(TM, TN));
	       TL = VCONJ(VMUL(LDK(KP500000000), VFNMSI(TJ, Ts)));
	       TK = VMUL(LDK(KP500000000), VFMAI(TJ, Ts));
	       T1k = VCONJ(VMUL(LDK(KP500000000), VFNMSI(T1j, T1i)));
	       T1l = VMUL(LDK(KP500000000), VFMAI(T1j, T1i));
	       T1h = VMUL(LDK(KP500000000), VFMAI(T1f, T1c));
	       T1g = VCONJ(VMUL(LDK(KP500000000), VFNMSI(T1f, T1c)));
	       T18 = VMUL(LDK(KP500000000), VFNMSI(T17, T16));
	       T19 = VCONJ(VMUL(LDK(KP500000000), VFMAI(T17, T16)));
	       T15 = VCONJ(VMUL(LDK(KP500000000), VFMAI(T13, TW)));
	       T14 = VMUL(LDK(KP500000000), VFNMSI(T13, TW));
	       ST(&(Rm[WS(rs, 5)]), TP, -ms, &(Rm[WS(rs, 1)]));
	       ST(&(Rp[0]), TO, ms, &(Rp[0]));
	       ST(&(Rm[WS(rs, 2)]), TL, -ms, &(Rm[0]));
	       ST(&(Rp[WS(rs, 3)]), TK, ms, &(Rp[WS(rs, 1)]));
	       ST(&(Rm[WS(rs, 3)]), T1k, -ms, &(Rm[WS(rs, 1)]));
	       ST(&(Rp[WS(rs, 4)]), T1l, ms, &(Rp[0]));
	       ST(&(Rp[WS(rs, 2)]), T1h, ms, &(Rp[0]));
	       ST(&(Rm[WS(rs, 1)]), T1g, -ms, &(Rm[WS(rs, 1)]));
	       ST(&(Rp[WS(rs, 5)]), T18, ms, &(Rp[WS(rs, 1)]));
	       ST(&(Rm[WS(rs, 4)]), T19, -ms, &(Rm[0]));
	       ST(&(Rm[0]), T15, -ms, &(Rm[0]));
	       ST(&(Rp[WS(rs, 1)]), T14, ms, &(Rp[WS(rs, 1)]));
	  }
     }
}
Esempio n. 20
0
static void t3bv_10(R *ri, R *ii, const R *W, stride rs, INT mb, INT me, INT ms)
{
     DVK(KP559016994, +0.559016994374947424102293417182819058860154590);
     DVK(KP250000000, +0.250000000000000000000000000000000000000000000);
     DVK(KP618033988, +0.618033988749894848204586834365638117720309180);
     DVK(KP951056516, +0.951056516295153572116439333379382143405698634);
     {
	  INT m;
	  R *x;
	  x = ii;
	  for (m = mb, W = W + (mb * ((TWVL / VL) * 6)); m < me; m = m + VL, x = x + (VL * ms), W = W + (TWVL * 6), MAKE_VOLATILE_STRIDE(10, rs)) {
	       V T1, T7, Th, Tx, Tr, Td, Tp, T6, Tv, Tc, Te, Ti, Tl, T2, T3;
	       V T5;
	       T2 = LDW(&(W[0]));
	       T3 = LDW(&(W[TWVL * 2]));
	       T5 = LDW(&(W[TWVL * 4]));
	       T1 = LD(&(x[0]), ms, &(x[0]));
	       T7 = LD(&(x[WS(rs, 5)]), ms, &(x[WS(rs, 1)]));
	       {
		    V To, Tw, Tq, Tu, Ta, T4, Tt, Tk, Tb;
		    To = LD(&(x[WS(rs, 4)]), ms, &(x[0]));
		    Tw = LD(&(x[WS(rs, 1)]), ms, &(x[WS(rs, 1)]));
		    Tq = LD(&(x[WS(rs, 9)]), ms, &(x[WS(rs, 1)]));
		    Tu = LD(&(x[WS(rs, 6)]), ms, &(x[0]));
		    Ta = VZMULJ(T2, T3);
		    T4 = VZMUL(T2, T3);
		    Th = VZMULJ(T2, T5);
		    Tt = VZMULJ(T3, T5);
		    Tb = LD(&(x[WS(rs, 2)]), ms, &(x[0]));
		    Tx = VZMUL(T2, Tw);
		    Tr = VZMUL(T5, Tq);
		    Tk = LD(&(x[WS(rs, 3)]), ms, &(x[WS(rs, 1)]));
		    Td = VZMULJ(Ta, T5);
		    Tp = VZMUL(T4, To);
		    T6 = VZMULJ(T4, T5);
		    Tv = VZMUL(Tt, Tu);
		    Tc = VZMUL(Ta, Tb);
		    Te = LD(&(x[WS(rs, 7)]), ms, &(x[WS(rs, 1)]));
		    Ti = LD(&(x[WS(rs, 8)]), ms, &(x[0]));
		    Tl = VZMUL(T3, Tk);
	       }
	       {
		    V TN, Ts, T8, Ty, TO, Tf, Tj;
		    TN = VADD(Tp, Tr);
		    Ts = VSUB(Tp, Tr);
		    T8 = VZMUL(T6, T7);
		    Ty = VSUB(Tv, Tx);
		    TO = VADD(Tv, Tx);
		    Tf = VZMUL(Td, Te);
		    Tj = VZMUL(Th, Ti);
		    {
			 V T9, TJ, TP, TU, Tz, TF, Tg, TK, Tm, TL;
			 T9 = VSUB(T1, T8);
			 TJ = VADD(T1, T8);
			 TP = VADD(TN, TO);
			 TU = VSUB(TN, TO);
			 Tz = VADD(Ts, Ty);
			 TF = VSUB(Ts, Ty);
			 Tg = VSUB(Tc, Tf);
			 TK = VADD(Tc, Tf);
			 Tm = VSUB(Tj, Tl);
			 TL = VADD(Tj, Tl);
			 {
			      V TM, TV, Tn, TE;
			      TM = VADD(TK, TL);
			      TV = VSUB(TK, TL);
			      Tn = VADD(Tg, Tm);
			      TE = VSUB(Tg, Tm);
			      {
				   V TW, TY, TS, TQ, TG, TI, TC, TA, TR, TB;
				   TW = VMUL(LDK(KP951056516), VFNMS(LDK(KP618033988), TV, TU));
				   TY = VMUL(LDK(KP951056516), VFMA(LDK(KP618033988), TU, TV));
				   TS = VSUB(TM, TP);
				   TQ = VADD(TM, TP);
				   TG = VMUL(LDK(KP951056516), VFMA(LDK(KP618033988), TF, TE));
				   TI = VMUL(LDK(KP951056516), VFNMS(LDK(KP618033988), TE, TF));
				   TC = VSUB(Tn, Tz);
				   TA = VADD(Tn, Tz);
				   ST(&(x[0]), VADD(TJ, TQ), ms, &(x[0]));
				   TR = VFNMS(LDK(KP250000000), TQ, TJ);
				   ST(&(x[WS(rs, 5)]), VADD(T9, TA), ms, &(x[WS(rs, 1)]));
				   TB = VFNMS(LDK(KP250000000), TA, T9);
				   {
					V TX, TT, TH, TD;
					TX = VFMA(LDK(KP559016994), TS, TR);
					TT = VFNMS(LDK(KP559016994), TS, TR);
					TH = VFNMS(LDK(KP559016994), TC, TB);
					TD = VFMA(LDK(KP559016994), TC, TB);
					ST(&(x[WS(rs, 8)]), VFMAI(TW, TT), ms, &(x[0]));
					ST(&(x[WS(rs, 2)]), VFNMSI(TW, TT), ms, &(x[0]));
					ST(&(x[WS(rs, 6)]), VFMAI(TY, TX), ms, &(x[0]));
					ST(&(x[WS(rs, 4)]), VFNMSI(TY, TX), ms, &(x[0]));
					ST(&(x[WS(rs, 9)]), VFNMSI(TG, TD), ms, &(x[WS(rs, 1)]));
					ST(&(x[WS(rs, 1)]), VFMAI(TG, TD), ms, &(x[WS(rs, 1)]));
					ST(&(x[WS(rs, 7)]), VFNMSI(TI, TH), ms, &(x[WS(rs, 1)]));
					ST(&(x[WS(rs, 3)]), VFMAI(TI, TH), ms, &(x[WS(rs, 1)]));
				   }
			      }
			 }
		    }
	       }
	  }
     }
     VLEAVE();
}
Esempio n. 21
0
static void hc2cfdftv_10(R *Rp, R *Ip, R *Rm, R *Im, const R *W, stride rs, INT mb, INT me, INT ms)
{
     DVK(KP125000000, +0.125000000000000000000000000000000000000000000);
     DVK(KP279508497, +0.279508497187473712051146708591409529430077295);
     DVK(KP587785252, +0.587785252292473129168705954639072768597652438);
     DVK(KP951056516, +0.951056516295153572116439333379382143405698634);
     DVK(KP500000000, +0.500000000000000000000000000000000000000000000);
     {
	  INT m;
	  for (m = mb, W = W + ((mb - 1) * ((TWVL / VL) * 18)); m < me; m = m + VL, Rp = Rp + (VL * ms), Ip = Ip + (VL * ms), Rm = Rm - (VL * ms), Im = Im - (VL * ms), W = W + (TWVL * 18), MAKE_VOLATILE_STRIDE(40, rs)) {
	       V Tl, Tt, Tu, TY, TZ, T10, Tz, TE, TF, TV, TW, TX, Ta, TU, TN;
	       V TR, TH, TQ, TK, TL, TM, TI, TG, TJ, TT, TO, TP, TS, T18, T1c;
	       V T12, T1b, T15, T16, T17, T14, T11, T13, T1e, T19, T1a, T1d;
	       {
		    V T1, T3, Ty, T8, T7, TB, Tf, Ts, Tk, Tw, Tq, TD, T2, Tx, T6;
		    V TA, Tc, Te, Td, Tb, Tr, Tj, Ti, Th, Tg, Tv, Tn, Tp, To, Tm;
		    V TC, T4, T9, T5;
		    T1 = LD(&(Rp[0]), ms, &(Rp[0]));
		    T2 = LD(&(Rm[0]), -ms, &(Rm[0]));
		    T3 = VCONJ(T2);
		    Tx = LDW(&(W[0]));
		    Ty = VZMULIJ(Tx, VSUB(T3, T1));
		    T8 = LD(&(Rp[WS(rs, 2)]), ms, &(Rp[0]));
		    T6 = LD(&(Rm[WS(rs, 2)]), -ms, &(Rm[0]));
		    T7 = VCONJ(T6);
		    TA = LDW(&(W[TWVL * 6]));
		    TB = VZMULJ(TA, VADD(T7, T8));
		    Tc = LD(&(Rp[WS(rs, 1)]), ms, &(Rp[WS(rs, 1)]));
		    Td = LD(&(Rm[WS(rs, 1)]), -ms, &(Rm[WS(rs, 1)]));
		    Te = VCONJ(Td);
		    Tb = LDW(&(W[TWVL * 2]));
		    Tf = VZMULJ(Tb, VADD(Tc, Te));
		    Tr = LDW(&(W[TWVL * 4]));
		    Ts = VZMULIJ(Tr, VSUB(Te, Tc));
		    Tj = LD(&(Rp[WS(rs, 3)]), ms, &(Rp[WS(rs, 1)]));
		    Th = LD(&(Rm[WS(rs, 3)]), -ms, &(Rm[WS(rs, 1)]));
		    Ti = VCONJ(Th);
		    Tg = LDW(&(W[TWVL * 12]));
		    Tk = VZMULIJ(Tg, VSUB(Ti, Tj));
		    Tv = LDW(&(W[TWVL * 10]));
		    Tw = VZMULJ(Tv, VADD(Ti, Tj));
		    Tn = LD(&(Rp[WS(rs, 4)]), ms, &(Rp[0]));
		    To = LD(&(Rm[WS(rs, 4)]), -ms, &(Rm[0]));
		    Tp = VCONJ(To);
		    Tm = LDW(&(W[TWVL * 14]));
		    Tq = VZMULJ(Tm, VADD(Tn, Tp));
		    TC = LDW(&(W[TWVL * 16]));
		    TD = VZMULIJ(TC, VSUB(Tp, Tn));
		    Tl = VSUB(Tf, Tk);
		    Tt = VSUB(Tq, Ts);
		    Tu = VADD(Tl, Tt);
		    TY = VADD(Ty, Tw);
		    TZ = VADD(TB, TD);
		    T10 = VADD(TY, TZ);
		    Tz = VSUB(Tw, Ty);
		    TE = VSUB(TB, TD);
		    TF = VADD(Tz, TE);
		    TV = VADD(Tf, Tk);
		    TW = VADD(Ts, Tq);
		    TX = VADD(TV, TW);
		    T4 = VADD(T1, T3);
		    T5 = LDW(&(W[TWVL * 8]));
		    T9 = VZMULIJ(T5, VSUB(T7, T8));
		    Ta = VSUB(T4, T9);
		    TU = VADD(T4, T9);
	       }
	       TL = VSUB(Tl, Tt);
	       TM = VSUB(TE, Tz);
	       TN = VMUL(LDK(KP500000000), VBYI(VFMA(LDK(KP951056516), TL, VMUL(LDK(KP587785252), TM))));
	       TR = VMUL(LDK(KP500000000), VBYI(VFNMS(LDK(KP587785252), TL, VMUL(LDK(KP951056516), TM))));
	       TI = VMUL(LDK(KP279508497), VSUB(Tu, TF));
	       TG = VADD(Tu, TF);
	       TJ = VFNMS(LDK(KP125000000), TG, VMUL(LDK(KP500000000), Ta));
	       TH = VCONJ(VMUL(LDK(KP500000000), VADD(Ta, TG)));
	       TQ = VSUB(TJ, TI);
	       TK = VADD(TI, TJ);
	       ST(&(Rm[WS(rs, 4)]), TH, -ms, &(Rm[0]));
	       TT = VCONJ(VADD(TQ, TR));
	       ST(&(Rm[WS(rs, 2)]), TT, -ms, &(Rm[0]));
	       TO = VSUB(TK, TN);
	       ST(&(Rp[WS(rs, 1)]), TO, ms, &(Rp[WS(rs, 1)]));
	       TP = VCONJ(VADD(TK, TN));
	       ST(&(Rm[0]), TP, -ms, &(Rm[0]));
	       TS = VSUB(TQ, TR);
	       ST(&(Rp[WS(rs, 3)]), TS, ms, &(Rp[WS(rs, 1)]));
	       T16 = VSUB(TZ, TY);
	       T17 = VSUB(TV, TW);
	       T18 = VMUL(LDK(KP500000000), VBYI(VFNMS(LDK(KP587785252), T17, VMUL(LDK(KP951056516), T16))));
	       T1c = VMUL(LDK(KP500000000), VBYI(VFMA(LDK(KP951056516), T17, VMUL(LDK(KP587785252), T16))));
	       T14 = VMUL(LDK(KP279508497), VSUB(TX, T10));
	       T11 = VADD(TX, T10);
	       T13 = VFNMS(LDK(KP125000000), T11, VMUL(LDK(KP500000000), TU));
	       T12 = VMUL(LDK(KP500000000), VADD(TU, T11));
	       T1b = VADD(T14, T13);
	       T15 = VSUB(T13, T14);
	       ST(&(Rp[0]), T12, ms, &(Rp[0]));
	       T1e = VADD(T1b, T1c);
	       ST(&(Rp[WS(rs, 4)]), T1e, ms, &(Rp[0]));
	       T19 = VCONJ(VSUB(T15, T18));
	       ST(&(Rm[WS(rs, 1)]), T19, -ms, &(Rm[WS(rs, 1)]));
	       T1a = VADD(T15, T18);
	       ST(&(Rp[WS(rs, 2)]), T1a, ms, &(Rp[0]));
	       T1d = VCONJ(VSUB(T1b, T1c));
	       ST(&(Rm[WS(rs, 3)]), T1d, -ms, &(Rm[WS(rs, 1)]));
	  }
     }
     VLEAVE();
}