1 /* { dg-do compile { target { powerpc*-*-* } } } */ 2 /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ 3 /* { dg-require-effective-target powerpc_vsx_ok } */ 4 /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */ 5 /* { dg-options "-O3 -mcpu=power7 -misel -ffast-math" } */ 6 7 struct phylo_s { 8 int left; 9 }; 10 void Free2DArray (void **, int); 11 Cluster(float ** dmx,int N,struct phylo_s * tree)12int Cluster(float **dmx, int N, struct phylo_s *tree) 13 { 14 float **mx; 15 int *coord; 16 int i; 17 int Np; 18 int row, col; 19 float min; 20 for (col = 0; col < N; Np--) 21 { 22 for (row = 0; row < Np; row++) 23 for (col = row+1; col < Np; col++) 24 if (mx[row][col] < min) 25 i = row; 26 tree[Np-2].left = coord[i]; 27 } 28 Free2DArray((void **) mx, N); 29 } 30