update barvinok to version 0.41.7
[ppn.git] / tests / inputs / eqv / shashi_cc2005 / 1.c
blob44600452ee760ce4b04bf381c863eea71f3fcf79
1 int f(int);
3 void shashi(int A[256], int B[266], int C[256])
5 int k, tmp1[256], tmp2[266], tmp3[256];
6 for(k=0; k<256; k++)
7 tmp1[k] = A[2*k] + f(B[k+1]);
8 for(k=10; k<138; k++)
9 tmp2[k] = B[k-8];
10 for(k=10; k<266; k++){
11 if(k >= 138)
12 tmp2[k] = B[k-8];
13 tmp3[k-10] = f(A[2*k-19]) + tmp2[k];
15 for(k=255; k>=0; k--)
16 C[3*k] = tmp1[k] + tmp3[k];