int row,col,i,j,tmp1,tmp2,tmp3,tmp4,tmp5,tmp6,tmp7;
if(M==64&&N==64){
for(row=0;row<N;row+=8){
for(col=0;col<M;col+=8){
for(j=0;j<2;j++){
for(i=row;i<row+4;i++){
tmp0=A[i+4j][col+0];
tmp1=A[i+4j][col+1];
tmp2=A[i+4j][col+2];
tmp3=A[i+4j][col+3];
tmp4=A[i+4j][col+4];
tmp5=A[i+4j][col+5];
tmp6=A[i+4j][col+6];
tmp7=A[i+4j][col+7];
B[col+0+4j][i]=tmp0;
B[col+1+4j][i]=tmp1;
B[col+2+4j][i]=tmp2;
B[col+3+4j][i]=tmp3;
B[col+0+4j][i+4]=tmp4;
B[col+1+4j][i+4]=tmp5;
B[col+2+4j][i+4]=tmp6;
B[col+3+4j][i+4]=tmp7;
}
but I got the code the error: array subscript is not an integer. But I don't know why. Could someone have a look at and tell me why? I do not think I use other type in the array besides int.
4jwith4*jand try again.4jin all those lines?